aboutsummaryrefslogtreecommitdiff
path: root/noao/nproto/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/nproto/mkpkg
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'noao/nproto/mkpkg')
-rw-r--r--noao/nproto/mkpkg28
1 files changed, 28 insertions, 0 deletions
diff --git a/noao/nproto/mkpkg b/noao/nproto/mkpkg
new file mode 100644
index 00000000..319373a9
--- /dev/null
+++ b/noao/nproto/mkpkg
@@ -0,0 +1,28 @@
+# Make the NPROTO package.
+
+$call relink
+$exit
+
+update:
+ $call relink
+ $call install
+ ;
+
+relink:
+ $set LIBS="-lxtools -liminterp -lcurfit -lgsurfit -lds"
+ $update libpkg.a
+ $omake x_nproto.x
+ $link x_nproto.o libpkg.a $(LIBS) -o xx_nproto.e
+ ;
+
+install:
+ $move xx_nproto.e noaobin$x_nproto.e
+ ;
+
+libpkg.a:
+ @ace
+ @ir
+ t_binpairs.x
+ t_linpol.x <imhdr.h> <error.h>
+ t_slitpic.x <ctype.h> <imhdr.h> slitpic.h
+ ;