-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
41 lines (33 loc) · 1.35 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
OPTIONS_AUTOMAKE=gnu
lib_LTLIBRARIES = libnlopt@[email protected]
ACLOCAL_AMFLAGS=-I m4
if WITH_CXX
CXX_DIRS = stogo
CXX_LIBS = stogo/libstogo.la
endif
SUBDIRS = util direct cdirect $(CXX_DIRS) praxis luksan crs mlsl mma cobyla newuoa lbfgs neldermead auglag bobyqa isres slsqp api . octave test swig
EXTRA_DIST = autogen.sh nlopt.pc.in m4
if WITH_NOCEDAL
NOCEDAL_LBFGS=lbfgs/liblbfgs.la
endif
libnlopt@NLOPT_SUFFIX@_la_SOURCES =
libnlopt@NLOPT_SUFFIX@_la_LIBADD = direct/libdirect.la \
cdirect/libcdirect.la $(CXX_LIBS) praxis/libpraxis.la $(NOCEDAL_LBFGS) \
luksan/libluksan.la crs/libcrs.la mlsl/libmlsl.la mma/libmma.la \
cobyla/libcobyla.la newuoa/libnewuoa.la neldermead/libneldermead.la \
auglag/libauglag.la bobyqa/libbobyqa.la isres/libisres.la \
slsqp/libslsqp.la api/libapi.la util/libutil.la
if WITH_CXX
libnlopt@NLOPT_SUFFIX@_la_LDFLAGS = -version-info @SHARED_VERSION_INFO@
else
libnlopt@NLOPT_SUFFIX@_la_LDFLAGS = -no-undefined -version-info @SHARED_VERSION_INFO@
endif
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = nlopt.pc
# Somewhat hackish. The "right" way to do this is by a dist-hook target,
# but then darcs check will fail because it doesn't run in the darcs
# repository.
darcs-dist: distdir
darcs changes --summary > $(distdir)/ChangeLog
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
$(am__remove_distdir)