Debian Codegraph @

lib/expr/Makefile.am

raw
1 ## Process this file with automake to produce Makefile.in
2
3 AM_CPPFLAGS = \
4 -I$(top_srcdir)/lib \
5 -I$(top_builddir)/lib \
6 -I$(top_srcdir)/lib/cdt
7
8 noinst_HEADERS = exgram.h exlib.h exop.h exparse.h expr.h
9 noinst_LTLIBRARIES = libexpr_C.la
10
11 dist_man_MANS = expr.3
12 if ENABLE_MAN_PDFS
13 pdf_DATA = expr.3.pdf
14 endif
15
16 libexpr_C_la_SOURCES = excc.c excontext.c exdata.c exerror.c \
17 exeval.c exexpr.c exopen.c extoken.c \
18 extype.c exzero.c exparse.y exnospace.c
19 libexpr_C_la_LIBADD = \
20 $(top_builddir)/lib/ast/libast_C.la \
21 $(top_builddir)/lib/sfio/libsfio_C.la \
22 $(top_builddir)/lib/sfio/Sfio_f/libsfiof_C.la \
23 $(top_builddir)/lib/cdt/libcdt.la \
24 $(top_builddir)/lib/util/libutil_C.la
25
26 $(libexpr_C_la_OBJECTS) $(libexpr_la_OBJECTS): \
27 exparse.h exparse.c exgram.h exop.h
28
29 exparse.c exparse.h: $(top_srcdir)/lib/expr/exparse.y
30 $(YACC) -Wno-yacc -dtv $(top_srcdir)/lib/expr/exparse.y -o exparse.c
31
32 .3.3.pdf:
33 rm -f $@; pdffile=$@; psfile=$${pdffile%pdf}ps; \
34 $(GROFF) -Tps -man $< > $$psfile || { rm -f $$psfile; exit 1; }; \
35 $(PS2PDF) $$psfile && rm -f $$psfile || { rm -f $$psfile; exit 1; }
36 SUFFIXES = .3 .3.pdf
37
38 EXTRA_DIST = exparse.c exparse.h
39
40 DISTCLEANFILES = exparse.c exparse.h $(pdf_DATA)