summaryrefslogtreecommitdiff
path: root/gee
diff options
context:
space:
mode:
authorJuerg Billeter <j@bitron.ch>2007-11-27 20:51:25 +0000
committerJürg Billeter <juergbi@src.gnome.org>2007-11-27 20:51:25 +0000
commit8fafcf37d381ceec302e423110304037024e1cce (patch)
treef584b86c8f6762a3ffdb5a62fa8d6f6b6d28add2 /gee
parent6917670a291a2a23013a93a7d9485abc2a1e5f20 (diff)
downloadvala-8fafcf37d381ceec302e423110304037024e1cce.tar.gz
don't use filter function in makefiles as it's a GNU make extension
2007-11-27 Juerg Billeter <j@bitron.ch> * ccode/Makefile.am, compiler/Makefile.am, gee/Makefile.am, gen-project/Makefile.am, gobject/Makefile.am, tests/Makefile.am, vala/Makefile.am, vapigen/Makefile.am: don't use filter function in makefiles as it's a GNU make extension svn path=/trunk/; revision=729
Diffstat (limited to 'gee')
-rw-r--r--gee/Makefile.am51
1 files changed, 9 insertions, 42 deletions
diff --git a/gee/Makefile.am b/gee/Makefile.am
index 0681f0829..89b4aeea6 100644
--- a/gee/Makefile.am
+++ b/gee/Makefile.am
@@ -11,68 +11,35 @@ noinst_LTLIBRARIES = \
libgee.la
$(NULL)
-libgee_la_SOURCES = \
- gee.vala.stamp \
- arraylist.c \
- arraylist.h \
+libgee_la_VALASOURCES = \
arraylist.vala \
- collection.c \
- collection.h \
collection.vala \
- hashmap.c \
- hashmap.h \
hashmap.vala \
- hashset.c \
- hashset.h \
hashset.vala \
- iterable.c \
- iterable.h \
iterable.vala \
- iterator.c \
- iterator.h \
iterator.vala \
- list.c \
- list.h \
list.vala \
- map.c \
- map.h \
map.vala \
- readonlycollection.c \
- readonlycollection.h \
readonlycollection.vala \
- readonlylist.c \
- readonlylist.h \
readonlylist.vala \
- readonlymap.c \
- readonlymap.h \
readonlymap.vala \
- readonlyset.c \
- readonlyset.h \
readonlyset.vala \
- set.c \
- set.h \
set.vala \
$(NULL)
+libgee_la_SOURCES = \
+ gee.vala.stamp \
+ $(libgee_la_VALASOURCES:.vala=.c) \
+ $(libgee_la_VALASOURCES:.vala=.h) \
+ $(NULL)
+
geeincludedir = $(includedir)/vala-1.0/gee
geeinclude_HEADERS = \
- arraylist.h \
- collection.h \
- hashmap.h \
- hashset.h \
- iterable.h \
- iterator.h \
- list.h \
- map.h \
- readonlycollection.h \
- readonlylist.h \
- readonlymap.h \
- readonlyset.h \
- set.h \
+ $(libgee_la_VALASOURCES:.vala=.h) \
$(NULL)
-gee.vapi gee.vala.stamp: $(filter %.vala,$(libgee_la_SOURCES))
+gee.vapi gee.vala.stamp: $(libgee_la_VALASOURCES)
$(VALAC) --vapidir $(srcdir)/../vapi --basedir $(top_srcdir) --library gee $^
touch $@