2005-08-21 23:09:36 +00:00
|
|
|
bin_PROGRAMS = conky
|
|
|
|
|
|
|
|
if BUILD_SETI
|
|
|
|
seti = seti.c
|
|
|
|
endif
|
|
|
|
|
|
|
|
if BUILD_MPD
|
|
|
|
mpd = mpd.c libmpdclient.c
|
|
|
|
endif
|
|
|
|
|
|
|
|
if BUILD_LINUX
|
2005-08-29 10:29:31 +00:00
|
|
|
linux = linux.c top.c
|
2005-08-22 23:32:35 +00:00
|
|
|
PTHREAD_LIBS = -lpthread
|
2005-08-21 23:09:36 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
if BUILD_SOLARIS
|
|
|
|
solaris = solaris.c
|
|
|
|
endif
|
|
|
|
|
|
|
|
if BUILD_FREEBSD
|
|
|
|
freebsd = freebsd.c
|
2005-08-22 23:32:35 +00:00
|
|
|
PTHREAD_LIBS = -pthread
|
2005-08-21 23:09:36 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
if BUILD_NETBSD
|
|
|
|
netbsd = netbsd.c
|
|
|
|
endif
|
|
|
|
|
2005-10-31 05:17:06 +00:00
|
|
|
if BUILD_PORT_MONITORS
|
|
|
|
port_monitors = libtcp-portmon.h libtcp-portmon.c hash.h hash.c
|
|
|
|
endif
|
|
|
|
|
2005-08-21 23:09:36 +00:00
|
|
|
if BUILD_CAIRO
|
|
|
|
cairo = cairo.c
|
|
|
|
endif
|
|
|
|
|
|
|
|
if BUILD_MLDONKEY
|
|
|
|
mldonkey = mldonkey.c
|
|
|
|
endif
|
|
|
|
|
|
|
|
if BUILD_X11
|
|
|
|
x11 = x11.c
|
|
|
|
endif
|
|
|
|
|
2005-10-31 05:17:06 +00:00
|
|
|
conky_SOURCES = common.c fs.c $(linux) mail.c mixer.c $(seti) $(mpd) $(solaris) $(freebsd) $(netbsd) $(port_monitors) $(cairo) conky.c conky.h $(x11) $(mldonkey) remoted.c remoted.h remotec.c remotec.h
|
2005-08-21 23:09:36 +00:00
|
|
|
|
2005-08-22 23:32:35 +00:00
|
|
|
AM_LDFLAGS = $(X11_LIBS) $(XFT_LIBS) $(CAIRO_LIBS) $(PTHREAD_LIBS) -lm
|
2005-08-21 23:09:36 +00:00
|
|
|
|
|
|
|
EXTRA_DIST = seti.c linux.c solaris.c freebsd.c netbsd.c mpd.c libmpdclient.c \
|
|
|
|
cairo.c libmpdclient.h top.h mldonkey.c ftp.c ftp.h x11.c
|