aboutsummaryrefslogtreecommitdiff
path: root/vendor/x11iraf/vximtool/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/vximtool/Imakefile
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'vendor/x11iraf/vximtool/Imakefile')
-rw-r--r--vendor/x11iraf/vximtool/Imakefile45
1 files changed, 45 insertions, 0 deletions
diff --git a/vendor/x11iraf/vximtool/Imakefile b/vendor/x11iraf/vximtool/Imakefile
new file mode 100644
index 00000000..5eb85b57
--- /dev/null
+++ b/vendor/x11iraf/vximtool/Imakefile
@@ -0,0 +1,45 @@
+# Imakefile for the Virtual XImtool display server.
+
+X11IRAFDIR = ../
+#include <../X11IRAF.tmpl>
+
+ CDEBUGFLAGS = -g
+
+ LOCAL_LDFLAGS = $(X11IRAF_LDFLAGS)
+ EXTRA_INCLUDES = $(X11IRAF_INCLUDES)
+ OBMLIBS =
+ MATHLIB = -lm
+ CDLLIB = -lcdl
+ XAWLIB =
+
+ SRCS = vximtool.c
+ OBJS = vximtool.o
+
+
+AllTarget(vximtool)
+
+vximtool: vximtool.o
+ $(RM) vximtool
+ $(CC) -o vximtool -DHAVE_CDL vximtool.o $(LDOPTIONS) $(CDLLIB) \
+ $(MATHLIB) $(EXTRA_LIBRARIES)
+
+vximtool.o:
+ $(CC) -c $(CFLAGS) -DHAVE_CDL vximtool.c
+
+clean::
+ $(RM) vximtool vximtool.o
+
+#if InstallManuals
+install::
+ MakeDir(X11irafManDir)
+ $(CP) vximtool.man X11irafManDir/vximtool.1
+#endif
+
+#if InstallBinaries
+install:: vximtool
+ -@if [ -d X11irafBinDir ]; then set +x; \
+ else (set -x; $(MKDIRHIER) X11irafBinDir); fi
+ $(CP) vximtool X11irafBinDir
+#endif
+
+DependTarget()