1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

remove OSF1 support

This commit is contained in:
chase 2018-05-24 14:50:03 -05:00 committed by Jon Trulson
parent 3c1736f077
commit 164e695cd0
325 changed files with 290 additions and 9980 deletions

View file

@ -157,8 +157,6 @@ PLATFORM=halos
PLATFORM=hpux
#elif defined(AIXArchitecture)
PLATFORM=aix
#elif defined(AlphaArchitecture)
PLATFORM=digital
#elif defined(SystemV4) && defined(i386)
PLATFORM=solaris-386
#elif defined(SystemV4)

View file

@ -474,21 +474,6 @@ XCOMM $TOG: Imake.cf /main/30 1998/04/28 13:55:25 barstow $
# define ConvexArchitecture
#endif /* _convex_ */
#ifdef __osf__
# define MacroIncludeFile <osf1.cf>
# define MacroFile osf1.cf
# define OSF1Architecture
# undef __osf__
# ifdef __mips__
# undef __mips__
# define MipsArchitecture
# endif
# ifdef __alpha
# undef __alpha
# define AlphaArchitecture
# endif
#endif /* __osf__ */
#ifdef Oki
# define MacroIncludeFile <Oki.cf>
# define MacroFile Oki.cf

View file

@ -868,14 +868,14 @@ XCOMM the platform-specific parameters - edit site.def to change
#define LibManSuffix 3 /* use just one tab or cpp will die */
#endif
#ifndef FileManSuffix
#if SystemV || SystemV4 || defined(OSF1Architecture)
#if SystemV || SystemV4
#define FileManSuffix 4 /* use just one tab or cpp will die */
#else
#define FileManSuffix 5 /* use just one tab or cpp will die */
#endif
#endif
#ifndef MiscManSuffix
#if SystemV || SystemV4 || defined(OSF1Architecture)
#if SystemV || SystemV4
#define MiscManSuffix 5 /* use just one tab or cpp will die */
#else
#define MiscManSuffix 7 /* use just one tab or cpp will die */

View file

@ -26,8 +26,6 @@ necLib.rules \
noop.rules \
oldlib.rules \
os2Lib.rules \
osfLib.rules \
scoLib.rules \
sgiLib.rules \
sunLib.rules \
sv3Lib.rules \
@ -49,7 +47,6 @@ ibmLib.tmpl \
lnxLib.tmpl \
necLib.tmpl \
os2Lib.tmpl \
osfLib.tmpl \
sgiLib.tmpl \
sunLib.tmpl \
sv3Lib.tmpl \
@ -82,9 +79,7 @@ moto.cf \
ncr.cf \
nec.cf \
os2.cf \
osf1.cf \
pegasus.cf \
sco.cf \
sequent.cf \
sgi.cf \
sony.cf \

View file

@ -1,203 +0,0 @@
XCOMM platform: $TOG: osf1.cf /main/74 1997/05/27 15:51:24 kaleb $
/* only tested with Digital OSF/1 */
#ifndef OSName
# define OSName DefaultOSName
#endif
#ifndef OSMajorVersion
# define OSMajorVersion DefaultOSMajorVersion
#endif
#ifndef OSMinorVersion
# define OSMinorVersion DefaultOSMinorVersion
#endif
XCOMM operating system: OSName (OSMajorVersion.OSMinorVersion)
#define StandardCppDefines -D__osf__ StandardDefines
#define BuildLibPathVar _RLD_ROOT=/dev/null LD_LIBRARY_PATH
#define HasPutenv YES
#define Malloc0ReturnsNull YES
#define HasNdbm YES
#define HasShm YES
#define AvoidNullMakeCommand YES
#define NullMakeCommand @ echo
#define HasPosixThreads YES
#define SystemMTDefines -D_REENTRANT
#define CplusplusSystemMTDefines -D_REENTRANT
#define HasPoll YES
#define HasVFork NO
#define HasPlugin YES
#define InstallCmd installbsd
#define RanlibCmd ranlib -t
#if OSMajorVersion > 1 || OSMinorVersion > 0
#define ModernOSF1 YES
#else
#define ModernOSF1 NO
#define ShLibDir /usr/shlib
#define SharedLibPex NO /* losing, no shared -lm */
#endif
#define ThreadedX ModernOSF1
#if ThreadedX
#define MTSafeAPIDefines -DXUSE_MTSAFE_API -DXUSE_NETDB_R_API
#if OSMajorVersion < 4
#define ThreadsLibraries -lpthreads -lmach -lc_r
#define ThreadsCplusplusLibraries -lpthreads -lmach
#define ThreadPreStdAPIDefines -DXPRE_STANDARD_API
#else
#define ThreadsLibraries -lpthread -lmach -lexc -lc
#define ThreadsCplusplusLibraries -lpthread -lmach -lexc
#define LibraryMTDefines -DUSE_TIS_SUPPORT
#endif
#endif
#if ModernOSF1
#ifndef OptimizedCDebugFlags
#define OptimizedCDebugFlags -O2 -Olimit 2000
#endif
#ifndef ExtraLoadFlags
/*
* In OSF/1 3.0 Digital has shared libXdmcp and libXau. What's more,
* the link editor has different search semantics, i.e. it will search
* for shared libraries first, then, if it can't find a shared lib, it
* will use a static lib. By using -oldstyle_liblookup the linker will
* follow "normal" semantics for linking libraries and will get the
* static libraries we really want. By 3.2 they no longer have libXdmcp
* and libXau as shared libraries and we can omit -oldstyle_liblookup.
* (What did they have in 3.1?)
*/
#if OSMajorVersion == 3 && OSMinorVersion == 0
#define ExtraLoadFlags -Wl,-rpath,$(USRLIBDIRPATH),-oldstyle_liblookup
#else
#define ExtraLoadFlags -Wl,-rpath,$(USRLIBDIRPATH)
#endif
#endif
#if OSMajorVersion > 3
#define TermcapLibrary -lcurses
#endif
#endif
/*
* C++ compiler setup. This file knows what options to use with the
* DEC C++ compiler, and may learn about other compilers in the future.
*
* For DEC C++, define HasDECCplusplus to YES in site.def.
*
* For g++ 2.6.x, define HasGcc2ForCplusplus to YES in site.def.
*
* For other compilers, define HasCplusplus to YES in site.def, and
* check to see if you need to provide values for CplusplusOptions
* and/or DefaultCplusplusOptions.
*
* In any case, you may also need to set CplusplusDependIncludes.
*
* Note: For DEC C++, the -call_shared option really only needs to
* appear when linking C++ executables, not when actually compiling
* the C++ sources. But since there's no imake variable that lets
* us insert flags only into the C++ link stage, we use -call_shared
* on all compilations when building executables. This could be
* considered a deficiency in the current imake configuration
*/
#if HasDECCplusplus
#ifndef HasCplusplus
#define HasCplusplus YES
#endif
#ifndef CplusplusCmd
#define CplusplusCmd /usr/bin/cxx
#endif
#ifndef CplusplusFilt
# define CplusplusFilt /usr/bin/demangle
#endif
#ifndef CplusplusDependIncludes
#define CplusplusDependIncludes -D__DECCXX -I/usr/include/cxx
#endif
#ifndef CplusplusLibDir
#define CplusplusLibDir /usr/lib/cmplrs/cxx
#endif
#ifndef CplusplusLibC
#define CplusplusLibC -L/usr/lib/cmplrs/cxx -lcxx
#endif
#ifndef CplusplusOptions
#define CplusplusOptions -call_shared
#endif
#endif /* HasDECCplusplus */
#if HasGcc2ForCplusplus
#ifndef CplusplusLibC
#define CplusplusLibC `$(CXX) -print-libgcc-file-name`
#endif
#endif /* HasGcc2ForCplusplus */
#ifdef CplusplusLibDir
# define SystemBuildLibPath \
/usr/shlib:/usr/ccs/lib:CplusplusLibDir:/usr/lib/cmplrs/cc:/usr/lib:/usr/local/lib:/var/shlib
#else
# define SystemBuildLibPath \
/usr/shlib:/usr/ccs/lib:/usr/lib/cmplrs/cc:/usr/lib:/usr/local/lib:/var/shlib
#endif
#include <osfLib.rules>
#define NoRConst YES
#ifdef AlphaArchitecture
#ifndef HasWChar32
#define HasWChar32 YES
#endif
#define ServerExtraDefines -D_XSERVER64
#define ServerOSDefines -DDDXTIME
#ifndef DefaultCCOptions
#define DefaultCCOptions -std1
#endif
#ifndef XawI18nDefines
#define XawI18nDefines -DHAS_WCHAR_H
#endif
#ifndef BuildServer
#define BuildServer NO
#endif
/* For DtHelp's TIFF processing routines. */
#define LSBBitOrder YES
#define MotifDefines -DNO_REGCOMP -DNO_REGEX -DSTRINGS_ALIGNED
#define DtSvcDefines -DMULTIBYTE -DMESSAGE_CAT
#define DtSearchDefines -DI18N_MSG DtSvcDefines
#define DtWidgetDefines DtSearchDefines
#define DtPrintDefines DtSearchDefines
#define DtMailDefines \
-DNEED_MMAP_WRAPPER -DSENDMAIL_LOCKS -DMAIL_SPOOL_PATH=\"/var/spool/mail/%s\"
#define ArchitectureDefines -DALPHA_ARCHITECTURE
#endif
#ifdef MipsArchitecture
#define DefaultCCOptions -Xa
#define XdecServer YES
#define ServerOSDefines -DDDXTIME
#define PexCCOptions -Xa -Wf,-XNp15000,-XNd15000
#define NormalLibObjCompile(options) ClearmakeOSName \
$(RM) $@ $*.os \ @@\
&& $(CC) -c options $(CFLAGS) $*.c \ @@\
&& $(LD) $(LDSTRIPFLAGS) -r $@ -o $*.os \ @@\
&& $(MV) $*.os $@
#endif
#if !HasClearmake
#ifndef HasMakefileSafeInclude
#define HasMakefileSafeInclude YES
#endif
#ifndef IncludeMakefile
#define IncludeMakefile(file) @@-include file
#endif
#endif
#ifndef ManKeywordsTarget
#define ManKeywordsTarget(manpath) @@\
man_keywords:: @@\
catman -M $(DESTDIR)manpath -w
#endif
#define CdeTicDefines -DHAS_KNL -DHAS_KTAB
#define CdeProjectDefines \
-DDEC -DMULTIBYTE -DNLS16 \
-DOSMAJORVERSION=OSMajorVersion -DOSMINORVERSION=OSMinorVersion

View file

@ -1,118 +0,0 @@
XCOMM $XConsortium: osfLib.rules /main/16 1996/09/28 16:11:55 rws $
/*
* OSF/1 shared library rules
*/
#ifndef HasSharedLibraries
#define HasSharedLibraries YES
#endif
#ifndef SeparateSharedCompile
#define SeparateSharedCompile NO
#endif
#ifndef SharedDataSeparation
#define SharedDataSeparation NO
#endif
#ifndef SharedCodeDef
#define SharedCodeDef /**/
#endif
#ifndef SharedLibraryDef
#define SharedLibraryDef /**/
#endif
#ifndef ShLibIncludeFile
#define ShLibIncludeFile <osfLib.tmpl>
#endif
#ifndef SharedLibraryLoadFlags
#define SharedLibraryLoadFlags -shared -no_archive
#endif
#ifndef PositionIndependentCFlags
#define PositionIndependentCFlags /**/
#endif
/*
* InstallSharedLibrary - generate rules to install the shared library.
*/
#ifndef InstallSharedLibrary
#define InstallSharedLibrary(libname,rev,dest) @@\
install:: Concat(lib,libname.so.rev) @@\
MakeDir($(DESTDIR)dest) @@\
$(INSTALL) $(INSTALLFLAGS) $(INSTLIBFLAGS) Concat(lib,libname.so.rev) $(DESTDIR)dest @@\
$(RM) Concat($(DESTDIR)dest/lib,libname.so) @@\
cd $(DESTDIR)dest; $(LN) Concat(lib,libname.so.rev) Concat(lib,libname.so)
#endif /* InstallSharedLibrary */
/*
* InstallSharedLibraryData - generate rules to install the shared library data
*/
#ifndef InstallSharedLibraryData
#define InstallSharedLibraryData(libname,rev,dest)
#endif /* InstallSharedLibraryData */
#ifndef PackageName(libname)
#if ModernOSF1
#define PackageName(libname) /**/
#define Objects(objlist) -all objlist -none
#else
#define PackageName(libname) -package libname
#define Objects(objlist) objlist
#endif
#endif
#if ThreadedX && ModernOSF1 && OSMajorVersion < 4
#define BaseShLibReqs -lc_r -lc
#else
#define BaseShLibReqs -lc
#endif
/*
* SharedLibraryTarget - generate rules to create a shared library;
* build it into a different name so that we do not hose people by having
* the library gone for long periods.
*/
#ifndef SharedLibraryTarget
#if SeparateSharedCompile
#define SharedLibraryTarget(libname,rev,solist,down,up) @@\
AllTarget(Concat(lib,libname.so.rev)) @@\
@@\
Concat(lib,libname.so.rev): solist $(EXTRALIBRARYDEPS) @@\
$(RM) $@~ @@\
(cd down; $(LD) -o up/$@~ $(SHLIBLDFLAGS) PackageName($@) \ @@\
-soname $@ Objects(solist) \ @@\
$(REQUIREDLIBS) BaseShLibReqs) @@\
$(RM) $@ @@\
$(MV) $@~ $@ @@\
$(RM) Concat(lib,libname.so) @@\
$(LN) $@ Concat(lib,libname.so) @@\
LinkBuildLibrary($@) @@\
LinkBuildLibrary(Concat(lib,libname.so)) @@\
@@\
clean:: @@\
$(RM) Concat(lib,libname.so.rev) Concat(lib,libname.so)
#else
#define SharedLibraryTarget(libname,rev,solist,down,up) @@\
AllTarget(Concat(lib,libname.so.rev)) @@\
@@\
Concat(lib,libname.so.rev): solist $(EXTRALIBRARYDEPS) @@\
$(RM) $@~ @@\
$(LD) -o $@~ $(SHLIBLDFLAGS) PackageName($@) \ @@\
-soname $@ Objects(solist) \ @@\
$(REQUIREDLIBS) BaseShLibReqs @@\
$(RM) $@ @@\
$(MV) $@~ $@ @@\
$(RM) Concat(lib,libname.so) @@\
$(LN) $@ Concat(lib,libname.so) @@\
LinkBuildLibrary($@) @@\
LinkBuildLibrary(Concat(lib,libname.so)) @@\
@@\
clean:: @@\
$(RM) Concat(lib,libname.so.rev) Concat(lib,libname.so)
#endif /* SeparateSharedCompile */
#endif /* SharedLibraryTarget */
/*
* SharedLibraryDataTarget - generate rules to create shlib data file;
*/
#ifndef SharedLibraryDataTarget
#define SharedLibraryDataTarget(libname,rev,salist)
#endif /* SharedLibraryTarget */

View file

@ -1,52 +0,0 @@
XCOMM $XConsortium: osfLib.tmpl /main/22 1996/09/28 16:12:00 rws $
/*
* OSF/1 shared library template
*/
#if ThreadedX && ModernOSF1
#if OSMajorVersion < 4
#define SharedX11Reqs -lpthreads -lmach
#endif
#endif
#define SharedOldXReqs $(LDPRELIBS) $(XLIBONLY)
#if ThreadedX && ModernOSF1 && OSMajorVersion < 4
#define SharedThreadReqs -lpthreads -lmach
#else
#define SharedThreadReqs /**/
#endif
#define SharedXtReqs $(LDPRELIBS) $(XLIBONLY) $(SMLIB) $(ICELIB) SharedThreadReqs
#if ModernOSF1
#define SharedXawReqs $(LDPRELIBS) $(XMULIB) $(XTOOLLIB) $(XLIB)
#else
#define SharedXawReqs $(LDPRELIBS) $(XMULIB) $(XTOOLLIB) $(XLIB) -init _XawFixupVendorShell
#endif
#define SharedXmuReqs $(LDPRELIBS) $(XTOOLLIB) $(XLIB)
#define SharedXextReqs $(LDPRELIBS) $(XLIBONLY)
#define SharedXiReqs $(LDPRELIBS) $(XLIB)
#define SharedPexReqs $(LDPRELIBS) $(XLIBONLY) MathLibrary
#define SharedXtstReqs $(LDPRELIBS) $(XLIB)
#define SharedXieReqs $(LDPRELIBS) $(XLIBONLY)
#define SharedSMReqs $(LDPRELIBS) $(ICELIB)
#define SharedXpReqs $(LDPRELIBS) $(XLIB)
#define SharedXReqs $(XTOOLLIB) $(XLIB) SharedThreadReqs $(LDPOSTLIBS)
#define SharedXmReqs $(LDPRELIBS) SharedXReqs
#define SharedMrmReqs $(LDPRELIBS) $(XMLIB) SharedXReqs
#define SharedUilReqs $(LDPRELIBS) $(MRESOURCELIB) $(XMLIB) SharedXReqs
/* #define SharedPamReqs */
#define SharedTtReqs $(LDPRELIBS) $(XTOOLLIB) $(XLIB) SharedThreadReqs $(CXXLIB)
#define SharedDtSvcReqs $(LDPRELIBS) $(TTLIB) $(XMLIB) SharedXReqs -lm $(CXXLIB)
#define SharedDtMmdbReqs $(LDPRELIBS) $(DTSVCLIB) $(TTLIB) $(XMLIB) SharedXReqs -lm $(CXXLIB)
#define SharedDtSearchReqs $(LDPRELIBS) -lm
#define SharedDtWidgetReqs $(LDPRELIBS) $(DTSVCLIB) $(XMLIB) SharedXReqs -lm $(CXXLIB)
#define SharedDtHelpReqs $(LDPRELIBS) $(DTSVCLIB) $(XMLIB) SharedXReqs -lm -liconv
#define SharedDtPrintReqs $(LDPRELIBS) $(DTSVCLIB) $(DTHELPLIB) $(XMLIB) SharedXReqs -lm $(CXXLIB)
#define SharedDtTermReqs $(LDPRELIBS) $(DTHELPLIB) $(DTSVCLIB) $(XMLIB) SharedXReqs -lm
#define SharedDtMrmReqs $(LDPRELIBS) $(DTTERMLIB) $(DTPRINTLIB) $(DTHELPLIB) $(DTWIDGETLIB) $(MRESOURCELIB) $(XMLIB) SharedXReqs -lm
#define SharedDtMailReqs $(LDPRELIBS) $(DTHELPLIB) $(DTSVCLIB) $(XMLIB) SharedXReqs -liconv -lm $(CXXLIB)
#define SharedCsaReqs $(LDPRELIBS) $(DTSVCLIB) $(XMLIB) SharedXReqs -lm
ICONVSYSLIB = -liconv

View file

@ -42,10 +42,6 @@ XCOMM site: $TOG: site.def /main/23 1998/03/19 18:43:26 mgreess $
# endif
# endif
# ifdef AlphaArchitecture
# define HasDECCplusplus YES
# endif
# ifdef HPArchitecture
# define HasHPCplusplus YES
# endif

View file

@ -481,21 +481,6 @@ char *cpp_argv[ARGUMENTS] = {
# endif
# endif
#endif
#ifdef __osf__
"-D__osf__",
# ifdef __mips__
"-D__mips__",
# endif
# ifdef __alpha
"-D__alpha",
# endif
# ifdef __i386__
"-D__i386__",
# endif
# ifdef __GNUC__
"-traditional",
# endif
#endif
#ifdef Oki
"-DOki",
#endif
@ -594,11 +579,6 @@ char *cpp_argv[ARGUMENTS] = {
# define DEFAULT_OS_MINOR_REV "r %*[^.].%*d.%1s"
# define DEFAULT_OS_TEENY_REV "r %*[^.].%*d.%*c%[0-9]"
# define DEFAULT_OS_NAME "srvm %[^\n]"
#elif defined(__osf__)
/* uname -r returns "Wx.y", e.g. "V3.2" or "T4.0" */
# define DEFAULT_OS_MAJOR_REV "r %*[^0-9]%[0-9]"
# define DEFAULT_OS_MINOR_REV "r %*[^.].%[0-9]"
# define DEFAULT_OS_NAME "srvm %[^\n]"
#elif defined(__FreeBSD__)
/* uname -r returns "x.y[.z]-mumble", e.g. "9.0-RELEASE" or "11.0-CURRENT" */
# define DEFAULT_OS_MAJOR_REV "r %[0-9]"
@ -772,21 +752,9 @@ struct symtab predefs[] = {
{"_SYSTYPE_SYSV", "1"},
#endif
#endif
#ifdef __OSF__
{"__OSF__", "1"},
#endif
#ifdef __osf__
{"__osf__", "1"},
#endif
#ifdef __alpha
{"__alpha", "1"},
#endif
#ifdef __DECC
{"__DECC", "1"},
#endif
#ifdef __decc
{"__decc", "1"},
#endif
#ifdef __unix__
{"__unix__", "1"},
#endif