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/utilities/mkpkg | |
download | iraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz |
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'pkg/utilities/mkpkg')
-rw-r--r-- | pkg/utilities/mkpkg | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/pkg/utilities/mkpkg b/pkg/utilities/mkpkg new file mode 100644 index 00000000..9d0a7517 --- /dev/null +++ b/pkg/utilities/mkpkg @@ -0,0 +1,51 @@ +# Make the UTILITIES package + +$call relink +$exit + +update: + @nttools + + $call relink + $call install + ; + +relink: + @nttools + + $set LIBS = "-lxtools -lcurfit -lbev -lgsurfit" + + $update libpkg.a + $omake x_utilities.x + $link x_utilities.o libpkg.a $(LIBS) -o xx_utilities.e + ; + +install: + $move xx_utilities.e bin$x_utilities.e + ; + +generic: + $set GEN = "$$generic -k" + $ifolder (curfit.x, curfit.gx) $(GEN) curfit.gx -o curfit.x $endif + ; + +libpkg.a: + $ifeq (USE_GENERIC, yes) $call generic $endif + + curfit.x curfit.h <fset.h> <imhdr.h> <pkg/gtools.h>\ + <math/curfit.h> + decod_tablst.x <ctype.h> + t_lcase.x + pfregres.f + pffctn.x + t_split.x <mach.h> + t_curfit.x <ctype.h> <error.h> <fset.h> <imhdr.h> <pkg/gtools.h>\ + <pkg/xtanswer.h> + t_detab.x + t_entab.x + t_polyfit.x <fset.h> + t_surfit.x <imhdr.h> <error.h> <math/gsurfit.h> + t_translit.x <chars.h> <ctype.h> <pattern.h> <fset.h> + t_ucase.x + t_urand.x + ; |