File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- SUBDIRS = utils
1+ SUBDIRS = src utils
22if WITH_GUILE
3- SUBDIRS += src examples
3+ SUBDIRS += examples
44endif
55EXTRA_DIST = COPYRIGHT doc base README.md NEWS.md
66ACLOCAL_AMFLAGS = -I m4
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ LIBCTL_DIR = @LIBCTL_DIR@
4444GEN_CTL_IO = @GEN_CTL_IO@
4545
4646# location of libctl headers and library for this project
47- LIBCTL_CPPFLAGS = -I$(top_srcdir ) /utils -I$(top_builddir ) /src
47+ LIBCTL_CPPFLAGS = -I$(top_srcdir ) /utils -I$(top_srcdir ) /src -I $( top_builddir ) /src
4848LIBCTL = $(top_builddir ) /src/libctl.la $(LIBGUILE ) # change to -lctl -lguile for your project
4949
5050# #############################################################################
Original file line number Diff line number Diff line change 11
22EXTRA_DIST = ctl.h.in
33
4+ if WITH_GUILE
45lib_LTLIBRARIES = libctl.la
6+ endif
7+
58include_HEADERS = ctl-math.h
69nodist_include_HEADERS = ctl.h
710
Original file line number Diff line number Diff line change @@ -8,10 +8,11 @@ EXTRA_DIST = gen-ctl-io.in README geom.scm geom-ctl-io-defaults.c nlopt.c
88
99libctlgeom_la_SOURCES = geom.c $(top_srcdir ) /src/ctl-math.c $(top_srcdir ) /src/integrator.c geom-ctl-io.c ctlgeom-types.h
1010libctlgeom_la_LDFLAGS = -version-info @SHARED_VERSION_INFO@
11- libctlgeom_la_CPPFLAGS = -DLIBCTLGEOM
11+ libctlgeom_la_CPPFLAGS = -DLIBCTLGEOM -I $( top_srcdir ) /src
1212
1313geomtst_SOURCES = geomtst.c
1414geomtst_LDADD = libctlgeom.la
15+ geomtst_CPPFLAGS = -I$(top_srcdir ) /src
1516
1617dist_man_MANS = gen-ctl-io.1
1718
@@ -40,4 +41,4 @@ geom-ctl-io.c: ctl-io.c
4041endif
4142
4243clean-local :
43- rm -f ctl-io.[ch] nlopt-constants.scm
44+ rm -f ctl-io.[ch] nlopt-constants.scm ctlgeom-types.h geom-ctl-io.c
You can’t perform that action at this time.
0 commit comments