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\" -DPACKAGE_LIBDIR=\"$(pkglibdir)\"
32 if BUILD_CONFIG_OUTPUT
33 config_output = defconfig.h
34 config_cookie = conf_cookie.c conf_cookie.h
36 config_input = ../data/conky.conf
38 config_input = ../data/conky_no_x11.conf
41 conky_DEPENDENCIES = $(config_output)
42 BUILT_SOURCES = $(config_output)
43 CLEANFILES = $(config_output)
45 $(config_output): ${config_input}
46 sh ../text2c.sh ${config_input} $@ defconfig
47 endif # BUILD_CONFIG_OUTPUT
50 audacious = audacious.c audacious.h
58 ibm = ibm.c ibm.h smapi.c smapi.h
62 mpd = mpd.c libmpdclient.c
74 linux = linux.c top.c diskio.c users.c sony.c
75 PTHREAD_LIBS = -lpthread
83 freebsd = freebsd.c diskio.c
84 PTHREAD_LIBS = -pthread
93 PTHREAD_LIBS = -pthread
96 if BUILD_PORT_MONITORS
97 port_monitors = libtcp-portmon.h libtcp-portmon.c \
98 tcp-portmon.h tcp-portmon.c
114 ccurl_thread = ccurl_thread.c ccurl_thread.h
118 rss = rss.c prss.c prss.h
122 weather = weather.c weather.h
130 nvidia = nvidia.c nvidia.h
134 imlib2 = imlib2.c imlib2.h
138 apcupsd = apcupsd.c apcupsd.h
255 # vi:set ts=4 sw=4 noet ai nocindent syntax=automake: