aboutsummaryrefslogtreecommitdiff
path: root/noao/obsutil/src/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/obsutil/src/mkpkg
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'noao/obsutil/src/mkpkg')
-rw-r--r--noao/obsutil/src/mkpkg31
1 files changed, 31 insertions, 0 deletions
diff --git a/noao/obsutil/src/mkpkg b/noao/obsutil/src/mkpkg
new file mode 100644
index 00000000..d13fabbc
--- /dev/null
+++ b/noao/obsutil/src/mkpkg
@@ -0,0 +1,31 @@
+# Make the OBSUTIL package
+
+$call relink
+$exit
+
+update:
+ $call relink
+ $call install
+ ;
+
+relink:
+ $update libpkg.a
+ $omake x_obsutil.x
+ $link x_obsutil.o libpkg.a -lxtools -lcurfit -liminterp\
+ -lsmw -lnlfit -lgsurfit -lds -lasttools -o xx_obsutil.e
+ ;
+
+install:
+ $move xx_obsutil.e noaobin$x_obsutil.e
+ ;
+
+
+libpkg.a:
+ @ccdtime
+ @pairmass
+ @specfocus
+ @sptime
+ @starfocus
+
+ t_bitcount.x <error.h> <imhdr.h> <mach.h>
+ ;