Removing old svn keywords.
[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
26 INCLUDES = -DSYSTEM_CONFIG_FILE=\"$(sysconfdir)/conky/conky.conf\"
27
28 bin_PROGRAMS = conky
29
30 if BUILD_AUDACIOUS
31 audacious = audacious.c audacious.h
32 endif
33
34 if BUILD_BMPX
35 bmpx = bmpx.c
36 endif
37
38 if BUILD_MPD
39 mpd = mpd.c libmpdclient.c
40 endif
41
42 if BUILD_MOC
43 moc = moc.c
44 endif
45
46 if BUILD_XMMS2
47 xmms2 = xmms2.c
48 endif
49
50 if BUILD_LINUX
51 linux = linux.c top.c diskio.c users.c
52 PTHREAD_LIBS =  -lpthread
53 endif
54
55 #if BUILD_SOLARIS
56 #solaris = solaris.c
57 #endif
58
59 if BUILD_FREEBSD
60 freebsd = freebsd.c
61 PTHREAD_LIBS =  -pthread
62 endif
63
64 #if BUILD_NETBSD
65 #netbsd = netbsd.c
66 #endif
67
68 if BUILD_OPENBSD
69 openbsd = openbsd.c
70 PTHREAD_LIBS =  -pthread
71 endif
72
73 if BUILD_PORT_MONITORS
74 port_monitors = libtcp-portmon.h libtcp-portmon.c
75 endif
76
77 if BUILD_X11
78 x11 = x11.c
79 endif
80
81 if BUILD_HDDTEMP
82 hddtemp = hddtemp.c
83 endif
84
85 if BUILD_EVE
86 eve = eve.c eve.h
87 endif
88
89 if BUILD_RSS
90 rss = rss.c prss.c prss.h
91 endif
92
93 if BUILD_SMAPI
94 smapi = smapi.c smapi.h
95 endif
96
97 if BUILD_NVIDIA
98 nvidia = nvidia.c nvidia.h
99 endif
100
101 conky_SOURCES =                 \
102         $(audacious)            \
103         $(bmpx)                 \
104         common.c                \
105         conky.c                 \
106         conky.h                 \
107         $(freebsd)              \
108         fs.c                    \
109         $(hddtemp)              \
110         $(linux)                \
111         $(nvidia)               \
112         mail.c                  \
113         mixer.c                 \
114         $(mpd)                  \
115   $(moc) \
116         $(netbsd)               \
117         $(openbsd)              \
118         $(port_monitors)        \
119         $(eve)                  \
120         $(rss)                  \
121         $(solaris)              \
122         timed_thread.c          \
123         timed_thread.h          \
124         mboxscan.c              \
125         mboxscan.h              \
126         $(x11)                  \
127         $(xmms2)                \
128         $(smapi)                \
129         temphelper.c            \
130         temphelper.h
131
132 conky_LDFLAGS =                                 \
133         $(PTHREAD_LIBS)                         \
134         -lm
135
136 EXTRA_DIST =                    \
137         audacious.c             \
138         audacious.h             \
139         bmpx.c                  \
140         common.h                \
141         freebsd.c               \
142         freebsd.h               \
143         fs.h                    \
144         hddtemp.c               \
145         hddtemp.h               \
146         linux.c                 \
147         linux.h                 \
148         libmpdclient.c          \
149         libmpdclient.h          \
150         libtcp-portmon.c        \
151         libtcp-portmon.h        \
152         rss.h                   \
153         mail.h                  \
154         mixer.h                 \
155         moc.h                   \
156         moc.c                   \
157         mpd.c                   \
158         mpd.h                   \
159         netbsd.c                \
160         nvidia.c                \
161         nvidia.h                \
162         openbsd.c               \
163         openbsd.h               \
164         solaris.c               \
165         top.h                   \
166         diskio.h                \
167         x11.c                   \
168         x11.h                   \
169         xmms2.c                 \
170         xmms2.h                 \
171         smapi.c                 \
172         users.c
173
174
175 # vi:set ts=8 sw=8 noet ai nocindent syntax=automake: