aboutsummaryrefslogtreecommitdiff
path: root/noao/imred/generic/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 /noao/imred/generic/mkpkg
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'noao/imred/generic/mkpkg')
-rw-r--r--noao/imred/generic/mkpkg54
1 files changed, 54 insertions, 0 deletions
diff --git a/noao/imred/generic/mkpkg b/noao/imred/generic/mkpkg
new file mode 100644
index 00000000..2c33031b
--- /dev/null
+++ b/noao/imred/generic/mkpkg
@@ -0,0 +1,54 @@
+# Make the GENERIC package.
+# Make the GENERIC package.
+
+$call relink
+$exit
+
+update:
+ $call relink
+ $call install
+ ;
+
+relink:
+ $update libpkg.a
+ $call generic
+ ;
+
+install:
+ $move x_generic.e noaobin$
+ ;
+
+generic:
+ $omake x_generic.x
+ $link x_generic.o libpkg.a -lxtools -lcurfit
+ ;
+
+libpkg.a:
+ flat1d.x <imhdr.h> <pkg/gtools.h>
+ ;
+
+$call relink
+$exit
+
+update:
+ $call relink
+ $call install
+ ;
+
+relink:
+ $update libpkg.a
+ $call generic
+ ;
+
+install:
+ $move x_generic.e noaobin$
+ ;
+
+generic:
+ $omake x_generic.x
+ $link x_generic.o libpkg.a -lxtools -lcurfit
+ ;
+
+libpkg.a:
+ flat1d.x <imhdr.h> <pkg/gtools.h> <error.h>
+ ;