-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathMakefile.am
61 lines (51 loc) · 1.46 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# Specific compilation flags.
AM_CFLAGS = -Wall
#AM_LDFLAGS =
# Additional files to clean.
CLEANFILES = *~
# Headers to install:
OPTIMPACK_INCS = optimpack.h optimpack-linalg.h optimpack-private.h
include_HEADERS = $(OPTIMPACK_INCS) bobyqa.h cobyla.h newuoa.h
# Additional files to include in the distribution.
EXTRA_DIST = simple_vector.c
# Target library.
lib_LTLIBRARIES = libopk.la libcobyla.la libbobyqa.la libnewuoa.la
libopk_la_SOURCES = \
algebra.c \
utils.c \
lcg.c \
gqtpar.c \
lnsrch.c \
linalg.c \
nlcg.c \
fmin.c \
vmlmb.c \
fltvector.c \
dblvector.c \
driver.c \
$(OPTIMPACK_INCS) \
linalg-common.h \
linalg-single.h \
linalg-double.h
libopk_la_LDFLAGS = -version-info 3:0:0
libcobyla_la_SOURCES = optimpack.h cobyla.c cobyla.h
libcobyla_la_LDFLAGS = -version-info 2:0:0
libbobyqa_la_SOURCES = optimpack.h bobyqa.c bobyqa.h
libbobyqa_la_LDFLAGS = -version-info 2:0:0
libnewuoa_la_SOURCES = optimpack.h newuoa.c newuoa.h
libnewuoa_la_LDFLAGS = -version-info 2:0:0
# (See doc/NOTES.md for the rationale of libtool version numbers.)
noinst_PROGRAMS = $(TESTS)
TESTS = \
bobyqa-test \
cobyla-test \
newuoa-test
bobyqa_test_SOURCES = bobyqa-test.c
bobyqa_test__CPPFLAGS = -I$(srcdir)
bobyqa_test_LDADD = -lm
cobyla_test_SOURCES = cobyla-test.c
cobyla_test__CPPFLAGS = -I$(srcdir)
cobyla_test_LDADD = -lm
newuoa_test_SOURCES = newuoa-test.c
newuoa_test__CPPFLAGS = -I$(srcdir)
newuoa_test_LDADD = -lm