diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | common.mk | 10 |
2 files changed, 15 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2008-11-13 Colin Walters <walters@verbum.org> + + * common.mk: Add a file to include with Makefile fragments + useful for scanner invocation. + 2008-11-13 Tommi Komulainen <tommi.komulainen@iki.fi> * tests/everything/gitesttypes.c (test_filename_return): Return diff --git a/common.mk b/common.mk new file mode 100644 index 00000000..7458e5fc --- /dev/null +++ b/common.mk @@ -0,0 +1,10 @@ +SCANNER_BIN = $(top_srcdir)/tools/g-ir-scanner +SCANNER_PYTHONPATH = $(top_builddir):$(top_srcdir):$$PYTHONPATH +SCANNER_ENV = env PYTHONPATH=$(SCANNER_PYTHONPATH) \ + UNINSTALLED_INTROSPECTION_SRCDIR=$(top_srcdir) \ + UNINSTALLED_INTROSPECTION_BUILDDIR=$(top_builddir) +SCANNER_ARGS = -v --add-include-path=$(top_builddir)/gir --add-include-path=. +SCANNER = $(SCANNER_ENV) $(SCANNER_BIN) $(SCANNER_ARGS) +SCANNER_LIBS = \ + $(top_srcdir)/giscanner/*.py \ + $(top_builddir)/giscanner/libgiscanner.la |