1 # Conky, a system monitor, based on torsmo
3 # Any original torsmo code is licensed under the BSD license
5 # All code written since the fork of torsmo is licensed under the GPL
7 # Please see COPYING for details
9 # Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
10 # Copyright (c) 2005-2009 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
11 # All rights reserved.
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.
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/>.
26 INCLUDES = -DSYSTEM_CONFIG_FILE=\"$(sysconfdir)/conky/conky.conf\"
30 if BUILD_CONFIG_OUTPUT
31 config_output = defconfig.h
32 config_cookie = conf_cookie.c conf_cookie.h
34 config_input = ../data/conky.conf
36 config_input = ../data/conky_no_x11.conf
39 conky_DEPENDENCIES = $(config_output)
40 BUILT_SOURCES = $(config_output)
41 CLEANFILES = $(config_output)
43 $(config_output): ${config_input}
44 sh ../text2c.sh ${config_input} $@ defconfig
45 endif # BUILD_CONFIG_OUTPUT
48 audacious = audacious.c audacious.h
56 ibm = ibm.c ibm.h smapi.c smapi.h
60 mpd = mpd.c libmpdclient.c
72 linux = linux.c top.c diskio.c users.c sony.c
73 PTHREAD_LIBS = -lpthread
81 freebsd = freebsd.c diskio.c
82 PTHREAD_LIBS = -pthread
91 PTHREAD_LIBS = -pthread
94 if BUILD_PORT_MONITORS
95 port_monitors = libtcp-portmon.h libtcp-portmon.c \
96 tcp-portmon.h tcp-portmon.c
112 rss = rss.c prss.c prss.h
116 weather = weather.c weather.h
124 nvidia = nvidia.c nvidia.h
128 imlib2 = imlib2.c imlib2.h
132 apcupsd = apcupsd.c apcupsd.h
246 # vi:set ts=8 sw=8 noet ai nocindent syntax=automake: