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