Remove Unixware and openserver support
This commit is contained in:
@@ -159,10 +159,6 @@ PLATFORM=hpux
|
||||
PLATFORM=aix
|
||||
#elif defined(AlphaArchitecture)
|
||||
PLATFORM=digital
|
||||
#elif defined(USLArchitecture)
|
||||
PLATFORM=usl
|
||||
#elif defined(SVR4Architecture) && defined(i386Architecture)
|
||||
PLATFORM=usl
|
||||
#elif defined(SystemV4) && defined(i386)
|
||||
PLATFORM=solaris-386
|
||||
#elif defined(SystemV4)
|
||||
|
||||
@@ -259,28 +259,6 @@ XCOMM $TOG: Imake.cf /main/30 1998/04/28 13:55:25 barstow $
|
||||
# define HPArchitecture
|
||||
#endif /* hpux */
|
||||
|
||||
#ifdef sco
|
||||
# define MacroIncludeFile <sco.cf>
|
||||
# define MacroFile sco.cf
|
||||
# undef sco
|
||||
# undef USL
|
||||
# undef SYSV
|
||||
# undef i386
|
||||
/* # define i386Architecture */
|
||||
# define SCOArchitecture
|
||||
#endif /* sco */
|
||||
|
||||
#ifdef USL
|
||||
# define MacroIncludeFile <usl.cf>
|
||||
# define MacroFile usl.cf
|
||||
# undef USL
|
||||
# undef SVR4
|
||||
# undef i386
|
||||
# define SVR4Architecture
|
||||
# define i386Architecture
|
||||
# define USLArchitecture
|
||||
#endif /* USL */
|
||||
|
||||
#ifdef NCR
|
||||
# define MacroIncludeFile <ncr.cf>
|
||||
# define MacroFile ncr.cf
|
||||
|
||||
@@ -92,7 +92,6 @@ sun.cf \
|
||||
svr3.cf \
|
||||
svr4.cf \
|
||||
ultrix.cf \
|
||||
usl.cf \
|
||||
x386.cf \
|
||||
xfree86.cf
|
||||
|
||||
|
||||
@@ -1,72 +0,0 @@
|
||||
XCOMM platform: $XConsortium: sco.cf /main/5 1996/12/04 10:12:36 swick $
|
||||
|
||||
#ifndef OSName
|
||||
#define OSName SCO OpenServer Release 5
|
||||
#endif
|
||||
#ifndef OSVendor
|
||||
#define OSVendor SCO
|
||||
#endif
|
||||
#ifndef OSMajorVersion
|
||||
#define OSMajorVersion 5
|
||||
#endif
|
||||
#ifndef OSMinorVersion
|
||||
#define OSMinorVersion 0
|
||||
#endif
|
||||
#ifndef OSTeenyVersion
|
||||
#define OSTeenyVersion 0
|
||||
#endif
|
||||
|
||||
#if OSMajorVersion < 5 /* Must be 3.2v4 (not fully tested) */
|
||||
#define StandardDefines -Dsco -Dsco324 -DSYSV -Di386
|
||||
#else
|
||||
#define StandardDefines -Dsco -DSYSV -Di386
|
||||
#define DefaultCCOptions -b elf
|
||||
#endif
|
||||
|
||||
#define CcCmd cc
|
||||
#define NeedWidePrototypes NO
|
||||
#define ServerExtraDefines -DSTATIC_COLOR -DAVOID_GLYPHBLT -DPIXPRIV
|
||||
#define ServerOSDefines -DDDXTIME -DDDXOSINIT -DSERVER_LOCK
|
||||
#define ToolkitStringsABIOptions -intelabi
|
||||
#define XawI18nDefines -DHAS_WCHAR_H -DHAS_ISW_FUNCS
|
||||
#define ExtraLibraries -lsocket
|
||||
#define ExtraLoadOptions -b elf
|
||||
#define ThreadedX NO
|
||||
#define HasThreadSafeAPI NO
|
||||
#define HasNdbm YES
|
||||
#define HasVFork YES
|
||||
#define ExecableScripts YES
|
||||
#define HasShadowPasswd YES
|
||||
|
||||
|
||||
XCOMM Uncomment the following line to build static COFF libraries
|
||||
XCOMM #define ForceNormalLib YES
|
||||
#define SharedLibXmu NO
|
||||
|
||||
#define XnestServer YES
|
||||
|
||||
#define SystemV YES
|
||||
#define LdCombineFlags -r
|
||||
|
||||
#define HasLdRunPath YES
|
||||
#define HasPoll YES
|
||||
#define PatheticCpp YES
|
||||
#define Malloc0ReturnsNull YES /* in case -lmalloc used */
|
||||
|
||||
#define ArCmdBase ar
|
||||
#define AsCmd as
|
||||
#define CppCmd /lib/cpp
|
||||
#define LdCmd ld
|
||||
#define LexCmd lex
|
||||
#define MakeCmd make
|
||||
#define YaccCmd yacc
|
||||
|
||||
#define ConnectionFlags -DUNIXCONN -DLOCALCONN -DTCPCONN -DFD_SETSIZE=256
|
||||
|
||||
#include <scoLib.rules> /* minor changes to sv4Lib.rules */
|
||||
#include <sv4Lib.rules>
|
||||
|
||||
#define DtSvcDefines -DMULTIBYTE
|
||||
#define DtSearchDefines -DI18N_MSG DtSvcDefines
|
||||
#define DtWidgetDefines DtSearchDefines
|
||||
#define DtPrintDefines DtSearchDefines
|
||||
@@ -1,42 +0,0 @@
|
||||
XCOMM $XConsortium: scoLib.rules /main/2 1996/09/28 16:12:20 rws $
|
||||
|
||||
/*
|
||||
* SharedLibraryTarget3 - 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.
|
||||
*
|
||||
* Work around SCO sh environment size problem.
|
||||
*/
|
||||
#ifndef SharedLibraryTarget3
|
||||
#define SharedLibraryTarget3(libname,rev,solist1,solist2,solist3,down,up) @@\
|
||||
AllTarget(Concat(lib,libname.so.rev)) @@\
|
||||
@@\
|
||||
Concat(lib,libname.so.rev): solist1 solist2 solist3 $(EXTRALIBRARYDEPS) @@\
|
||||
$(RM) $@~ @@\
|
||||
echo -n $(LD) -o up/$@~ $(SHLIBLDFLAGS) -h $@ solist1 " " > Concat(down/lib,cmd) @@\
|
||||
echo -n solist2 " " >> Concat(down/lib,cmd) @@\
|
||||
echo -n solist3 >> Concat(down/lib,cmd) @@\
|
||||
(cd down; $(SHELL) Concat(./lib,cmd)) @@\
|
||||
$(RM) $@ Concat(lib,tmp1) Concat(lib,tmp2) @@\
|
||||
$(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 /* SharedLibraryTarget */
|
||||
|
||||
/*
|
||||
* Redefine this so we can drop -b elf and build COFF objects for the
|
||||
* archived library. This assumes -b elf is hanging out in CCOPTIONS
|
||||
*/
|
||||
#ifndef UnsharedLibObjCompile
|
||||
#define UnsharedLibObjCompile(options) RemoveFile($@) @@\
|
||||
ClearmakeOSName \
|
||||
$(CC) -c $(CDEBUGFLAGS) $(THREADS_CFLAGS) $(ALLDEFINES) options $*.c @@\
|
||||
$(MV) $@ unshared/$@
|
||||
#endif
|
||||
|
||||
@@ -33,8 +33,7 @@ XCOMM site: $TOG: site.def /main/23 1998/03/19 18:43:26 mgreess $
|
||||
* the two following macros need to be defined directly (accordingly to the
|
||||
* TopLevelProject macro defined above).
|
||||
*/
|
||||
# if defined(SunArchitecture) || defined(AIXArchitecture) \
|
||||
|| defined(USLArchitecture)
|
||||
# if defined(SunArchitecture) || defined(AIXArchitecture)
|
||||
# ifndef ProjectRulesFile
|
||||
# define ProjectRulesFile <cde.rules>
|
||||
# endif
|
||||
@@ -74,7 +73,7 @@ XCOMM site: $TOG: site.def /main/23 1998/03/19 18:43:26 mgreess $
|
||||
# endif
|
||||
# endif
|
||||
|
||||
# if defined(USLArchitecture) || defined(AIXArchitecture)
|
||||
# if defined(AIXArchitecture)
|
||||
# define HasCplusplus YES
|
||||
# endif
|
||||
|
||||
|
||||
@@ -1,121 +0,0 @@
|
||||
XCOMM platform: $TOG: usl.cf /main/51 1998/03/23 12:27:39 mgreess $
|
||||
|
||||
#ifndef OSName
|
||||
# define OSName DefaultOSName
|
||||
#endif
|
||||
#ifndef OSMajorVersion
|
||||
# define OSMajorVersion DefaultOSMajorVersion
|
||||
#endif
|
||||
#ifndef OSMinorVersion
|
||||
# define OSMinorVersion DefaultOSMinorVersion
|
||||
#endif
|
||||
#ifndef OSTeenyVersion
|
||||
# define OSTeenyVersion DefaultOSTeenyVersion
|
||||
#endif
|
||||
XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVersion)
|
||||
|
||||
#ifndef CcCmd
|
||||
# define CcCmd /usr/ccs/bin/cc
|
||||
#endif
|
||||
#ifndef CplusplusCmd
|
||||
# define CplusplusCmd /usr/ccs/bin/CC
|
||||
#endif
|
||||
#ifndef CplusplusFilt
|
||||
# define CplusplusFilt /usr/ccs/bin/c++filt
|
||||
#endif
|
||||
#ifndef CplusplusDependIncludes
|
||||
# define CplusplusDependIncludes -I/usr/include/CC
|
||||
#endif
|
||||
|
||||
#define BootstrapCFlags /* none needed */
|
||||
#define StandardDefines -DUSL -DSVR4 -Di386
|
||||
#define NeedWidePrototypes NO /* experimental */
|
||||
#define ServerExtraDefines -D__USLC__ XFree86ServerDefines
|
||||
#define ServerOSDefines -DDDXTIME XFree86ServerOSDefines
|
||||
#define ToolkitStringsABIOptions -intelabi
|
||||
#if OSMajorVersion < 2
|
||||
#define XawI18nDefines -DHAS_WCTYPE_H -DHAS_ISW_FUNCS
|
||||
#else
|
||||
#define XawI18nDefines -DHAS_WCHAR_H -DHAS_ISW_FUNCS
|
||||
#endif
|
||||
|
||||
#if OSMajorVersion == 2
|
||||
# if OSMinorVersion == 0
|
||||
# define ExtraLibraries -lsocket -lnsl -lgen -lw
|
||||
# else
|
||||
# define ExtraLibraries -lsocket -lnsl -L/usr/ccs/lib -lgen
|
||||
# endif
|
||||
|
||||
# define ThreadedX YES
|
||||
# define HasThreadSafeAPI NO
|
||||
/* UnixWare does not have MT-safe pwd routines. */
|
||||
# define MTSafeAPIDefines -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI \
|
||||
-DXNO_MTSAFE_GRPAPI
|
||||
# define SystemMTDefines -D_REENTRANT
|
||||
# define ThreadsLibraries -lthread
|
||||
# define ThreadsCplusplusLibraries -lthread
|
||||
# define DefaultCCOptions -W0,-2A -Xa -Dasm=__asm
|
||||
#endif
|
||||
#define BuildLibPathVar LD_LIBRARY_PATH
|
||||
|
||||
#ifndef UseExportLists
|
||||
# define UseExportLists YES
|
||||
#endif
|
||||
|
||||
#define GencatFlags -m
|
||||
|
||||
#include <svr4.cf>
|
||||
|
||||
/*
|
||||
* When generating templates the UnixWare 2.02 C++ compiler leaves
|
||||
* protected .i files behind. Remove them so other people can
|
||||
* compile too.
|
||||
*/
|
||||
#ifndef ObjectCplusplusCompile
|
||||
#define ObjectCplusplusCompile(options) RemoveFiles($@ $*.i) @@\
|
||||
ClearmakeOSName \
|
||||
$(CXX) -c $(CXXFLAGS) options $*.CCsuf
|
||||
#endif
|
||||
|
||||
/* USL does not have a shared regex library. */
|
||||
#define UseLocalRegex YES
|
||||
|
||||
#define XmDefines \
|
||||
-DNO_REGCOMP -DNEED_STRCASECMP \
|
||||
-DSUPPORT_ZERO_WIDTH -DHAS_WIDECHAR_FUNCTIONS
|
||||
#define DtSvcDefines -DMULTIBYTE -DNO_REGCOMP
|
||||
#define DtSearchDefines -DI18N_MSG DtSvcDefines
|
||||
#define DtWidgetDefines DtSearchDefines
|
||||
#define DtPrintDefines DtSearchDefines
|
||||
|
||||
#define HasStrcasecmp NO
|
||||
|
||||
/* For DtHelp's TIFF processing routines. */
|
||||
#define LSBBitOrder YES
|
||||
|
||||
#define ArchitectureDefines -DUSL_ARCHITECTURE
|
||||
|
||||
#define ExportListGenSource elistgen.usl
|
||||
#define ShlibExportListOpt(filename) Concat(-Bexport:,filename)
|
||||
|
||||
/* Remove -lc because select.o is not relocatable. */
|
||||
/* Remove -lgen (and set UseLocalRegex) because no shared library exists. */
|
||||
#if OSMajorVersion == 2
|
||||
# if OSMinorVersion == 0
|
||||
# define SharedXmReqs $(LDPRELIBS) SharedXReqs -lsocket -lnsl -lw
|
||||
# define SharedMrmReqs $(LDPRELIBS) $(XMLIB) SharedXReqs -lsocket -lnsl -lw
|
||||
# define SharedUilReqs $(LDPRELIBS) $(MRESOURCELIB) $(XMLIB) SharedXReqs -lsocket -lnsl -lw
|
||||
# else
|
||||
# define SharedXmReqs $(LDPRELIBS) SharedXReqs -lsocket -lnsl
|
||||
# define SharedMrmReqs $(LDPRELIBS) $(XMLIB) SharedXReqs -lsocket -lnsl
|
||||
# define SharedUilReqs $(LDPRELIBS) $(MRESOURCELIB) $(XMLIB) SharedXReqs -lsocket -lnsl
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* <X11/Xos_r.h> requires process locking for missing _r functions */
|
||||
#define TtClientLibs $(TTLIB) $(XTOOLLIB) $(XLIB)
|
||||
#define TtClientDepLibs $(DEPTTLIB) $(DEPXTOOLLIB) $(DEPXLIB)
|
||||
|
||||
#define CdeProjectDefines \
|
||||
-DANSICPP -DMULTIBYTE -DNLS16 -DNEED_STRCASECMP \
|
||||
-DOSMAJORVERSION=OSMajorVersion -DOSMINORVERSION=OSMinorVersion
|
||||
@@ -52,14 +52,6 @@ XCOMM platform: $XConsortium: x386.cf /main/15 1996/09/28 16:14:00 rws $
|
||||
#define PosixLibraries /**/
|
||||
#endif
|
||||
|
||||
#ifdef SCO
|
||||
#define OSDefines -DSCO -DBROKEN_FTOL -DNO_PROTOTYPE -D_SVID
|
||||
#define OSVendor "Santa Cruz Operation Ltd."
|
||||
#define LocalLibraries -lpt
|
||||
#define SocketLibraries -lsocket
|
||||
#define PosixLibraries /**/
|
||||
#endif
|
||||
|
||||
#ifdef ATT
|
||||
#define OSDefines -DATT
|
||||
#define OSVendor "AT&T"
|
||||
|
||||
Reference in New Issue
Block a user