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

ACLOCAL_AMFLAGS=-I ./m4

6
SUBDIRS= util lbfgs subplex direct cdirect stogo praxis api octave . test
S
stevenj 已提交
7 8 9
EXTRA_DIST=COPYRIGHT autogen.sh nlopt.pc.in m4

libnlopt_la_SOURCES = 
10 11
libnlopt_la_LIBADD = lbfgs/liblbfgs.la subplex/libsubplex.la	\
direct/libdirect.la cdirect/libcdirect.la stogo/libstogo.la	\
12
praxis/libpraxis.la api/libapi.la util/libutil.la
S
stevenj 已提交
13 14 15 16 17 18 19 20 21 22 23 24 25

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)