[gobject-introspection/wip/transformer] Fix to actually run codegen
- From: Tomeu Vizoso <tomeuv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection/wip/transformer] Fix to actually run codegen
- Date: Thu, 29 Jul 2010 15:16:24 +0000 (UTC)
commit a54aaf71fc812ed7a26d29d268d80367d2ae3700
Author: Colin Walters <walters verbum org>
Date: Thu Jul 29 06:48:11 2010 -0400
Fix to actually run codegen
tests/Makefile.am | 19 ++++++++++++++-----
1 files changed, 14 insertions(+), 5 deletions(-)
---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index b94f5b7..eba3fdf 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,18 +1,27 @@
SUBDIRS = . scanner repository offsets
BUILT_SOURCES=
+CLEANFILES=
-noinst_libeverything_1_0_la_SOURCES = everything.c everything.h
+INCLUDES = $(GOBJECT_CFLAGS)
+LIBADD = $(GOBJECT_LIBS)
+
+noinst_LTLIBRARIES = libeverything-1.0.la
+
+libeverything_1_0_la_SOURCES = everything.c everything-stub.c
BUILT_SOURCES += everything.c everything.h
-everything-sources.stamp:
- $(top_builddir)/tools/g-ir-scanner --test-codegen=Everything,everything.h,everything.c
+CLEANFILES += $(BUILT_SOURCES) everything-stamp.h
+everything-stamp.h: Makefile
+ $(AM_V_GEN) $(top_builddir)/tools/g-ir-scanner --test-codegen=Everything,everything.h,everything.c
touch $@
-everything.c: everything-sources.stamp
+everything.c: everything-stamp.h
+ true
-everything.h: everything-sources.stamp
+everything.h: everything-stamp.h
+ true
Everything-1.0.gir: libeverything-1.0.la
$(AM_V_GEN) $(top_builddir)/tools/g-ir-scanner --namespace=Everything --version=1.0 --library=libeverything-1.0.la everything.h everything.c --output=$@
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]