Debian Codegraph @

cmd/mingle/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_srcdir)/lib/common \
6 -I$(top_srcdir)/lib/cgraph \
7 -I$(top_srcdir)/lib/cdt
8
9 if WITH_ANN
10 bin_PROGRAMS = mingle
11 man_MANS = mingle.1
12 if ENABLE_MAN_PDFS
13 pdf_DATA = mingle.1.pdf
14 endif
15 endif
16
17 mingle_SOURCES = minglemain.cpp
18 mingle_CPPFLAGS = $(AM_CPPFLAGS)
19 mingle_LDADD = \
20 $(top_builddir)/lib/sfdpgen/libsfdpgen_C.la \
21 $(top_builddir)/lib/mingle/libmingle_C.la \
22 $(top_builddir)/lib/neatogen/libneatogen_C.la \
23 $(top_builddir)/lib/sparse/libsparse_C.la \
24 $(top_builddir)/lib/common/libcommon_C.la \
25 $(top_builddir)/lib/cgraph/libcgraph.la \
26 $(top_builddir)/lib/cdt/libcdt.la \
27 $(top_builddir)/lib/rbtree/librbtree_C.la \
28 $(top_builddir)/lib/util/libutil_C.la \
29 $(ANN_LIBS) -lm
30
31 .1.1.pdf:
32 rm -f $@; pdffile=$@; psfile=$${pdffile%pdf}ps; \
33 $(GROFF) -Tps -man $< > $$psfile || { rm -f $$psfile; exit 1; }; \
34 $(PS2PDF) $$psfile && rm -f $$psfile || { rm -f $$psfile; exit 1; }
35 SUFFIXES = .1 .1.pdf
36
37 EXTRA_DIST = mingle.1
38
39 DISTCLEANFILES = $(pdf_DATA)