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