2007-10-23 21:52:11 +00:00
|
|
|
# Conky, a system monitor, based on torsmo
|
|
|
|
#
|
|
|
|
# Any original torsmo code is licensed under the BSD license
|
|
|
|
#
|
|
|
|
# All code written since the fork of torsmo is licensed under the GPL
|
|
|
|
#
|
|
|
|
# Please see COPYING for details
|
|
|
|
#
|
|
|
|
# Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
|
|
|
|
# Copyright (c) 2005-2007 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
|
|
|
|
# All rights reserved.
|
|
|
|
#
|
|
|
|
# This program is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
#
|
|
|
|
# $Id$
|
|
|
|
|
|
|
|
INCLUDES = \
|
|
|
|
-DSYSTEM_CONFIG_FILE=\"$(sysconfdir)/conky/conky.conf\"
|
|
|
|
|
2005-08-21 23:09:36 +00:00
|
|
|
bin_PROGRAMS = conky
|
|
|
|
|
2006-01-08 14:51:47 +00:00
|
|
|
if BUILD_AUDACIOUS
|
2006-11-03 20:54:52 +00:00
|
|
|
audacious = audacious.c audacious.h
|
2005-12-30 09:44:40 +00:00
|
|
|
endif
|
|
|
|
|
2006-01-08 08:02:37 +00:00
|
|
|
if BUILD_BMPX
|
|
|
|
bmpx = bmpx.c
|
2006-01-05 07:06:42 +00:00
|
|
|
endif
|
|
|
|
|
2005-08-21 23:09:36 +00:00
|
|
|
if BUILD_MPD
|
|
|
|
mpd = mpd.c libmpdclient.c
|
|
|
|
endif
|
|
|
|
|
2006-03-25 21:21:07 +00:00
|
|
|
if BUILD_XMMS2
|
|
|
|
xmms2 = xmms2.c
|
|
|
|
endif
|
|
|
|
|
2005-08-21 23:09:36 +00:00
|
|
|
if BUILD_LINUX
|
2008-06-15 07:08:52 +00:00
|
|
|
linux = linux.c top.c diskio.c users.c
|
2005-08-22 23:32:35 +00:00
|
|
|
PTHREAD_LIBS = -lpthread
|
2005-08-21 23:09:36 +00:00
|
|
|
endif
|
|
|
|
|
2006-08-12 06:10:18 +00:00
|
|
|
#if BUILD_SOLARIS
|
|
|
|
#solaris = solaris.c
|
|
|
|
#endif
|
2005-08-21 23:09:36 +00:00
|
|
|
|
|
|
|
if BUILD_FREEBSD
|
2008-05-03 12:30:05 +00:00
|
|
|
freebsd = freebsd.c
|
2005-08-22 23:32:35 +00:00
|
|
|
PTHREAD_LIBS = -pthread
|
2005-08-21 23:09:36 +00:00
|
|
|
endif
|
|
|
|
|
2006-08-12 06:10:18 +00:00
|
|
|
#if BUILD_NETBSD
|
|
|
|
#netbsd = netbsd.c
|
|
|
|
#endif
|
2005-08-21 23:09:36 +00:00
|
|
|
|
2007-03-01 01:43:43 +00:00
|
|
|
if BUILD_OPENBSD
|
|
|
|
openbsd = openbsd.c
|
|
|
|
PTHREAD_LIBS = -pthread
|
|
|
|
endif
|
|
|
|
|
2005-10-31 05:17:06 +00:00
|
|
|
if BUILD_PORT_MONITORS
|
2006-12-09 05:40:08 +00:00
|
|
|
port_monitors = libtcp-portmon.h libtcp-portmon.c
|
2005-10-31 05:17:06 +00:00
|
|
|
endif
|
|
|
|
|
2005-08-21 23:09:36 +00:00
|
|
|
if BUILD_X11
|
|
|
|
x11 = x11.c
|
|
|
|
endif
|
|
|
|
|
2006-08-10 16:56:13 +00:00
|
|
|
if BUILD_HDDTEMP
|
|
|
|
hddtemp = hddtemp.c
|
|
|
|
endif
|
|
|
|
|
2008-06-28 20:14:04 +00:00
|
|
|
if BUILD_EVE
|
|
|
|
eve = eve.c eve.h
|
|
|
|
endif
|
|
|
|
|
2007-05-06 12:17:13 +00:00
|
|
|
if BUILD_RSS
|
2007-08-24 02:00:18 +00:00
|
|
|
rss = rss.c prss.c prss.h
|
2007-05-06 12:17:13 +00:00
|
|
|
endif
|
|
|
|
|
2008-03-18 00:23:16 +00:00
|
|
|
if BUILD_SMAPI
|
|
|
|
smapi = smapi.c smapi.h
|
|
|
|
endif
|
|
|
|
|
2008-06-03 20:46:15 +00:00
|
|
|
if BUILD_NVIDIA
|
|
|
|
nvidia = nvidia.c nvidia.h
|
|
|
|
endif
|
|
|
|
|
2006-11-03 20:54:52 +00:00
|
|
|
conky_SOURCES = \
|
|
|
|
$(audacious) \
|
|
|
|
$(bmpx) \
|
|
|
|
common.c \
|
|
|
|
conky.c \
|
|
|
|
conky.h \
|
|
|
|
$(freebsd) \
|
|
|
|
fs.c \
|
|
|
|
$(hddtemp) \
|
|
|
|
$(linux) \
|
2008-06-03 20:46:15 +00:00
|
|
|
$(nvidia) \
|
2006-11-03 20:54:52 +00:00
|
|
|
mail.c \
|
|
|
|
mixer.c \
|
|
|
|
$(mpd) \
|
|
|
|
$(netbsd) \
|
2007-03-01 01:43:43 +00:00
|
|
|
$(openbsd) \
|
2006-11-03 20:54:52 +00:00
|
|
|
$(port_monitors) \
|
2008-06-28 20:14:04 +00:00
|
|
|
$(eve) \
|
2007-05-06 12:17:13 +00:00
|
|
|
$(rss) \
|
2006-11-03 20:54:52 +00:00
|
|
|
$(solaris) \
|
2006-11-14 22:30:31 +00:00
|
|
|
timed_thread.c \
|
|
|
|
timed_thread.h \
|
2007-02-12 01:03:10 +00:00
|
|
|
mboxscan.c \
|
|
|
|
mboxscan.h \
|
2006-11-03 20:54:52 +00:00
|
|
|
$(x11) \
|
2008-03-18 00:23:16 +00:00
|
|
|
$(xmms2) \
|
2008-06-15 18:38:33 +00:00
|
|
|
$(smapi)
|
2005-08-21 23:09:36 +00:00
|
|
|
|
2008-06-15 18:38:33 +00:00
|
|
|
AM_LDFLAGS = $(PTHREAD_LIBS) -lm
|
2005-08-21 23:09:36 +00:00
|
|
|
|
2006-11-03 20:54:52 +00:00
|
|
|
EXTRA_DIST = \
|
|
|
|
audacious.c \
|
|
|
|
audacious.h \
|
|
|
|
bmpx.c \
|
|
|
|
freebsd.c \
|
|
|
|
hddtemp.c \
|
|
|
|
linux.c \
|
|
|
|
libmpdclient.c \
|
|
|
|
libmpdclient.h \
|
|
|
|
libtcp-portmon.c \
|
|
|
|
libtcp-portmon.h \
|
|
|
|
mpd.c \
|
|
|
|
netbsd.c \
|
2008-06-03 20:46:15 +00:00
|
|
|
nvidia.c \
|
|
|
|
nvidia.h \
|
2007-03-01 01:43:43 +00:00
|
|
|
openbsd.c \
|
2006-11-03 20:54:52 +00:00
|
|
|
solaris.c \
|
|
|
|
top.h \
|
2008-02-09 02:21:06 +00:00
|
|
|
diskio.h \
|
2006-11-03 20:54:52 +00:00
|
|
|
x11.c \
|
2008-03-18 00:23:16 +00:00
|
|
|
xmms2.c \
|
|
|
|
smapi.c \
|
2008-06-15 18:38:33 +00:00
|
|
|
users.c
|
|
|
|
|
2007-01-08 01:10:12 +00:00
|
|
|
|
|
|
|
# vi:set ts=8 sw=8 noet ai nocindent syntax=automake:
|