1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-20 03:51:18 +00:00
conky/src/Makefile.am
Roman Bogorodskiy 6a5691ab70 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

167 lines
3.0 KiB
Makefile

# 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\"
bin_PROGRAMS = conky
if BUILD_AUDACIOUS
audacious = audacious.c audacious.h
endif
if BUILD_BMPX
bmpx = bmpx.c
endif
if BUILD_MPD
mpd = mpd.c libmpdclient.c
endif
if BUILD_XMMS2
xmms2 = xmms2.c
endif
if BUILD_LINUX
linux = linux.c top.c diskio.c users.c
PTHREAD_LIBS = -lpthread
endif
#if BUILD_SOLARIS
#solaris = solaris.c
#endif
if BUILD_FREEBSD
freebsd = freebsd.c
PTHREAD_LIBS = -pthread
endif
#if BUILD_NETBSD
#netbsd = netbsd.c
#endif
if BUILD_OPENBSD
openbsd = openbsd.c
PTHREAD_LIBS = -pthread
endif
if BUILD_PORT_MONITORS
port_monitors = libtcp-portmon.h libtcp-portmon.c
endif
if BUILD_X11
x11 = x11.c
endif
if BUILD_HDDTEMP
hddtemp = hddtemp.c
endif
if BUILD_EVE
eve = eve.c eve.h
endif
if BUILD_RSS
rss = rss.c prss.c prss.h
endif
if BUILD_SMAPI
smapi = smapi.c smapi.h
endif
if BUILD_NVIDIA
nvidia = nvidia.c nvidia.h
endif
conky_SOURCES = \
$(audacious) \
$(bmpx) \
common.c \
conky.c \
conky.h \
$(freebsd) \
fs.c \
$(hddtemp) \
$(linux) \
$(nvidia) \
mail.c \
mixer.c \
$(mpd) \
$(netbsd) \
$(openbsd) \
$(port_monitors) \
$(eve) \
$(rss) \
$(solaris) \
timed_thread.c \
timed_thread.h \
mboxscan.c \
mboxscan.h \
$(x11) \
$(xmms2) \
$(smapi)
conky_LDFLAGS = \
$(PTHREAD_LIBS) \
-lm
EXTRA_DIST = \
audacious.c \
audacious.h \
bmpx.c \
common.h \
freebsd.c \
freebsd.h \
fs.h \
hddtemp.c \
hddtemp.h \
linux.c \
linux.h \
libmpdclient.c \
libmpdclient.h \
libtcp-portmon.c \
libtcp-portmon.h \
rss.h \
mail.h \
mixer.h \
mpd.c \
mpd.h \
netbsd.c \
nvidia.c \
nvidia.h \
openbsd.c \
solaris.c \
top.h \
diskio.h \
x11.c \
x11.h \
xmms2.c \
xmms2.h \
smapi.c \
users.c
# vi:set ts=8 sw=8 noet ai nocindent syntax=automake: