From 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 Mon Sep 17 00:00:00 2001 From: Joe Hunkeler Date: Tue, 11 Aug 2015 16:51:37 -0400 Subject: Repatch (from linux) of OSX IRAF --- pkg/utilities/mkpkg | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 pkg/utilities/mkpkg (limited to 'pkg/utilities/mkpkg') 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 \ + + decod_tablst.x + t_lcase.x + pfregres.f + pffctn.x + t_split.x + t_curfit.x \ + + t_detab.x + t_entab.x + t_polyfit.x + t_surfit.x + t_translit.x + t_ucase.x + t_urand.x + ; -- cgit