add emacs indentation variables to source files in line with current vim settings
[monky] / lua / Makefile.am
1 # -*- mode: Makefile; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*-
2 #
3 # Conky, a system monitor, based on torsmo
4 #
5 # Please see COPYING for details
6 #
7 # Copyright (c) 2005-2009 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
8 # All rights reserved.
9 #
10 # This program is free software: you can redistribute it and/or modify
11 # it under the terms of the GNU General Public License as published by
12 # the Free Software Foundation, either version 3 of the License, or
13 # (at your option) any later version.
14 #
15 # This program is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 # GNU General Public License for more details.
19 # You should have received a copy of the GNU General Public License
20 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
21 #
22
23 libimlib2_la_SOURCES = imlib2.c
24 libcairo_la_SOURCES = cairo.c
25
26 EXTRA_DIST = \
27                          cairo.pkg \
28                          imlib2.pkg
29
30 clean-am: clean-generic mostlyclean-am
31         rm -f $(libimlib2_la_SOURCES)
32         rm -f $(libcairo_la_SOURCES)
33         rm -f *.la *.so
34
35 if BUILD_LUA 
36
37 if BUILD_LUA_CAIRO
38 libcairo = libcairo.la
39
40 libcairo_la_CFLAGS = $(cairo_CFLAGS) $(cairo_xlib_CFLAGS) -I$(prefix)/include/lua5.1
41 libcairo_la_LIBADD = $(cairo_LIBS) $(cairo_xlib_LIBS) $(tolua_LIBS)
42
43 cairo.c: cairo.pkg
44         ${toluapp} -n cairo -o cairo.c $(srcdir)/cairo.pkg
45
46 endif # BUILD_LUA_CAIRO
47
48 if BUILD_LUA_IMLIB2
49
50 libimlib2 = libimlib2.la
51
52 libimlib2_la_CFLAGS = $(Imlib2_CFLAGS) -I$(prefix)/include/lua5.1
53 libimlib2_la_LIBADD = $(Imlib2_LIBS) $(tolua_LIBS)
54
55 imlib2.c: imlib2.pkg
56         ${toluapp} -n imlib2 -o imlib2.c $(srcdir)/imlib2.pkg
57
58 endif # BUILD_LUA_IMLIB2
59 pkglib_LTLIBRARIES = $(libcairo) $(libimlib2)
60
61 endif # BUILD_LUA
62
63 # vi:set ts=4 sw=4 noet ai nocindent syntax=automake: