chiark / gitweb /
added test program and some test objectives
[nlopt.git] / Makefile.am
1 OPTIONS_AUTOMAKE=gnu
2 lib_LTLIBRARIES = libnlopt.la
3
4 ACLOCAL_AMFLAGS=-I ./m4
5
6 SUBDIRS=lbfgs subplex direct stogo api . test
7 EXTRA_DIST=COPYRIGHT autogen.sh nlopt.pc.in m4
8
9 libnlopt_la_SOURCES = 
10 libnlopt_la_LIBADD = lbfgs/liblbfgs.la subplex/libsubplex.la direct/libdirect.la stogo/libstogo.la api/libapi.la
11
12 libnlopt_la_LDFLAGS = -no-undefined -version-info @SHARED_VERSION_INFO@
13
14 pkgconfigdir = $(libdir)/pkgconfig
15 pkgconfig_DATA = nlopt.pc
16
17 # Somewhat hackish.  The "right" way to do this is by a dist-hook target,
18 # but then darcs check will fail because it doesn't run in the darcs
19 # repository.
20 darcs-dist: distdir
21         darcs changes --summary > $(distdir)/ChangeLog
22         tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
23         $(am__remove_distdir)