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/>.
|
|
|
|
#
|
|
|
|
|
2008-07-07 20:09:37 +00:00
|
|
|
INCLUDES = -DSYSTEM_CONFIG_FILE=\"$(sysconfdir)/conky/conky.conf\"
|
2007-10-23 21:52:11 +00:00
|
|
|
|
2005-08-21 23:09:36 +00:00
|
|
|
bin_PROGRAMS = conky
|
|
|
|
|
2008-12-12 14:33:25 +00:00
|
|
|
if BUILD_CONFIG_OUTPUT
|
|
|
|
config_output = defconfig.h
|
2008-12-14 13:36:44 +00:00
|
|
|
if BUILD_FOR_FOPENCOOKIE
|
|
|
|
config_cookie = conf_cookie.c conf_cookie.h
|
|
|
|
endif
|
2008-12-12 14:33:25 +00:00
|
|
|
conky_DEPENDENCIES = $(config_output)
|
|
|
|
BUILT_SOURCES = $(config_output)
|
|
|
|
CLEANFILES = $(config_output)
|
|
|
|
$(config_output): ../doc/conky.conf
|
|
|
|
sh ../text2c.sh $< $@ defconfig
|
|
|
|
endif
|
|
|
|
|
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
|
|
|
|
|
2008-09-24 06:59:45 +00:00
|
|
|
if BUILD_MOC
|
|
|
|
moc = moc.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
|
2008-12-09 13:44:14 +00:00
|
|
|
port_monitors = libtcp-portmon.h libtcp-portmon.c \
|
|
|
|
tcp-portmon.h tcp-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 = \
|
2008-12-12 14:33:25 +00:00
|
|
|
$(config_output) \
|
2008-12-14 13:36:44 +00:00
|
|
|
$(config_cookie) \
|
2006-11-03 20:54:52 +00:00
|
|
|
$(audacious) \
|
|
|
|
$(bmpx) \
|
|
|
|
common.c \
|
|
|
|
conky.c \
|
|
|
|
conky.h \
|
|
|
|
$(freebsd) \
|
|
|
|
fs.c \
|
|
|
|
$(hddtemp) \
|
|
|
|
$(linux) \
|
2008-12-15 21:40:24 +00:00
|
|
|
logging.h \
|
2008-06-03 20:46:15 +00:00
|
|
|
$(nvidia) \
|
2006-11-03 20:54:52 +00:00
|
|
|
mail.c \
|
|
|
|
mixer.c \
|
|
|
|
$(mpd) \
|
2008-09-24 06:59:45 +00:00
|
|
|
$(moc) \
|
2006-11-03 20:54:52 +00:00
|
|
|
$(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-12-07 19:08:29 +00:00
|
|
|
$(smapi) \
|
|
|
|
temphelper.c \
|
2008-12-15 17:31:23 +00:00
|
|
|
temphelper.h \
|
2008-12-15 18:09:57 +00:00
|
|
|
text_object.h \
|
|
|
|
text_object.c
|
2005-08-21 23:09:36 +00:00
|
|
|
|
2008-07-03 23:28:51 +00:00
|
|
|
conky_LDFLAGS = \
|
|
|
|
$(PTHREAD_LIBS) \
|
2008-07-01 01:26:02 +00:00
|
|
|
-lm
|
2005-08-21 23:09:36 +00:00
|
|
|
|
2006-11-03 20:54:52 +00:00
|
|
|
EXTRA_DIST = \
|
2008-12-12 14:33:25 +00:00
|
|
|
$(config_output) \
|
2008-12-14 13:36:44 +00:00
|
|
|
$(config_cookie) \
|
2006-11-03 20:54:52 +00:00
|
|
|
audacious.c \
|
|
|
|
audacious.h \
|
|
|
|
bmpx.c \
|
2008-06-29 00:27:09 +00:00
|
|
|
common.h \
|
2006-11-03 20:54:52 +00:00
|
|
|
freebsd.c \
|
We continue our good old tradition of breaking FreeBSD
code right before the release. This time, somebody refactored
the code to use freebsd.h, but forgot to include
freebsd.h to EXTRA_DIST, so the resulting tarball was
missing it and non-buildable on FreeBSD, thank you, kind man,
for doing it, please keep up breaking FreeBSD port, it's a
great pleasure for me to fix it all the time, and don't
even think to drop me email or ask me on IRC, I like
surprises very much.
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1235 7f574dfc-610e-0410-a909-a81674777703
2008-08-07 06:07:50 +00:00
|
|
|
freebsd.h \
|
2008-06-29 00:27:09 +00:00
|
|
|
fs.h \
|
2006-11-03 20:54:52 +00:00
|
|
|
hddtemp.c \
|
2008-06-29 00:27:09 +00:00
|
|
|
hddtemp.h \
|
2006-11-03 20:54:52 +00:00
|
|
|
linux.c \
|
2008-06-29 00:27:09 +00:00
|
|
|
linux.h \
|
2006-11-03 20:54:52 +00:00
|
|
|
libmpdclient.c \
|
|
|
|
libmpdclient.h \
|
|
|
|
libtcp-portmon.c \
|
|
|
|
libtcp-portmon.h \
|
2008-06-29 00:27:09 +00:00
|
|
|
rss.h \
|
|
|
|
mail.h \
|
|
|
|
mixer.h \
|
2008-09-24 06:59:45 +00:00
|
|
|
moc.h \
|
|
|
|
moc.c \
|
2006-11-03 20:54:52 +00:00
|
|
|
mpd.c \
|
2008-06-29 00:27:09 +00:00
|
|
|
mpd.h \
|
2006-11-03 20:54:52 +00:00
|
|
|
netbsd.c \
|
2008-06-03 20:46:15 +00:00
|
|
|
nvidia.c \
|
|
|
|
nvidia.h \
|
2007-03-01 01:43:43 +00:00
|
|
|
openbsd.c \
|
2008-10-01 18:12:02 +00:00
|
|
|
openbsd.h \
|
2006-11-03 20:54:52 +00:00
|
|
|
solaris.c \
|
|
|
|
top.h \
|
2008-02-09 02:21:06 +00:00
|
|
|
diskio.h \
|
2008-06-29 00:27:09 +00:00
|
|
|
x11.c \
|
|
|
|
x11.h \
|
2008-03-18 00:23:16 +00:00
|
|
|
xmms2.c \
|
2008-07-30 02:03:42 +00:00
|
|
|
xmms2.h \
|
2008-03-18 00:23:16 +00:00
|
|
|
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:
|