diff options
Diffstat (limited to 'vendor/x11iraf/obmsh/Imakefile')
-rw-r--r-- | vendor/x11iraf/obmsh/Imakefile | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/vendor/x11iraf/obmsh/Imakefile b/vendor/x11iraf/obmsh/Imakefile new file mode 100644 index 00000000..8a67758a --- /dev/null +++ b/vendor/x11iraf/obmsh/Imakefile @@ -0,0 +1,47 @@ +# 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() + |