1 XCOMM platform: $TOG: usl.cf /main/50 1997/04/17 14:11:39 barstow $
6 XCOMM platform: $XFree86: xc/config/cf/usl.cf,v 3.13.2.1 1997/05/03 09:43:10 dawes Exp $
9 # define OSName DefaultOSName
11 #ifndef OSMajorVersion
12 # define OSMajorVersion DefaultOSMajorVersion
14 #ifndef OSMinorVersion
15 # define OSMinorVersion DefaultOSMinorVersion
17 #ifndef OSTeenyVersion
18 # define OSTeenyVersion DefaultOSTeenyVersion
20 XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVersion)
23 # define CcCmd /usr/ccs/bin/cc
26 # define CplusplusCmd /usr/ccs/bin/CC
29 # define CplusplusFilt /usr/ccs/bin/c++filt
31 #ifndef CplusplusDependIncludes
32 # define CplusplusDependIncludes -I/usr/include/CC
35 #define BootstrapCFlags /* none needed */
36 #define StandardDefines -DUSL -DSVR4 -Di386
37 #define NeedWidePrototypes NO /* experimental */
38 #define ServerExtraDefines -D__USLC__ XFree86ServerDefines
39 #define ServerOSDefines -DDDXTIME XFree86ServerOSDefines
40 #define ToolkitStringsABIOptions -intelabi
41 #if OSMajorVersion < 2
42 #define XawI18nDefines -DHAS_WCTYPE_H -DHAS_ISW_FUNCS
44 #define XawI18nDefines -DHAS_WCHAR_H -DHAS_ISW_FUNCS
46 #if OSTeenyVersion > 1
47 # define ExtraLibraries -lsocket -lnsl -lgen -lw
48 # define ThreadedX YES
49 # define HasThreadSafeAPI NO
50 /* UnixWare does not have MT-safe pwd routines. */
51 # define MTSafeAPIDefines \
52 -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI -DXNO_MTSAFE_GRPAPI
53 # define SystemMTDefines -D_REENTRANT
54 # define ThreadsLibraries -lthread
55 # define ThreadsCplusplusLibraries -lthread
56 # define DefaultCCOptions -W0,-2A -Xa -Dasm=__asm
58 #define BuildLibPathVar LD_LIBRARY_PATH
60 #ifndef UseExportLists
61 # define UseExportLists YES
64 #define GencatFlags -m
69 * When generating templates the UnixWare 2.02 C++ compiler leaves
70 * protected .i files behind. Remove them so other people can
73 #ifndef ObjectCplusplusCompile
74 #define ObjectCplusplusCompile(options) RemoveFiles($@ $*.i) @@\
76 $(CXX) -c $(CXXFLAGS) options $*.CCsuf
79 /* USL does not have a shared regex library. */
80 #define UseLocalRegex YES
83 -DNO_REGCOMP -DNEED_STRCASECMP \
84 -DSUPPORT_ZERO_WIDTH -DHAS_WIDECHAR_FUNCTIONS
85 #define DtSvcDefines -DXK_MISCELLANY -DMULTIBYTE -DNO_REGCOMP
86 #define DtSearchDefines -DI18N_MSG DtSvcDefines
87 #define DtWidgetDefines DtSearchDefines
88 #define DtPrintDefines DtSearchDefines
90 #define HasStrcasecmp NO
92 /* For DtHelp's TIFF processing routines. */
93 #define LSBBitOrder YES
95 #define ArchitectureDefines -DUSL_ARCHITECTURE
97 #define ExportListGenSource elistgen.usl
98 #define ShlibExportListOpt(filename) Concat(-Bexport:,filename)
100 /* Remove -lc because select.o is not relocatable. */
101 /* Remove -lgen (and set UseLocalRegex) because no shared library exists. */
102 #define SharedXmReqs $(LDPRELIBS) SharedXReqs -lsocket -lnsl -lw
103 #define SharedMrmReqs $(LDPRELIBS) $(XMLIB) SharedXReqs -lsocket -lnsl -lw
104 #define SharedUilReqs $(LDPRELIBS) $(MRESOURCELIB) $(XMLIB) SharedXReqs -lsocket -lnsl -lw
106 /* <X11/Xos_r.h> requires process locking for missing _r functions */
107 #define TtClientLibs $(TTLIB) $(XTOOLLIB) $(XLIB)
108 #define TtClientDepLibs $(DEPTTLIB) $(DEPXTOOLLIB) $(DEPXLIB)
110 #define CdeProjectDefines \
111 -DANSICPP -DMULTIBYTE -DNLS16 -DNEED_STRCASECMP \
112 -DOSMAJORVERSION=OSMajorVersion -DOSMINORVERSION=OSMinorVersion