diff options
author | Colin Walters <walters@src.gnome.org> | 2008-11-13 19:57:07 +0000 |
---|---|---|
committer | Colin Walters <walters@src.gnome.org> | 2008-11-13 19:57:07 +0000 |
commit | 20fcdbb2665d46180f445881b264eb3ed5ba64e9 (patch) | |
tree | 0f88ff6b9d6cb7737df7820fd8a556c7786b1dff /common.mk | |
parent | 6d4f6376866fb10939a541797d4819443e1e10ff (diff) | |
download | gobject-introspection-20fcdbb2665d46180f445881b264eb3ed5ba64e9.tar.gz |
Add a file to include with Makefile fragments useful for scanner invocation
svn path=/trunk/; revision=910
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 10 |
1 files changed, 10 insertions, 0 deletions
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 |