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 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132
|
# The f77 [f2c] Fortran-to_C converter and Gnu gcc C compiler.
# Revised 30 Oct 1996
#-----------------------------------------------------------------------
# Optional: Needed by XWDRIV (/xwindow and /xserve) and
# X2DRIV (/xdisp and /figdisp).
# The arguments needed by the C compiler to locate X-window include files.
XINCL="-I/usr/X11R6/include"
# Optional: Needed by XMDRIV (/xmotif).
# The arguments needed by the C compiler to locate Motif, Xt and
# X-window include files.
MOTIF_INCL="$XINCL"
# Optional: Needed by TKDRIV (/xtk).
# The arguments needed by the C compiler to locate Tcl, Tk and
# X-window include files.
TK_INCL="-I/usr/local/include "
# Optional: Needed by RVDRIV (/xrv).
# The arguments needed by the C compiler to locate Rivet, Tcl, Tk and
# X-window include files.
RV_INCL=""
# Mandatory.
# The FORTRAN compiler to use.
FCOMPL="f77"
# Mandatory.
# The FORTRAN compiler flags to use when compiling the pgplot library.
# (NB. makemake prepends -c to $FFLAGC where needed)
FFLAGC="-u"
# Mandatory.
# The FORTRAN compiler flags to use when compiling fortran demo programs.
# This may need to include a flag to tell the compiler not to treat
# backslash characters as C-style escape sequences
FFLAGD=""
# Mandatory.
# The C compiler to use.
CCOMPL="gcc"
# Mandatory.
# The C compiler flags to use when compiling the pgplot library.
CFLAGC="-DPG_PPU -O2"
# Mandatory.
# The C compiler flags to use when compiling C demo programs.
CFLAGD="-O2"
# Optional: Only needed if the cpgplot library is to be compiled.
# The flags to use when running pgbind to create the C pgplot wrapper
# library. (See pgplot/cpg/pgbind.usage)
PGBIND_FLAGS="bsd"
# Mandatory.
# The library-specification flags to use when linking normal pgplot
# demo programs.
LIBS="-lf2c -lX11 \`\$(SRC)/cpg/libgcc_path.sh\` -lgcc -lm -lc -lbsd"
# Optional: Needed by XMDRIV (/xmotif).
# The library-specification flags to use when linking motif
# demo programs.
MOTIF_LIBS="-lXm -lXt "
# Optional: Needed by TKDRIV (/xtk).
# The library-specification flags to use when linking Tk demo programs.
# Note that you may need to append version numbers to -ltk and -ltcl.
TK_LIBS="-L/usr/local/lib -ltk -ltcl -ldl"
# Mandatory.
# On systems that have a ranlib utility, put "ranlib" here. On other
# systems put ":" here (Colon is the Bourne-shell do-nothing command).
RANLIB="ranlib"
# Optional: Needed on systems that support shared libraries.
# The name to give the shared pgplot library.
SHARED_LIB=""
# Optional: Needed if SHARED_LIB is set.
# How to create a shared library from a trailing list of object files.
SHARED_LD=""
# Optional:
# On systems such as Solaris 2.x, that allow specification of the
# libraries that a shared library needs to be linked with when a
# program that uses it is run, this variable should contain the
# library-specification flags used to specify these libraries to
# $SHARED_LD
SHARED_LIB_LIBS=""
# Optional:
# Compiler name used on Next systems to compile objective-C files.
MCOMPL=""
# Optional:
# Compiler flags used with MCOMPL when compiling objective-C files.
MFLAGC=""
# Optional: (Actually mandatory, but already defined by makemake).
# Where to look for any system-specific versions of the files in
# pgplot/sys. Before evaluating this script, makemake sets SYSDIR to
# /wherever/pgplot/sys_$OS, where $OS is the operating-system name
# given by the second command-line argument of makemake. If the
# present configuration is one of many for this OS, and it needs
# different modifications to files in pgplot/sys than the other
# configurations, then you should create a subdirectory of SYSDIR,
# place the modified files in it and change the following line to
# $SYSDIR="$SYSDIR/subdirectory_name".
SYSDIR="$SYSDIR/f77_src"
|