From fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 8 Jul 2015 20:46:52 -0400 Subject: Initial commit --- local/mkpkg | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 local/mkpkg (limited to 'local/mkpkg') diff --git a/local/mkpkg b/local/mkpkg new file mode 100644 index 00000000..47cd3a8f --- /dev/null +++ b/local/mkpkg @@ -0,0 +1,61 @@ +# Make the LOCAL package. + +$call update@src +$exit + +update: + $call update@src + ; + +# STRIP -- Strip the LOCAL package directories of all sources and other files +# not required to run the system, or for user programming. + +strip: + !rmfiles -f lib/strip.local + ; + +# 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. +# ---------------------------------------- + +showfloat: # show current float option + $verbose off + !$(hlib)/mkfloat.csh + ; +f68881: # install f68881 binaries + $verbose off + $set DIRS = "lib src" + !$(hlib)/mkfloat.csh f68881 -d $(DIRS) + ; +ffpa: # install ffpa binaries + $verbose off + $set DIRS = "lib src" + !$(hlib)/mkfloat.csh ffpa -d $(DIRS) + ; +fswitch: # install fswitch binaries + $verbose off + $set DIRS = "lib src" + !$(hlib)/mkfloat.csh fswitch -d $(DIRS) + ; +fsoft: # install fsoft binaries + $verbose off + $set DIRS = "lib src" + !$(hlib)/mkfloat.csh fsoft -d $(DIRS) + ; +sparc: # install sparc binaries + $verbose off + $set DIRS = "lib src" + !$(hlib)/mkfloat.csh sparc -d $(DIRS) + ; -- cgit