Added support for EVE-Online skill monitoring (thanks Asbjørn); fixed up/downspeedgra...
[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_EVE
84 eve = eve.c eve.h
85 endif
86
87 if BUILD_RSS
88 rss = rss.c prss.c prss.h
89 endif
90
91 if BUILD_SMAPI
92 smapi = smapi.c smapi.h
93 endif
94
95 if BUILD_NVIDIA
96 nvidia = nvidia.c nvidia.h
97 endif
98
99 conky_SOURCES =                 \
100         $(audacious)            \
101         $(bmpx)                 \
102         common.c                \
103         conky.c                 \
104         conky.h                 \
105         $(freebsd)              \
106         fs.c                    \
107         $(hddtemp)              \
108         $(linux)                \
109         $(nvidia)               \
110         mail.c                  \
111         mixer.c                 \
112         $(mpd)                  \
113         $(netbsd)               \
114         $(openbsd)              \
115         $(port_monitors)        \
116         $(eve)                  \
117         $(rss)                  \
118         $(solaris)              \
119         timed_thread.c          \
120         timed_thread.h          \
121         mboxscan.c              \
122         mboxscan.h              \
123         $(x11)                  \
124         $(xmms2)                \
125         $(smapi)
126
127 AM_LDFLAGS = $(PTHREAD_LIBS) -lm
128
129 EXTRA_DIST =                    \
130         audacious.c             \
131         audacious.h             \
132         bmpx.c                  \
133         freebsd.c               \
134         hddtemp.c               \
135         linux.c                 \
136         libmpdclient.c          \
137         libmpdclient.h          \
138         libtcp-portmon.c        \
139         libtcp-portmon.h        \
140         mpd.c                   \
141         netbsd.c                \
142         nvidia.c                \
143         nvidia.h                \
144         openbsd.c               \
145         solaris.c               \
146         top.h                   \
147         diskio.h                \
148         x11.c                   \
149         xmms2.c                 \
150         smapi.c                 \
151         users.c
152
153
154 # vi:set ts=8 sw=8 noet ai nocindent syntax=automake: