Makefile.am 969 字节
Newer Older
S
stevenj 已提交
1 2 3 4 5
OPTIONS_AUTOMAKE=gnu
lib_LTLIBRARIES = libnlopt.la

ACLOCAL_AMFLAGS=-I ./m4

6 7 8 9 10 11
if WITH_CXX
CXX_DIRS = stogo
CXX_LIBS = stogo/libstogo.la
endif

SUBDIRS= util subplex direct cdirect $(CXX_DIRS) praxis luksan crs mlsl api . octave test
S
stevenj 已提交
12 13 14
EXTRA_DIST=COPYRIGHT autogen.sh nlopt.pc.in m4

libnlopt_la_SOURCES = 
15
libnlopt_la_LIBADD = subplex/libsubplex.la direct/libdirect.la	\
16
cdirect/libcdirect.la $(CXX_LIBS) praxis/libpraxis.la	\
17 18
luksan/libluksan.la crs/libcrs.la mlsl/libmlsl.la api/libapi.la	\
util/libutil.la
S
stevenj 已提交
19 20 21 22 23 24 25 26 27 28 29 30 31

libnlopt_la_LDFLAGS = -no-undefined -version-info @SHARED_VERSION_INFO@

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)