# Make the TABLES external package # # Author: L. Willard, 6-June-1989 from the NOAO mkpkg # $ifeq (hostid, unix) !(clear;date) $endif $call update $ifeq (hostid, unix) !(date) $endif $exit linkonly: $call pkg $ifeq (HOSTID, vms) $purge [...] $endif $purge tablesbin$ ; update: $call lib $call pkg $ifeq (HOSTID, vms) $purge [...] $endif $purge tablesbin$ ; lib: $echo "===================== LIB =========================" $echo "" $call update@lib ; pkg: $echo "===================== PKG =========================" $echo "" $call update@pkg ; # STRIP -- Strip the TABLES directories of all sources and other files not # required to run the system, or for user programming. strip: !rmfiles -f lib/strip.tables ; # SUMMARY -- [UNIX] mkpkg summary: output a summary of the spooled mkpkg # output, omitting most of the mundane chatter. Used to scan large spool # files for errors. summary: $ifeq (HOSTID, unix) ! grep -v ':$$' spool | grep -v '^xc' | grep -v '^ar'\ | grep -v '^check file' $else $echo "mkpkg summary only available on a UNIX system" $endif ; # SUN/IRAF multiple architecture support. # ---------------------------------------- arch: showfloat: # show current float option $verbose off !$(hlib)/mkfloat.csh ; generic: # make architecture indep. (no bins) $verbose off $set DIRS = "lib pkg" !$(hlib)/mkfloat.csh generic -d $(DIRS) ; sparc: # install sparc binaries $verbose off $set DIRS = "lib pkg" !$(hlib)/mkfloat.csh sparc -d $(DIRS) ; ssun: # install ssun (Solaris) binaries $verbose off $set DIRS = "lib pkg" !$(hlib)/mkfloat.csh ssun -d $(DIRS) ; i386: # install i386 binaries $verbose off $set DIRS = "lib pkg" !$(hlib)/mkfloat.csh i386 -d $(DIRS) ; f68881: # install f68881 binaries $verbose off $set DIRS = "lib pkg" !$(hlib)/mkfloat.csh f68881 -d $(DIRS) ; ffpa: # install ffpa binaries $verbose off $set DIRS = "lib pkg" !$(hlib)/mkfloat.csh ffpa -d $(DIRS) ; fswitch: # install fswitch binaries $verbose off $set DIRS = "lib pkg" !$(hlib)/mkfloat.csh fswitch -d $(DIRS) ; fsoft: # install fsoft binaries $verbose off $set DIRS = "lib pkg" !$(hlib)/mkfloat.csh fsoft -d $(DIRS) ; linux: # install PC Linux binaries $verbose off $set DIRS = "lib pkg" !$(hlib)/mkfloat.csh linux -d $(DIRS) ; freebsd: # install PC Linux binaries $verbose off $set DIRS = "lib pkg" !$(hlib)/mkfloat.csh freebsd -d $(DIRS) ; redhat: # install PC Linux binaries $verbose off $set DIRS = "lib pkg" !$(hlib)/mkfloat.csh redhat -d $(DIRS) ; pg: # install -pg -f68881 binaries $verbose off $set DIRS = "lib pkg" !$(hlib)/mkfloat.csh pg -d $(DIRS) ; rs6000: # install IBM Risc binaries $verbose off $set DIRS = "lib pkg" !$(hlib)/mkfloat.csh rs6000 -d $(DIRS) ; irix: # install irix binaries $verbose off $set DIRS = "lib pkg" !$(hlib)/mkfloat.csh irix -d $(DIRS) ; mips: # install mips binaries $verbose off $set DIRS = "lib pkg" !$(hlib)/mkfloat.csh mips -d $(DIRS) ; ddec: # install DECstation/Ultrix binaries $verbose off $set DIRS = "lib pkg" !$(hlib)/mkfloat.csh ddec -d $(DIRS) ; dmip: # install DECstation/MIP binaries $verbose off $set DIRS = "lib pkg" !$(hlib)/mkfloat.csh dmip -d $(DIRS) ; alpha: # install OSF/1 Alpha binaries $verbose off $set DIRS = "lib pkg" !$(hlib)/mkfloat.csh alpha -d $(DIRS) ; hp700: # install HP binaries $verbose off $set DIRS = "lib pkg" !$(hlib)/mkfloat.csh hp700 -d $(DIRS) ; vax: # install vax binaries $verbose off $set DIRS = "lib pkg" !$(hlib)/mkfloat.csh vax -d $(DIRS) ; f2c: # install architectures without Fortran $verbose off $set DIRS = "lib pkg" !$(hlib)/mkfloat.csh f2c -d $(DIRS) ;