* OpenBSD support added to Conky (thanks hifi)
[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 conky_SOURCES =                 \
55         $(audacious)            \
56         $(bmpx)                 \
57         common.c                \
58         conky.c                 \
59         conky.h                 \
60         $(freebsd)              \
61         fs.c                    \
62         $(hddtemp)              \
63         $(linux)                \
64         mail.c                  \
65         mixer.c                 \
66         $(mpd)                  \
67         $(netbsd)               \
68         $(openbsd)              \
69         $(port_monitors)        \
70         $(solaris)              \
71         timed_thread.c          \
72         timed_thread.h          \
73         mboxscan.c              \
74         mboxscan.h              \
75         $(x11)                  \
76         $(xmms2) 
77
78 AM_LDFLAGS = $(PTHREAD_LIBS) -lm
79
80 EXTRA_DIST =                    \
81         audacious.c             \
82         audacious.h             \
83         bmpx.c                  \
84         freebsd.c               \
85         hddtemp.c               \
86         linux.c                 \
87         libmpdclient.c          \
88         libmpdclient.h          \
89         libtcp-portmon.c        \
90         libtcp-portmon.h        \
91         mpd.c                   \
92         netbsd.c                \
93         openbsd.c               \
94         solaris.c               \
95         top.h                   \
96         x11.c                   \
97         xmms2.c
98
99 # vi:set ts=8 sw=8 noet ai nocindent syntax=automake: