Debian Codegraph @

cmd/gvpr/Makefile.am

raw
1 ## Process this file with automake to produce Makefile.in
2
3 SUBDIRS = lib
4
5 AM_CPPFLAGS = \
6 -I$(top_srcdir)/lib \
7 -I$(top_srcdir)/lib/gvpr \
8 -I$(top_srcdir)/lib/cgraph \
9 -I$(top_srcdir)/lib/cdt
10
11 if ENABLE_STATIC
12 bin_PROGRAMS = gvpr gvpr_static
13 else
14 bin_PROGRAMS = gvpr
15 endif
16
17 dist_man_MANS = gvpr.1
18 if ENABLE_MAN_PDFS
19 pdf_DATA = gvpr.1.pdf
20 endif
21
22 gvpr_SOURCES = gvprmain.c
23 gvpr_CPPFLAGS = $(AM_CPPFLAGS)
24 gvpr_LDADD = $(top_builddir)/lib/gvpr/libgvpr.la \
25 $(top_builddir)/lib/cgraph/libcgraph.la \
26 $(top_builddir)/lib/cdt/libcdt.la
27
28 .1.1.pdf:
29 rm -f $@; pdffile=$@; psfile=$${pdffile%pdf}ps; \
30 $(GROFF) -Tps -man $< > $$psfile || { rm -f $$psfile; exit 1; }; \
31 $(PS2PDF) $$psfile && rm -f $$psfile || { rm -f $$psfile; exit 1; }
32 SUFFIXES = .1 .1.pdf
33
34 gvpr_static_SOURCES = gvprmain.c
35 gvpr_static_CPPFLAGS = $(AM_CPPFLAGS)
36 gvpr_static_LDADD = \
37 $(top_builddir)/lib/gvpr/libgvpr_C.la \
38 $(top_builddir)/lib/expr/libexpr_C.la \
39 $(top_builddir)/lib/ast/libast_C.la \
40 $(top_builddir)/lib/sfio/libsfio_C.la \
41 $(top_builddir)/lib/sfio/Sfio_f/libsfiof_C.la \
42 $(top_builddir)/lib/cgraph/libcgraph_C.la \
43 $(top_builddir)/lib/cdt/libcdt_C.la \
44 $(top_builddir)/lib/util/libutil_C.la \
45 $(MATH_LIBS)
46
47 EXTRA_DIST = lib
48
49 DISTCLEANFILES = $(pdf_DATA)