| 1 |
## Process this file with automake to produce Makefile.in |
| 2 |
|
| 3 |
PATHPLAN_VERSION = "4:4:0" |
| 4 |
|
| 5 |
AM_CPPFLAGS = -I$(top_srcdir)/lib |
| 6 |
|
| 7 |
if WITH_WIN32 |
| 8 |
AM_CFLAGS = -DPATHPLAN_EXPORTS |
| 9 |
endif |
| 10 |
|
| 11 |
pkginclude_HEADERS = pathgeom.h pathplan.h |
| 12 |
noinst_HEADERS = pathutil.h solvers.h tri.h vis.h vispath.h |
| 13 |
|
| 14 |
noinst_LTLIBRARIES = libpathplan_C.la |
| 15 |
lib_LTLIBRARIES = libpathplan.la |
| 16 |
pkgconfig_DATA = libpathplan.pc |
| 17 |
dist_man_MANS = pathplan.3 |
| 18 |
if ENABLE_MAN_PDFS |
| 19 |
pdf_DATA = pathplan.3.pdf |
| 20 |
endif |
| 21 |
|
| 22 |
libpathplan_C_la_SOURCES = cvt.c inpoly.c route.c shortest.c \ |
| 23 |
shortestpth.c solvers.c triang.c util.c visibility.c |
| 24 |
|
| 25 |
libpathplan_la_LDFLAGS = -version-info $(PATHPLAN_VERSION) -no-undefined |
| 26 |
libpathplan_la_SOURCES = $(libpathplan_C_la_SOURCES) |
| 27 |
libpathplan_la_LIBADD = $(top_builddir)/lib/util/libutil_C.la $(MATH_LIBS) |
| 28 |
|
| 29 |
.3.3.pdf: |
| 30 |
rm -f $@; pdffile=$@; psfile=$${pdffile%pdf}ps; \ |
| 31 |
$(GROFF) -Tps -man $< > $$psfile || { rm -f $$psfile; exit 1; }; \ |
| 32 |
$(PS2PDF) $$psfile && rm -f $$psfile || { rm -f $$psfile; exit 1; } |
| 33 |
SUFFIXES = .3 .3.pdf |
| 34 |
|
| 35 |
DISTCLEANFILES = $(pdf_DATA) |