1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-25 12:10:03 +00:00
conky/lua/Makefile.am

57 lines
1.6 KiB
Makefile
Raw Normal View History

# -*- mode: Makefile; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*-
#
# Conky, a system monitor, based on torsmo
#
# Please see COPYING for details
#
# Copyright (c) 2005-2009 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/>.
#
libcairo_la_SOURCES = libcairo.c
libimlib2_la_SOURCES = libimlib2.c
2009-07-30 19:55:25 +00:00
if BUILD_LUA
if BUILD_LUA_CAIRO
2009-07-30 19:55:25 +00:00
libcairo = libcairo.la
2009-07-31 04:21:09 +00:00
libcairo_la_CFLAGS = $(cairo_CFLAGS) $(cairo_xlib_CFLAGS) $(tolua_CFLAGS)
libcairo_la_LIBADD = $(cairo_LIBS) $(cairo_xlib_LIBS) $(tolua_LIBS)
2009-07-30 19:55:25 +00:00
libcairo.c: cairo.pkg
${toluapp} -n cairo -o $@ $(srcdir)/cairo.pkg
endif # BUILD_LUA_CAIRO
if BUILD_LUA_IMLIB2
libimlib2 = libimlib2.la
libimlib2_la_CFLAGS = $(Imlib2_CFLAGS) $(tolua_CFLAGS)
libimlib2_la_LIBADD = $(Imlib2_LIBS) $(tolua_LIBS)
2009-07-30 19:55:25 +00:00
libimlib2.c: imlib2.pkg
${toluapp} -n imlib2 -o $@ $(srcdir)/imlib2.pkg
endif # BUILD_LUA_IMLIB2
2009-07-30 19:55:25 +00:00
pkglib_LTLIBRARIES = $(libcairo) $(libimlib2)
endif # BUILD_LUA
# vi:set ts=4 sw=4 noet ai nocindent syntax=automake: