removal of xmms/bmp / addition of audacious/infopipe
[monky] / src / Makefile.am
1 bin_PROGRAMS = conky
2
3 if BUILD_AUDACIOUS
4 audacious = audacious.c audacious.h
5 endif
6
7 if BUILD_INFOPIPE
8 infopipe = infopipe.c infopipe.h
9 endif
10
11 if BUILD_BMPX
12 bmpx = bmpx.c
13 endif
14
15 if BUILD_SETI
16 seti = seti.c
17 endif
18
19 if BUILD_MPD
20 mpd = mpd.c libmpdclient.c
21 endif
22
23 if BUILD_XMMS2
24 xmms2 = xmms2.c
25 endif
26
27 if BUILD_LINUX
28 linux = linux.c top.c
29 PTHREAD_LIBS =  -lpthread
30 endif
31
32 #if BUILD_SOLARIS
33 #solaris = solaris.c
34 #endif
35
36 if BUILD_FREEBSD
37 freebsd = freebsd.c
38 PTHREAD_LIBS =  -pthread
39 endif
40
41 #if BUILD_NETBSD
42 #netbsd = netbsd.c
43 #endif
44
45 if BUILD_PORT_MONITORS
46 port_monitors = libtcp-portmon.h libtcp-portmon.c hash.h hash.c
47 endif
48
49 if BUILD_MLDONKEY
50 mldonkey = mldonkey.c
51 endif
52
53 if BUILD_X11
54 x11 = x11.c
55 endif
56
57 if BUILD_HDDTEMP
58 hddtemp = hddtemp.c
59 endif
60
61 conky_SOURCES =                 \
62         $(audacious)            \
63         $(bmpx)                 \
64         common.c                \
65         conky.c                 \
66         conky.h                 \
67         $(freebsd)              \
68         fs.c                    \
69         $(hddtemp)              \
70         $(infopipe)             \
71         $(linux)                \
72         mail.c                  \
73         mixer.c                 \
74         $(mldonkey)             \
75         $(mpd)                  \
76         $(netbsd)               \
77         $(port_monitors)        \
78         $(seti)                 \
79         $(solaris)              \
80         remotec.c               \
81         remotec.h               \
82         remoted.c               \
83         remoted.h               \
84         $(x11)                  \
85         $(xmms2) 
86
87 AM_LDFLAGS = $(X11_LIBS) $(XFT_LIBS) $(CAIRO_LIBS) $(PTHREAD_LIBS) -lm
88
89 EXTRA_DIST =                    \
90         audacious.c             \
91         audacious.h             \
92         bmpx.c                  \
93         freebsd.c               \
94         ftp.c                   \
95         ftp.h                   \
96         hash.c                  \
97         hash.h                  \
98         hddtemp.c               \
99         infopipe.c              \
100         infopipe.h              \
101         linux.c                 \
102         libmpdclient.c          \
103         libmpdclient.h          \
104         libtcp-portmon.c        \
105         libtcp-portmon.h        \
106         mldonkey.c              \
107         mpd.c                   \
108         netbsd.c                \
109         seti.c                  \
110         solaris.c               \
111         top.h                   \
112         x11.c                   \
113         xmms2.c