# Please see COPYING for details
#
# Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
-# Copyright (c) 2005-2009 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
+# Copyright (c) 2005-2010 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)
+CLEANFILES = $(config_output) *.gcda *.gcno
$(config_output): ${config_input}
sh $(srcdir)/../text2c.sh ${config_input} $@ defconfig
endif # BUILD_CONFIG_OUTPUT
# source files always needed for compiling
-mandatory_sources = colours.c colours.h common.c common.h conky.c conky.h \
- core.c core.h diskio.c diskio.h fs.c fs.h logging.h mail.c mail.h \
- mixer.c mixer.h template.c template.h timed_thread.c timed_thread.h \
- mboxscan.c mboxscan.h specials.c specials.h tailhead.c tailhead.h \
- temphelper.c temphelper.h text_object.c text_object.h timeinfo.c \
- timeinfo.h algebra.c algebra.h
+mandatory_sources = colours.c colours.h combine.c combine.h common.c common.h \
+ conky.c conky.h core.c core.h diskio.c diskio.h entropy.c entropy.h \
+ exec.c exec.h fs.c fs.h logging.h mail.c mail.h mixer.c mixer.h net_stat.c \
+ net_stat.h template.c template.h timed_thread.c timed_thread.h mboxscan.c \
+ mboxscan.h read_tcp.c read_tcp.h scroll.c scroll.h specials.c \
+ specials.h tailhead.c tailhead.h temphelper.c temphelper.h \
+ text_object.c text_object.h timeinfo.c timeinfo.h algebra.c \
+ algebra.h proc.c proc.h user.c user.h top.c top.h
# source files only needed when the apropriate option is enabled
audacious = audacious.c audacious.h
mpd = mpd.c mpd.h libmpdclient.c libmpdclient.h
moc = moc.c moc.h
xmms2 = xmms2.c xmms2.h
-linux = linux.c linux.h top.c top.h users.c sony.c sony.h
+linux = linux.c linux.h users.c sony.c sony.h i8k.c i8k.h
solaris = solaris.c
freebsd = freebsd.c freebsd.h
netbsd = netbsd.c netbsd.h
nvidia = nvidia.c nvidia.h
imlib2 = imlib2.c imlib2.h
apcupsd = apcupsd.c apcupsd.h
+iconv = iconv_tools.c iconv_tools.h
# make sure the files from above are always included in the distfile
EXTRA_DIST = $(audacious) $(bmpx) $(ibm) $(mpd) $(moc) $(xmms2) $(linux) \
if BUILD_APCUPSD
optional_sources += $(apcupsd)
endif
+if BUILD_ICONV
+optional_sources += $(iconv)
+endif
# linux takes the standard to the max
if BUILD_LINUX