summaryrefslogtreecommitdiff
path: root/biology/nab/files/config.h
blob: 51a3556506c5bac5e360ecfb0f80d74f0c8aca2f (plain) (blame)
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
###############################################################################
# Configuration section:  look at sections (1) to (4) below, making
#      changes that seem necessary.  For many UNIX systems, no changes
#      should be necessary, but check especially the compiler options in
#      section (4).
#
###############################################################################
#
# (1)  You need to define the symbols NABHOME and ARCH, either on the
#    make command line (e.g. "make ARCH=sun4 NABHOME=/thr/eigen/nab5")
#    or as environment variables.
#
#    NABHOME should be an absolute path to this directory.
#    ARCH is used to distinguish compilations for various architectures.
#
#    Files created by "make install" end up in:
#        $NABHOME/bin/$ARCH
#        $NABHOME/lib/$ARCH
#        $NABHOME/include
#
#       You can choose ARCH as you wish, but it would generally 
#       be related to the output of the "uname" command.
#
BINDIR=$(NABHOME)/bin/$(ARCH)
LIBDIR=$(NABHOME)/lib/$(ARCH)
INCDIR=$(NABHOME)/include
#
###############################################################################
#
#
#  (2) If you want to search additional libraries by default, add them
#      to the FLIBS variable here.  (External libraries can also be linked into
#      NAB programs simply by including them on the command line; libraries
#      included in FLIBS are always searched.)
#
#FLIBS=$(LIBDIR)/cifparse.a $(LIBDIR)/libsym.a
#
#  following for linking in fortran subroutines on Sun4, Solaris 2.x
#
#FLIBS=$(LIBDIR)/cifparse.a $(LIBDIR)/libsym.a -lF77 -lM77 -lsunmath
#
#  following for HP-UX
#
#FLIBS=$(LIBDIR)/cifparse.a $(LIBDIR)/libsym.a lapack.a blas.a -lf -lvec
#
###############################################################################
#
#  (3)  Set AVS to 1 if you want AVS support; if so, set AVSDIR to point to
#       your AVS distribution.  The directories $AVSDIR/include and $AVSDIR/lib
#       must exist, and CFLAGS (below) must also be modified for AVS support.
#
AVS=		0
#
#AVSDIR=	/tsri/avs/$(ARCH)/avs
#AVSINCDIR=	$(AVSDIR)/include
#
#
###############################################################################
#
#  (4)  Modify any of the following if you need to change, e.g. to use gcc
#        rather than cc, etc.
#
#
SHELL=		/bin/sh
#
#  Set the C compiler, etc. 
#
#          For GNU:  cc-->gcc; lex-->flex; yacc-->bison -y -t;
#          Note: If you lexer is "really" flex, you need to set
#          LEX=flex below.  For example, on many linux distributions,
#          /usr/bin/lex is really just a pointer to /usr/bin/flex,
#          so LEX=flex is necessary.  In general, gcc seems to need
#          flex.
#
#          For 64-bit IRIX, add "-n32" unless 64-bit objects are 
#          needed; it is also useful to add "-Wl,-dont_warn_unused"
#          to keep the loader from complaining about libraries that
#          are not used.
#
#          For RedHat Linux 5.1 (and other linuxes?) add -DHAVE_STRERROR
#
#CC=
LEX=    	flex
YACC=   	yacc
AR=		ar
#
#  Set the C-preprocessor.  Code for a small preprocessor is in
#    uccp-0.7;  it gets installed as $(NABHOME)/bin/$(ARCH)/ucpp;
#    this should generally *not* be changed.
#  Changed 14 Feb 2003 to use the ucpp port (FreeBSD). MLD
#
#  For FreeBSD 4.x, I had problems using the system C-preprocessor. MLD
#
CPP=    ucpp -l
#
#  Use these CFLAGS if AVS = 0
#
# Pick up initial CFLAGS from /etc/make.conf instead of here
# This is a Berkeley make- (pmake-)specific construct
CFLAGS+=
OCFLAGS= ${CFLAGS}
NABFLAGS=
#
#  Use these CFLAGS if AVS = 1
#
#CFLAGS= 	-g -DAVS=$(AVS) -DAVSDIR='"$(AVSDIR)"' -I$(AVSINCDIR)
#OCFLAGS= 	-O -DAVS=$(AVS) -DAVSDIR='"$(AVSDIR)"' -I$(AVSINCDIR)
#
#
#  For Win95/98, set SFX to ".exe"; for Unix,NT leave it empty:
#
#SFX=.exe
SFX=
#