# Imakefile for the OBM shell. X11IRAFDIR = ../ #include <../X11IRAF.tmpl> CDEBUGFLAGS = -g /* Hack to build on NOAO HP systems where the Xmu and Xaw libs had to be added * specially to the system they don't come with the default X11 development * system. This also avoids the binary requiring the shared lib version on * systems which may not have it. */ #if defined(HPArchitecture) && OSMajorVersion >= 10 XMULIB = /usr/lib/X11R6/libXmu.a XAWLIB = /usr/lib/X11R6/libXaw.a #endif LOCAL_LDFLAGS = $(X11IRAF_LDFLAGS) EXTRA_INCLUDES = $(X11IRAF_INCLUDES) OBMLIBS = LibObm LibXpm MATHLIB = -lm XAWLIB = LibXaw3d SRCS = obmsh.c OBJS = obmsh.o AllTarget(obmsh) NormalProgramTarget(obmsh,$(OBJS),,${OBMLIBS} XawClientLibs,$(MATHLIB)) #if InstallBinaries install:: obmsh -@if [ -d X11irafBinDir ]; then set +x; \ else (set -x; $(MKDIRHIER) X11irafBinDir); fi $(CP) obmsh X11irafBinDir #endif #if InstallManuals install:: MakeDir(X11irafManDir) $(CP) obmsh.man X11irafManDir/obmsh.1 #endif DependTarget()