04299481ef3e0dd58b4fc578149c54e2935c42cd
[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_BMPX
8 bmpx = bmpx.c
9 endif
10
11 if BUILD_MPD
12 mpd = mpd.c libmpdclient.c
13 endif
14
15 if BUILD_XMMS2
16 xmms2 = xmms2.c
17 endif
18
19 if BUILD_LINUX
20 linux = linux.c top.c
21 PTHREAD_LIBS =  -lpthread
22 endif
23
24 #if BUILD_SOLARIS
25 #solaris = solaris.c
26 #endif
27
28 if BUILD_FREEBSD
29 freebsd = freebsd.c
30 PTHREAD_LIBS =  -pthread
31 endif
32
33 #if BUILD_NETBSD
34 #netbsd = netbsd.c
35 #endif
36
37 if BUILD_PORT_MONITORS
38 port_monitors = libtcp-portmon.h libtcp-portmon.c
39 endif
40
41 if BUILD_X11
42 x11 = x11.c
43 endif
44
45 if BUILD_HDDTEMP
46 hddtemp = hddtemp.c
47 endif
48
49 conky_SOURCES =                 \
50         $(audacious)            \
51         $(bmpx)                 \
52         common.c                \
53         conky.c                 \
54         conky.h                 \
55         $(freebsd)              \
56         fs.c                    \
57         $(hddtemp)              \
58         $(linux)                \
59         mail.c                  \
60         mixer.c                 \
61         $(mpd)                  \
62         $(netbsd)               \
63         $(port_monitors)        \
64         $(solaris)              \
65         timed_thread.c          \
66         timed_thread.h          \
67         $(x11)                  \
68         $(xmms2) 
69
70 AM_LDFLAGS = $(PTHREAD_LIBS) -lm
71
72 EXTRA_DIST =                    \
73         audacious.c             \
74         audacious.h             \
75         bmpx.c                  \
76         freebsd.c               \
77         hddtemp.c               \
78         linux.c                 \
79         libmpdclient.c          \
80         libmpdclient.h          \
81         libtcp-portmon.c        \
82         libtcp-portmon.h        \
83         mpd.c                   \
84         netbsd.c                \
85         solaris.c               \
86         top.h                   \
87         x11.c                   \
88         xmms2.c
89
90 # vi:set ts=8 sw=8 noet ai nocindent syntax=automake: