| 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_SFDP |
| 10 |
bin_PROGRAMS = gvmap cluster |
| 11 |
dist_bin_SCRIPTS = gvmap.sh |
| 12 |
man_MANS = gvmap.1 cluster.1 gvmap.sh.1 |
| 13 |
if ENABLE_MAN_PDFS |
| 14 |
pdf_DATA = gvmap.1.pdf cluster.1.pdf gvmap.sh.1.pdf |
| 15 |
endif |
| 16 |
endif |
| 17 |
|
| 18 |
noinst_HEADERS = make_map.h power.h country_graph_coloring.h |
| 19 |
|
| 20 |
gvmap_SOURCES = gvmap.c make_map.c power.c country_graph_coloring.c |
| 21 |
|
| 22 |
cluster_SOURCES = cluster.c make_map.c power.c country_graph_coloring.c |
| 23 |
|
| 24 |
gvmap_LDADD = \ |
| 25 |
$(top_builddir)/lib/sfdpgen/libsfdpgen_C.la \ |
| 26 |
$(top_builddir)/lib/edgepaint/libedgepaint_C.la \ |
| 27 |
$(top_builddir)/lib/neatogen/libneatogen_C.la \ |
| 28 |
$(top_builddir)/lib/sparse/libsparse_C.la \ |
| 29 |
$(top_builddir)/lib/gvc/libgvc.la \ |
| 30 |
$(top_builddir)/lib/cgraph/libcgraph.la \ |
| 31 |
$(top_builddir)/lib/rbtree/librbtree_C.la \ |
| 32 |
$(top_builddir)/lib/util/libutil_C.la \ |
| 33 |
$(GTS_LIBS) -lm |
| 34 |
|
| 35 |
cluster_LDADD = \ |
| 36 |
$(top_builddir)/lib/sfdpgen/libsfdpgen_C.la \ |
| 37 |
$(top_builddir)/lib/edgepaint/libedgepaint_C.la \ |
| 38 |
$(top_builddir)/lib/neatogen/libneatogen_C.la \ |
| 39 |
$(top_builddir)/lib/sparse/libsparse_C.la \ |
| 40 |
$(top_builddir)/lib/gvc/libgvc.la \ |
| 41 |
$(top_builddir)/lib/cgraph/libcgraph.la \ |
| 42 |
$(top_builddir)/lib/rbtree/librbtree_C.la \ |
| 43 |
$(top_builddir)/lib/util/libutil_C.la \ |
| 44 |
$(GTS_LIBS) -lm |
| 45 |
|
| 46 |
gvmap.sh : |
| 47 |
|
| 48 |
.1.1.pdf: |
| 49 |
rm -f $@; pdffile=$@; psfile=$${pdffile%pdf}ps; \ |
| 50 |
$(GROFF) -Tps -man $< > $$psfile || { rm -f $$psfile; exit 1; }; \ |
| 51 |
$(PS2PDF) $$psfile && rm -f $$psfile || { rm -f $$psfile; exit 1; } |
| 52 |
SUFFIXES = .1 .1.pdf |
| 53 |
|
| 54 |
EXTRA_DIST = gvmap.1 cluster.1 gvmap.sh.1 |
| 55 |
|
| 56 |
DISTCLEANFILES = $(pdf_DATA) |