Revision 20748,
1.4 KB
checked in by ghudson, 20 years ago
(diff) |
This commit was generated by cvs2svn to compensate for changes in r20747,
which included commits to RCS files with non-trunk default branches.
|
Line | |
---|
1 | # -*- mode: makefile -*- |
---|
2 | # |
---|
3 | # libIDL Makefile.am |
---|
4 | # |
---|
5 | SUBDIRS = include |
---|
6 | INCLUDES = \ |
---|
7 | -DYYDEBUG=1 \ |
---|
8 | -DYYERROR_VERBOSE=1 \ |
---|
9 | $(LIBIDL_CFLAGS) \ |
---|
10 | -I$(top_builddir)/include \ |
---|
11 | -DG_LOG_DOMAIN=\"libIDL\" \ |
---|
12 | $(WARN_CFLAGS) |
---|
13 | |
---|
14 | YFLAGS = -d -v 2>/dev/null |
---|
15 | |
---|
16 | lexer.c: $(srcdir)/lexer.l parser.h |
---|
17 | @rm -f $@ |
---|
18 | $(LEX) $(LFLAGS) -t $(srcdir)/lexer.l | sed -e 's/yy/__IDL_/g' >$@ |
---|
19 | |
---|
20 | stamp-parser: $(srcdir)/parser.y |
---|
21 | $(YACC) $(YFLAGS) $(srcdir)/parser.y |
---|
22 | touch $@ |
---|
23 | |
---|
24 | parser.c: stamp-parser |
---|
25 | test -f y.tab.c && mv -f y.tab.c parser.c || touch $@ |
---|
26 | |
---|
27 | parser.h: stamp-parser |
---|
28 | test -f y.tab.h && mv -f y.tab.h parser.h || touch $@ |
---|
29 | |
---|
30 | MOSTLYCLEANFILES = parser.output y.output |
---|
31 | |
---|
32 | EXTRA_DIST = BUGS parser.y lexer.l \ |
---|
33 | Makefile.msc README.win32 \ |
---|
34 | libIDL.def libIDL.spec \ |
---|
35 | HACKING MAINTAINERS |
---|
36 | |
---|
37 | info_TEXINFOS = libIDL2.texi |
---|
38 | lib_LTLIBRARIES = libIDL-2.la |
---|
39 | noinst_PROGRAMS = tstidl |
---|
40 | |
---|
41 | bin_SCRIPTS = libIDL-config-2 |
---|
42 | |
---|
43 | BUILT_SOURCES = lexer.c parser.c parser.h stamp-parser |
---|
44 | |
---|
45 | libIDL_2_la_SOURCES = parser.c parser.h lexer.c \ |
---|
46 | ns.c util.c util.h rename.h |
---|
47 | libIDL_2_la_LDFLAGS = -version-info $(LT_VERSION) $(LIBIDL_LIBS) -no-undefined |
---|
48 | |
---|
49 | tstidl_SOURCES = tstidl.c |
---|
50 | tstidl_LDADD = libIDL-2.la $(LIBIDL_LIBS) |
---|
51 | |
---|
52 | pkgconfigdir = $(libdir)/pkgconfig |
---|
53 | pkgconfig_DATA= libIDL-2.0.pc |
---|
54 | |
---|
55 | CLEANFILES = $(BUILT_SOURCES) |
---|
56 | |
---|
57 | dist-hook: |
---|
58 | cd $(distdir) ; rm -f $(CLEANFILES) |
---|
Note: See
TracBrowser
for help on using the repository browser.