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 --- noao/digiphot/ptools/mkpkg | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 noao/digiphot/ptools/mkpkg (limited to 'noao/digiphot/ptools/mkpkg') diff --git a/noao/digiphot/ptools/mkpkg b/noao/digiphot/ptools/mkpkg new file mode 100644 index 00000000..b8a75eaa --- /dev/null +++ b/noao/digiphot/ptools/mkpkg @@ -0,0 +1,38 @@ +# PTOOLSX libraries + +$call relink +$exit + +update: + $call relink + $call install + ; + +relink: + $omake x_ptools.x + !mkpkg -p noao trelink XF="$(XFLAGS)" LF="$(LFLAGS)" + ; + +linkonly: + !mkpkg -p noao trelink XF="$(XFLAGS)" LF="$(LFLAGS)" + $call install + ; + +install: + $move xx_ptools.e noaobin$x_ptools.e + ; + +trelink: + $set LIBS = "-lds -lncar -lgks -lxtools -ltbtables" + $set XFLAGS = "$(XFLAGS) $(XF)" + $set LFLAGS = "$(LFLAGS) $(LF)" + $update libpkg.a + $link x_ptools.o libpkg.a ../lib/libpttables.a $(LIBS) -o xx_ptools.e + ; + +libpkg.a: + @pconvert + @pexamine + @ptutils + @txtools + ; -- cgit