make unit of all temperatures selectable
[monky] / src / Makefile.am
1 # Conky, a system monitor, based on torsmo
2 #
3 # Any original torsmo code is licensed under the BSD license
4 #
5 # All code written since the fork of torsmo is licensed under the GPL
6 #
7 # Please see COPYING for details
8 #
9 # Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
10 # Copyright (c) 2005-2007 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
11 # All rights reserved.
12 #
13 # This program is free software: you can redistribute it and/or modify
14 # it under the terms of the GNU General Public License as published by
15 # the Free Software Foundation, either version 3 of the License, or
16 # (at your option) any later version.
17 #
18 # This program is distributed in the hope that it will be useful,
19 # but WITHOUT ANY WARRANTY; without even the implied warranty of
20 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21 # GNU General Public License for more details.
22 # You should have received a copy of the GNU General Public License
23 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
24 #
25 # $Id$
26
27 INCLUDES = -DSYSTEM_CONFIG_FILE=\"$(sysconfdir)/conky/conky.conf\"
28
29 bin_PROGRAMS = conky
30
31 if BUILD_AUDACIOUS
32 audacious = audacious.c audacious.h
33 endif
34
35 if BUILD_BMPX
36 bmpx = bmpx.c
37 endif
38
39 if BUILD_MPD
40 mpd = mpd.c libmpdclient.c
41 endif
42
43 if BUILD_MOC
44 moc = moc.c
45 endif
46
47 if BUILD_XMMS2
48 xmms2 = xmms2.c
49 endif
50
51 if BUILD_LINUX
52 linux = linux.c top.c diskio.c users.c
53 PTHREAD_LIBS =  -lpthread
54 endif
55
56 #if BUILD_SOLARIS
57 #solaris = solaris.c
58 #endif
59
60 if BUILD_FREEBSD
61 freebsd = freebsd.c
62 PTHREAD_LIBS =  -pthread
63 endif
64
65 #if BUILD_NETBSD
66 #netbsd = netbsd.c
67 #endif
68
69 if BUILD_OPENBSD
70 openbsd = openbsd.c
71 PTHREAD_LIBS =  -pthread
72 endif
73
74 if BUILD_PORT_MONITORS
75 port_monitors = libtcp-portmon.h libtcp-portmon.c
76 endif
77
78 if BUILD_X11
79 x11 = x11.c
80 endif
81
82 if BUILD_HDDTEMP
83 hddtemp = hddtemp.c
84 endif
85
86 if BUILD_EVE
87 eve = eve.c eve.h
88 endif
89
90 if BUILD_RSS
91 rss = rss.c prss.c prss.h
92 endif
93
94 if BUILD_SMAPI
95 smapi = smapi.c smapi.h
96 endif
97
98 if BUILD_NVIDIA
99 nvidia = nvidia.c nvidia.h
100 endif
101
102 conky_SOURCES =                 \
103         $(audacious)            \
104         $(bmpx)                 \
105         common.c                \
106         conky.c                 \
107         conky.h                 \
108         $(freebsd)              \
109         fs.c                    \
110         $(hddtemp)              \
111         $(linux)                \
112         $(nvidia)               \
113         mail.c                  \
114         mixer.c                 \
115         $(mpd)                  \
116   $(moc) \
117         $(netbsd)               \
118         $(openbsd)              \
119         $(port_monitors)        \
120         $(eve)                  \
121         $(rss)                  \
122         $(solaris)              \
123         timed_thread.c          \
124         timed_thread.h          \
125         mboxscan.c              \
126         mboxscan.h              \
127         $(x11)                  \
128         $(xmms2)                \
129         $(smapi)                \
130         temphelper.c            \
131         temphelper.h
132
133 conky_LDFLAGS =                                 \
134         $(PTHREAD_LIBS)                         \
135         -lm
136
137 EXTRA_DIST =                    \
138         audacious.c             \
139         audacious.h             \
140         bmpx.c                  \
141         common.h                \
142         freebsd.c               \
143         freebsd.h               \
144         fs.h                    \
145         hddtemp.c               \
146         hddtemp.h               \
147         linux.c                 \
148         linux.h                 \
149         libmpdclient.c          \
150         libmpdclient.h          \
151         libtcp-portmon.c        \
152         libtcp-portmon.h        \
153         rss.h                   \
154         mail.h                  \
155         mixer.h                 \
156         moc.h                   \
157         moc.c                   \
158         mpd.c                   \
159         mpd.h                   \
160         netbsd.c                \
161         nvidia.c                \
162         nvidia.h                \
163         openbsd.c               \
164         openbsd.h               \
165         solaris.c               \
166         top.h                   \
167         diskio.h                \
168         x11.c                   \
169         x11.h                   \
170         xmms2.c                 \
171         xmms2.h                 \
172         smapi.c                 \
173         users.c
174
175
176 # vi:set ts=8 sw=8 noet ai nocindent syntax=automake: