XCOMM XCOMM (c) Copyright 1989, 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC. XCOMM ALL RIGHTS RESERVED XCOMM XCOMM XCOMM Motif Release 1.2.1 XCOMM XCOMM $RCSfile: osf1.cf,v $ $Revision: 1.2.4.5 $ $Date: 92/07/10 16:16:30 $ XCOMM platform: osf1.cf /* * SET VERSION NUMBERS BEFORE MAKING MAKEFILES */ #define OSName OSF/1 XCOMM OSMajorVersion and OSMinorVersion are defined in site.def XCOMM define OSMajorVersion 1 XCOMM define OSMinorVersion 1 XCOMM Operating system: OSName OSMajorVersion.OSMinorVersion /* --- Information about OSF/1's kernel capabilities --- */ #define SystemV NO #define HasVoidSignalReturn YES #define HasShm NO /* --- Information about the standard commands and libraries --- */ #define AvoidNullMakeCommand YES #define HasPutenv YES #define Malloc0ReturnsNull YES #define HasNdbm YES #define InstallCmd installbsd #if OSMajorVersion == 1 && OSMinorVersion == 0 #define RanlibCmd ar -rls #endif #define LintLibFlag -o /* --- Choices about the compile environment --- */ #define ExtensionDefines -DSHAPE -DMITSHM -DMULTIBUFFER -DMITMIS #define StandardDefines -D_BSD #if HasGcc #define CcCmd gcc #if OSMajorVersion == 1 && OSMinorVersion == 1 #define DefaultCCOptions -ansi #else #define DefaultCCOptions -ansi #endif #define StandardCppDefines -traditional #endif #define NeedFunctionPrototypes YES #define OptimizedCDebugFlags -O2 #define CppCmd /usr/ccs/lib/cpp #define ExtraLibraries -lbsd /* * Different OSF/1 implementations have different compiler architectures, * and different ways of generating shared libraries. Therefore this * reference implementation does not build them. */ /* --- Architecture dependencies --- */ #ifndef MotifDefines #if defined(MipsArchitecture) #define MotifDefines -DSTRINGS_ALIGNED -DNO_REGEX -DNO_REGCOMP #else #define MotifDefines -DNO_REGEX -DNO_REGCOMP #endif #endif /* * InstallMultipleDestFlags - generate rules to install multiple files at * once during a particular step in the build using a specific set of install * flags. * * OSF/1 make has a bug: wildcards on the dependency line expand with * spurious characters. This practice is used only in config/Imakefile. * Removing the dependency like this may cause incorrect installation * of x386; this has not been tested. */ #ifndef InstallMultipleDestFlags #define InstallMultipleDestFlags(step,list,dest,flags) @@\ step:: @@\ MakeDir($(DESTDIR)dest) @@\ @case '${MFLAGS}' in *[i]*) set +e;; esac; \ @@\ for i in list; do \ @@\ if [ -f $$i ] ; then \ @@\ (set -x; $(INSTALL) -c flags $$i $(DESTDIR)dest); fi;\ @@\ done #endif /* InstallMultipleDestFlags */