9d986165be7f358816aea2ea475e107755552c45
[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_OPENBSD
38 openbsd = openbsd.c
39 PTHREAD_LIBS =  -pthread
40 endif
41
42 if BUILD_PORT_MONITORS
43 port_monitors = libtcp-portmon.h libtcp-portmon.c
44 endif
45
46 if BUILD_X11
47 x11 = x11.c
48 endif
49
50 if BUILD_HDDTEMP
51 hddtemp = hddtemp.c
52 endif
53
54 if BUILD_RSS
55 rss = rss.c prss.c prss.h
56 endif
57
58 conky_SOURCES =                 \
59         $(audacious)            \
60         $(bmpx)                 \
61         common.c                \
62         conky.c                 \
63         conky.h                 \
64         $(freebsd)              \
65         fs.c                    \
66         $(hddtemp)              \
67         $(linux)                \
68         mail.c                  \
69         mixer.c                 \
70         $(mpd)                  \
71         $(netbsd)               \
72         $(openbsd)              \
73         $(port_monitors)        \
74         $(rss)                  \
75         $(solaris)              \
76         timed_thread.c          \
77         timed_thread.h          \
78         mboxscan.c              \
79         mboxscan.h              \
80         $(x11)                  \
81         $(xmms2) 
82
83 AM_LDFLAGS = $(PTHREAD_LIBS) -lm
84
85 EXTRA_DIST =                    \
86         audacious.c             \
87         audacious.h             \
88         bmpx.c                  \
89         freebsd.c               \
90         hddtemp.c               \
91         linux.c                 \
92         libmpdclient.c          \
93         libmpdclient.h          \
94         libtcp-portmon.c        \
95         libtcp-portmon.h        \
96         mpd.c                   \
97         netbsd.c                \
98         openbsd.c               \
99         solaris.c               \
100         top.h                   \
101         x11.c                   \
102         xmms2.c
103
104 # vi:set ts=8 sw=8 noet ai nocindent syntax=automake: