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 if BUILD_FOR_FOPENCOOKIE
33 config_cookie = conf_cookie.c conf_cookie.h
35 conky_DEPENDENCIES = $(config_output)
36 BUILT_SOURCES = $(config_output)
37 CLEANFILES = $(config_output)
39 $(config_output): ../data/conky.conf
41 $(config_output): ../data/conky_no_x11.conf
43 sh ../text2c.sh $< $@ defconfig
47 audacious = audacious.c audacious.h
55 ibm = ibm.c ibm.h smapi.c smapi.h
59 mpd = mpd.c libmpdclient.c
71 linux = linux.c top.c diskio.c users.c sony.c
72 PTHREAD_LIBS = -lpthread
81 PTHREAD_LIBS = -pthread
90 PTHREAD_LIBS = -pthread
93 if BUILD_PORT_MONITORS
94 port_monitors = libtcp-portmon.h libtcp-portmon.c \
95 tcp-portmon.h tcp-portmon.c
111 rss = rss.c prss.c prss.h
119 nvidia = nvidia.c nvidia.h
123 imlib2 = imlib2.c imlib2.h
127 apcupsd = apcupsd.c apcupsd.h
239 # vi:set ts=8 sw=8 noet ai nocindent syntax=automake: