Debian Codegraph @

numlib/Jamfile

raw
1
2 # Jamfile for the numlib and other general utilities
3
4 # Optization state and configuration. Overridden by parent-Jamfiles
5
6 #PREF_CCFLAGS = $(CCOPTFLAG) ; # Turn optimisation on
7 PREF_CCFLAGS = $(CCDEBUGFLAG) ; # Debugging flags
8 PREF_LINKFLAGS = $(LINKDEBUGFLAG) ;
9 #PREF_CCFLAGS = $(CCPROFFLAG) ; # Profile flags
10 #PREF_LINKFLAGS = $(LINKPROFFLAG) ; # Profile flags
11
12 # Products
13 Libraries = libnum libui ;
14 Headers = numlib.h libui.h ;
15
16 #Install
17 #InstallFile $(DESTDIR)$(PREFIX)/h : $(Headers) ;
18 #InstallLib $(DESTDIR)$(PREFIX)/lib : $(Libraries) ;
19
20 HDRS = ../h ../plot ;
21
22 # Numeric library
23 Library libnum.lib : numsup.c dnsq.c powell.c dhsx.c varmet.c ludecomp.c svd.c zbrent.c rand.c sobol.c aatree.c quadprog.c gnewt.c roots.c ;
24
25 # Link all utilities with libnum
26 LINKLIBS = libnum ;
27
28 # All test programs are made from a single source file
29 MainsFromSources dnsqtest.c tpowell.c tconjgrad.c tvarmet.c tdhsx.c LUtest.c svdtest.c zbrenttest.c soboltest.c qptest.c ;
30
31 # Compile .c as .m
32 if $(OS) = MACOSX {
33 ObjectCcFlags ui : -ObjC ;
34 }
35
36 # UI setup library
37 Library libui.lib : ui.c ;
38
39 #MainsFromSources t.c ;
40