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 /pkg/obsolete/mkpkg | |
download | iraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz |
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'pkg/obsolete/mkpkg')
-rw-r--r-- | pkg/obsolete/mkpkg | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/pkg/obsolete/mkpkg b/pkg/obsolete/mkpkg new file mode 100644 index 00000000..a321582e --- /dev/null +++ b/pkg/obsolete/mkpkg @@ -0,0 +1,41 @@ +# Make the OBSOLETE package. + +$call relink +$exit + +update: + $call relink + $call install + ; + +relink: + $update libpkg.a + $omake x_obsolete.x + $link x_obsolete.o libpkg.a -lxtools -o xx_obsolete.e + ; + +install: + $move xx_obsolete.e bin$x_obsolete.e + ; + +generic: + $set GEN = "$$generic -k" + + $ifolder (generic/fixcol.x, fixcol.gx) + $(GEN) fixcol.gx -o generic/fixcol.x $endif + $ifolder (generic/fixline.x, fixline.gx) + $(GEN) fixline.gx -o generic/fixline.x $endif + ; + +libpkg.a: + $ifeq (USE_GENERIC, yes) $call generic $endif + @generic + @fits + @imcombine + + t_fixpix.x <fset.h> <imhdr.h> + t_imtitle.x <imhdr.h> + t_mkhgm.x <gset.h> <mach.h> + t_oimstat.x <mach.h> <imhdr.h> "oimstat.h" + t_radplt.x <imhdr.h> <error.h> <mach.h> <gset.h> + ; |