| 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 |
bin_PROGRAMS = edgepaint |
| 10 |
|
| 11 |
dist_man_MANS = edgepaint.1 |
| 12 |
if ENABLE_MAN_PDFS |
| 13 |
pdf_DATA = edgepaint.1.pdf |
| 14 |
endif |
| 15 |
|
| 16 |
edgepaint_SOURCES = edgepaintmain.c |
| 17 |
edgepaint_CPPFLAGS = $(AM_CPPFLAGS) |
| 18 |
edgepaint_LDADD = \ |
| 19 |
$(top_builddir)/lib/sfdpgen/libsfdpgen_C.la \ |
| 20 |
$(top_builddir)/lib/edgepaint/libedgepaint_C.la \ |
| 21 |
$(top_builddir)/lib/neatogen/libneatogen_C.la \ |
| 22 |
$(top_builddir)/lib/sparse/libsparse_C.la \ |
| 23 |
$(top_builddir)/lib/gvc/libgvc.la \ |
| 24 |
$(top_builddir)/lib/cgraph/libcgraph.la \ |
| 25 |
$(top_builddir)/lib/cdt/libcdt.la \ |
| 26 |
$(top_builddir)/lib/rbtree/librbtree_C.la \ |
| 27 |
$(top_builddir)/lib/util/libutil_C.la \ |
| 28 |
-lm |
| 29 |
|
| 30 |
# add a non-existent C++ source to force the C++ compiler to be used for |
| 31 |
# linking, so the C++ standard library is included for our C++ dependencies |
| 32 |
nodist_EXTRA_edgepaint_SOURCES = fake.cxx |
| 33 |
|
| 34 |
.1.1.pdf: |
| 35 |
rm -f $@; pdffile=$@; psfile=$${pdffile%pdf}ps; \ |
| 36 |
$(GROFF) -Tps -man $< > $$psfile || { rm -f $$psfile; exit 1; }; \ |
| 37 |
$(PS2PDF) $$psfile && rm -f $$psfile || { rm -f $$psfile; exit 1; } |
| 38 |
SUFFIXES = .1 .1.pdf |
| 39 |
|
| 40 |
DISTCLEANFILES = $(pdf_DATA) |