File: Makefile.am

package info (click to toggle)
conky-all 1.9.0-2
  • links: PTS, VCS
  • area: contrib
  • in suites: wheezy
  • size: 4,504 kB
  • sloc: ansic: 27,018; sh: 11,594; xml: 6,001; makefile: 259; python: 16
file content (63 lines) | stat: -rw-r--r-- 1,851 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# -*- 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-2010 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/>.
#


if BUILD_LUA

if BUILD_LUA_CAIRO

libcairo_built_sources = libcairo.c

libcairo = libcairo.la

libcairo.c: cairo.pkg
	${toluapp} -n cairo -o $@ $(srcdir)/cairo.pkg

libcairo_la_CFLAGS = $(cairo_CFLAGS) $(cairo_xlib_CFLAGS) $(tolua_CFLAGS)
libcairo_la_LIBADD = $(cairo_LIBS) $(cairo_xlib_LIBS) $(tolua_LIBS)
libcairo_la_SOURCES = cairo.pkg libcairo-helper.h libcairo.c

endif # BUILD_LUA_CAIRO

if BUILD_LUA_IMLIB2

libimlib2_built_sources = libimlib2.c

libimlib2 = libimlib2.la

libimlib2.c: imlib2.pkg
	${toluapp} -n imlib2 -o $@ $(srcdir)/imlib2.pkg

libimlib2_la_CFLAGS = $(Imlib2_CFLAGS) $(tolua_CFLAGS)
libimlib2_la_LIBADD = $(Imlib2_LIBS) $(tolua_LIBS)
libimlib2_la_SOURCES = imlib2.pkg libimlib2.c

endif # BUILD_LUA_IMLIB2

pkglib_LTLIBRARIES = $(libcairo) $(libimlib2)

endif # BUILD_LUA

EXTRA_DIST = libcairo-helper.h
BUILT_SOURCES = $(cairo_built_sources) $(imlib2_built_sources)

# vi:set ts=4 sw=4 noet ai nocindent syntax=automake: