aboutsummaryrefslogtreecommitdiff
path: root/vendor/x11iraf/ximtool/clients/Imakefile
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 /vendor/x11iraf/ximtool/clients/Imakefile
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'vendor/x11iraf/ximtool/clients/Imakefile')
-rw-r--r--vendor/x11iraf/ximtool/clients/Imakefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/vendor/x11iraf/ximtool/clients/Imakefile b/vendor/x11iraf/ximtool/clients/Imakefile
new file mode 100644
index 00000000..0c126522
--- /dev/null
+++ b/vendor/x11iraf/ximtool/clients/Imakefile
@@ -0,0 +1,32 @@
+XCOMM Imakefile for the Image Support Module components.
+
+X11IRAFDIR = ../../
+#include <../../X11IRAF.tmpl>
+
+ WC_SRCS = wcspix/t_wcspix.x wcspix/wcimage.x wcspix/wcmef.x \
+ wcspix/wcmspec.x wcspix/wcspix.h
+ LIB_SRCS = lib/dspmmap.x lib/ism.x lib/idxstr.x lib/wcsgfterm.x
+
+
+all:: ism_wcspix.e
+
+ism_wcspix.e: $(WC_SRCS) $(LIB_SRCS)
+ @(SHELL=/bin/sh ; export SHELL ; mkpkg relink)
+ touch DONE
+
+SubdirLibraryRule($(WC_SRCS) $(LIB_SRCS))
+
+clean::
+ @(rmbin -v .)
+ touch DONE
+
+includes::
+
+#if InstallBinaries
+install:: ism_wcspix.e
+ -@if [ -d X11irafBinDir ]; then set +x; \
+ else (set -x; $(MKDIRHIER) X11irafBinDir); fi
+ mv ism_wcspix.e X11irafBinDir
+#endif
+
+DependTarget()