diff options
author | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
---|---|---|
committer | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
commit | 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch) | |
tree | 4464880c571602d54f6ae114729bf62a89518057 /local/mkpkg | |
download | iraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz |
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'local/mkpkg')
-rw-r--r-- | local/mkpkg | 61 |
1 files changed, 61 insertions, 0 deletions
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) + ; |