conky_DEPENDENCIES = $(config_output)
BUILT_SOURCES = $(config_output)
CLEANFILES = $(config_output)
+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_FREEBSD
-freebsd = freebsd.c
+freebsd = freebsd.c diskio.c
PTHREAD_LIBS = -pthread
endif
nvidia = nvidia.c nvidia.h
endif
+if BUILD_IMLIB2
+imlib2 = imlib2.c imlib2.h
+endif
+
if BUILD_APCUPSD
apcupsd = apcupsd.c apcupsd.h
endif
text_object.h \
text_object.c \
algebra.h \
- algebra.c
+ algebra.c \
+ $(imlib2)
conky_LDFLAGS = \
$(PTHREAD_LIBS) \
ibm.c \
ibm.h \
sony.h \
- users.c
+ users.c \
+ imlib2.c \
+ imlib2.h
# vi:set ts=8 sw=8 noet ai nocindent syntax=automake: