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