* Applied 12 patches:
[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
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 diskio.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 conky_SOURCES =                 \
92         $(audacious)            \
93         $(bmpx)                 \
94         common.c                \
95         conky.c                 \
96         conky.h                 \
97         $(freebsd)              \
98         fs.c                    \
99         $(hddtemp)              \
100         $(linux)                \
101         mail.c                  \
102         mixer.c                 \
103         $(mpd)                  \
104         $(netbsd)               \
105         $(openbsd)              \
106         $(port_monitors)        \
107         $(rss)                  \
108         $(solaris)              \
109         timed_thread.c          \
110         timed_thread.h          \
111         mboxscan.c              \
112         mboxscan.h              \
113         $(x11)                  \
114         $(xmms2)                \
115         $(smapi)                \
116         users.c
117
118 AM_LDFLAGS = $(PTHREAD_LIBS) -lm
119
120 EXTRA_DIST =                    \
121         audacious.c             \
122         audacious.h             \
123         bmpx.c                  \
124         freebsd.c               \
125         hddtemp.c               \
126         linux.c                 \
127         libmpdclient.c          \
128         libmpdclient.h          \
129         libtcp-portmon.c        \
130         libtcp-portmon.h        \
131         mpd.c                   \
132         netbsd.c                \
133         openbsd.c               \
134         solaris.c               \
135         top.h                   \
136         diskio.h                \
137         x11.c                   \
138         xmms2.c                 \
139         smapi.c                 \
140         users.c
141
142 # vi:set ts=8 sw=8 noet ai nocindent syntax=automake: