diff options
author | Johan Dahlin <johan@gnome.org> | 2008-03-25 20:53:32 +0000 |
---|---|---|
committer | Johan Dahlin <johan@src.gnome.org> | 2008-03-25 20:53:32 +0000 |
commit | 66ab1202b6499e030c32c9d0d3432e0b09bee7db (patch) | |
tree | ad2a54a99ea71cf5c42afd03810a761f09096fb8 /tools/Makefile.am | |
parent | 07d433428ed39ef43d0204cb44a75cb31d38016a (diff) | |
download | gobject-introspection-66ab1202b6499e030c32c9d0d3432e0b09bee7db.tar.gz |
Move the scanner to a separate library.
2008-03-25 Johan Dahlin <johan@gnome.org>
* Makefile.am:
* configure.ac:
* giscanner/Makefile.am:
* giscanner/sourcescanner.c:
* giscanner/sourcescanner.h:
* tools/Makefile.am:
* tools/grealpath.h:
* tools/sourcescanner.c:
* tools/sourcescanner.h:
Move the scanner to a separate library.
svn path=/trunk/; revision=164
Diffstat (limited to 'tools/Makefile.am')
-rw-r--r-- | tools/Makefile.am | 36 |
1 files changed, 17 insertions, 19 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am index 46fff6bf..545050a9 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -1,16 +1,14 @@ ## Process this file with automake to produce Makefile.in -INCLUDES = -DGIREPO_DEFAULT_SEARCH_PATH="\"$(libdir)\"" -BUILT_SOURCES = scannerparser.c scannerparser.h scannerlexer.c scannerlexer.h \ - gmetadata-header.c +INCLUDES = \ + -DGIREPO_DEFAULT_SEARCH_PATH="\"$(libdir)\"" \ + -I$(top_srcdir)/girepository \ + -I$(top_srcdir)/giscanner +BUILT_SOURCES = gmetadata-header.c -CLEANFILES = scannerparser.c scannerparser.h scannerlexer.c scannerlexer.h gmetadata-header.c -AM_YFLAGS = -d -t +CLEANFILES = gmetadata-header.c EXTRA_DIST = quote-file.sh -# Why do I have to do this automake? -scannerlexer.h: scannerlexer.c - noinst_LTLIBRARIES = libgirepository-parser.la bin_PROGRAMS = g-idl-compiler g-idl-generate g-idl-scanner @@ -32,28 +30,28 @@ libgirepository_parser_la_SOURCES = \ gidlcompilertypenode.h \ gmetadata-header.c -libgirepository_parser_la_CFLAGS = $(GIREPO_CFLAGS) -I$(top_srcdir)/girepository +libgirepository_parser_la_CFLAGS = $(GIREPO_CFLAGS) g_idl_compiler_SOURCES = compiler.c -g_idl_compiler_CFLAGS = $(GIREPO_CFLAGS) -I$(top_srcdir)/girepository +g_idl_compiler_CFLAGS = $(GIREPO_CFLAGS) g_idl_compiler_LDADD = $(GIREPO_LIBS) $(top_builddir)/girepository/libgirepository.la libgirepository-parser.la g_idl_generate_SOURCES = generate.c -g_idl_generate_CFLAGS = $(GIREPO_CFLAGS) -I$(top_srcdir)/girepository +g_idl_generate_CFLAGS = $(GIREPO_CFLAGS) g_idl_generate_LDADD = $(GIREPO_LIBS) $(top_builddir)/girepository/libgirepository.la g_idl_scanner_SOURCES = \ - sourcescanner.c \ - sourcescanner.h \ scanner.c \ scanner.h \ - scannerlexer.l \ - scannerparser.y \ gidlwriter.c \ - gidlwriter.h \ - grealpath.h -g_idl_scanner_CFLAGS = $(GIREPO_CFLAGS) $(SCANNER_CFLAGS) -I$(top_srcdir)/girepository -g_idl_scanner_LDADD = $(GIREPO_LIBS) $(SCANNER_LIBS) $(top_builddir)/girepository/libgirepository.la libgirepository-parser.la + gidlwriter.h +g_idl_scanner_CFLAGS = $(GIREPO_CFLAGS) $(SCANNER_CFLAGS) +g_idl_scanner_LDADD = \ + $(GIREPO_LIBS) \ + $(SCANNER_LIBS) \ + $(top_builddir)/girepository/libgirepository.la \ + $(top_builddir)/giscanner/libgiscanner.la \ + libgirepository-parser.la GCOVSOURCES = \ $(libgirepository_la_SOURCES) \ |