summaryrefslogtreecommitdiff
path: root/gee
diff options
context:
space:
mode:
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 $@