Makefile.am 951 B

123456789101112131415161718192021222324252627282930313233343536
  1. ## Process this file with automake to produce Makefile.in
  2. SUBDIRS = demo
  3. pkgtcldir = $(pkglibdir)/tcl
  4. noinst_HEADERS = makecw.h Plegal_arrangement.h simple.h
  5. if WITH_TCL
  6. pkgtcl_LTLIBRARIES = libtclplan.la
  7. endif
  8. libtclplan_la_SOURCES = find_ints.c intersect.c makecw.c tclpathplan.c wrapper.c
  9. libtclplan_la_CPPFLAGS = \
  10. -I$(top_srcdir)/lib \
  11. -I$(top_srcdir)/lib/pathplan $(TCL_INCLUDES)
  12. libtclplan_la_CFLAGS = $(TCL_CFLAGS)
  13. libtclplan_la_LDFLAGS = -no-undefined -module -avoid-version
  14. libtclplan_la_LIBADD = \
  15. $(top_builddir)/tclpkg/tclstubs/libtclstubs_C.la \
  16. $(top_builddir)/lib/pathplan/libpathplan.la $(MATH_LIBS) \
  17. -lc $(TCL_STUB_LIB_SPEC)
  18. if WITH_TCL
  19. BUILT_SOURCES = pkgIndex.tcl
  20. all-local: pkgIndex.tcl
  21. pkgIndex.tcl:
  22. python3 $(top_srcdir)/tclpkg/mkpkgindex.py \
  23. --file libtclplan$(SHARED_LIBRARY_SUFFIX) \
  24. --name Tclpathplan \
  25. --version $(VERSION)
  26. endif
  27. DISTCLEANFILES = pkgIndex.tcl
  28. EXTRA_DIST = $(libtclplan_la_SOURCES)