# 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()