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