# Please see COPYING for details
#
# Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
-# Copyright (c) 2005-2007 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
+# Copyright (c) 2005-2009 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
# All rights reserved.
#
# This program is free software: you can redistribute it and/or modify
conky_DEPENDENCIES = $(config_output)
BUILT_SOURCES = $(config_output)
CLEANFILES = $(config_output)
-$(config_output): ../doc/conky.conf
+if BUILD_X11
+$(config_output): ../data/conky.conf
+else
+$(config_output): ../data/conky_no_x11.conf
+endif
sh ../text2c.sh $< $@ defconfig
endif
endif
if BUILD_LINUX
-linux = linux.c top.c diskio.c users.c
+linux = linux.c top.c diskio.c users.c sony.c
PTHREAD_LIBS = -lpthread
endif
rss = rss.c prss.c prss.h
endif
+if BUILD_LUA
+lua = llua.c llua.h
+endif
+
if BUILD_NVIDIA
nvidia = nvidia.c nvidia.h
endif
+if BUILD_IMLIB2
+imlib2 = imlib2.c imlib2.h
+endif
+
+if BUILD_APCUPSD
+apcupsd = apcupsd.c apcupsd.h
+endif
+
conky_SOURCES = \
$(config_output) \
$(config_cookie) \
$(freebsd) \
fs.c \
$(hddtemp) \
+ $(apcupsd) \
$(linux) \
logging.h \
$(nvidia) \
$(port_monitors) \
$(eve) \
$(rss) \
+ $(lua) \
$(solaris) \
timed_thread.c \
timed_thread.h \
text_object.h \
text_object.c \
algebra.h \
- algebra.c
+ algebra.c \
+ $(imlib2)
conky_LDFLAGS = \
$(PTHREAD_LIBS) \
fs.h \
hddtemp.c \
hddtemp.h \
+ apcupsd.c \
+ apcupsd.h \
linux.c \
linux.h \
libmpdclient.c \
libtcp-portmon.c \
libtcp-portmon.h \
rss.h \
+ llua.h \
mail.h \
mixer.h \
moc.h \
smapi.h \
ibm.c \
ibm.h \
- users.c
+ sony.h \
+ users.c \
+ imlib2.c \
+ imlib2.h
# vi:set ts=8 sw=8 noet ai nocindent syntax=automake: