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
|
# NOTES:
#
# 1 - When building with the HP compilers or GNU compilers, make sure
# that /bin appears in the PATH environment varaible before the
# Convex compilers or loader (e.g. /usr/convex/bin). Otherwise
# the Convex compiler will be used and an incompatible crt0.o
# will be used to link the executables, resulting in unresolved
# symbols.
#
# 2 - When building with the Convex compilers be sure that
# /usr/convex/bin appears before /bin in the PATH environment
# variable.
#
# 3 - When compiling on an HP workstation for an Exemplar target using
# the Convex compilers, use the '-Wl,+tmspp1' flag to tell the
# compiler to use the Exemplar instruction set. The HP
# workstation being used for the build will also require
# /lib/libcnx_syscall.a and /lib/libail.sl files to be installed
# from an Exemplar.
#
# 4 - When building libraries with the Convex C compiler that must be
# compatible with GNU C and HP C objects, compile with the
# -U_REENTRANT flag. This turns off the multi-threading of
# 'errno'.
#
#
# --------------------- Build with GNU C -----------------------
#CC = gcc -g
#F77 = fort77
#FFLAGS = -g
# --------------------- Build with Convex C -------------------
#CC = /opt/ansic/bin/cc
#C_OPT = -U_REENTRANT +DA1.1 +DS1.1 -Wl,+tm,hpux
#F77 = /opt/fortran/bin/f77
#AS = /usr/ccs/bin/as
# --------------------- Standard Stuff ------------------------------
ARCHCFLAGS = $(C_OPT) -DSHMEM -DSYSVSIGNAL -DNOWAIT3 -DNOGETDTBLSIZ \
-DRSHCOMMAND=\"/usr/bin/remsh\" -DNOUNIXDOM \
-DCLUMP_ALLOC -DHASSTDLIB -DSUBCOMPLEX_SUPPORT \
-DFDSETISINT -DBALANCED_SPAWN -DDEFAULT_PVM_ROOT=\"/usr/convex/pvm\"
ARCHOBJ = -lcnx_syscall /lib/libail.sl
ARCHDOBJ =
ARCHDLIB = $(ARCHOBJ)
ARCHLIB = $(ARCHLDFLAGS) $(ARCHOBJ)
ARCHFLIB = $(ARCHLDFFLAGS) $(ARCHOBJ)
HASRANLIB = f
LD = $(CC)
PVM_ARCH = CSPP
#AR = /usr/bin/ar
AR = ar
LOPT = -Wl,-aarchive
NEEDF2M4 = t
AMEMOBJ = amem.o
|