1 # -*- mode: Makefile; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*-
3 # Conky, a system monitor, based on torsmo
5 # Any original torsmo code is licensed under the BSD license
7 # All code written since the fork of torsmo is licensed under the GPL
9 # Please see COPYING for details
11 # Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
12 # Copyright (c) 2005-2009 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
13 # All rights reserved.
15 # This program is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU General Public License as published by
17 # the Free Software Foundation, either version 3 of the License, or
18 # (at your option) any later version.
20 # This program is distributed in the hope that it will be useful,
21 # but WITHOUT ANY WARRANTY; without even the implied warranty of
22 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 # GNU General Public License for more details.
24 # You should have received a copy of the GNU General Public License
25 # along with this program. If not, see <http://www.gnu.org/licenses/>.
28 INCLUDES = -DSYSTEM_CONFIG_FILE=\"$(sysconfdir)/conky/conky.conf\" -DPACKAGE_LIBDIR=\"$(pkglibdir)\"
34 if BUILD_CONFIG_OUTPUT
35 config_output = defconfig.h
36 config_cookie = conf_cookie.c conf_cookie.h
38 config_input = $(srcdir)/../data/conky.conf
40 config_input = $(srcdir)/../data/conky_no_x11.conf
43 conky_DEPENDENCIES = $(config_output)
44 BUILT_SOURCES = $(config_output)
45 CLEANFILES = $(config_output)
47 $(config_output): ${config_input}
48 sh $(srcdir)/../text2c.sh ${config_input} $@ defconfig
49 endif # BUILD_CONFIG_OUTPUT
52 audacious = audacious.c audacious.h
60 ibm = ibm.c ibm.h smapi.c smapi.h
64 mpd = mpd.c libmpdclient.c
76 linux = linux.c top.c diskio.c users.c sony.c
77 PTHREAD_LIBS = -lpthread
85 freebsd = freebsd.c diskio.c
86 PTHREAD_LIBS = -pthread
95 PTHREAD_LIBS = -pthread
98 if BUILD_PORT_MONITORS
99 port_monitors = libtcp-portmon.h libtcp-portmon.c \
100 tcp-portmon.h tcp-portmon.c
116 ccurl_thread = ccurl_thread.c ccurl_thread.h
120 rss = rss.c prss.c prss.h
124 weather = weather.c weather.h
132 nvidia = nvidia.c nvidia.h
136 imlib2 = imlib2.c imlib2.h
140 apcupsd = apcupsd.c apcupsd.h
257 # vi:set ts=4 sw=4 noet ai nocindent syntax=automake: