aboutsummaryrefslogtreecommitdiff
path: root/pkg/softools/mkpkg
diff options
context:
space:
mode:
authorJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
committerJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
commit40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch)
tree4464880c571602d54f6ae114729bf62a89518057 /pkg/softools/mkpkg
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'pkg/softools/mkpkg')
-rw-r--r--pkg/softools/mkpkg24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkg/softools/mkpkg b/pkg/softools/mkpkg
new file mode 100644
index 00000000..f78b672a
--- /dev/null
+++ b/pkg/softools/mkpkg
@@ -0,0 +1,24 @@
+# Make the SOFTOOLS package.
+
+$call relink
+$exit
+
+update:
+ $call relink
+ $call install
+ ;
+
+relink:
+ $update libpkg.a
+ $omake x_softools.x
+ $link x_softools.o libpkg.a -o xx_softools.e
+ ;
+
+install:
+ $move xx_softools.e bin$x_softools.e
+
+libpkg.a:
+ memchk.x <ctype.h>
+ mktags.x <ctotok.h> <ctype.h> <error.h>
+ tgutil.x <ctotok.h> <ctype.h> <error.h>
+ ;