1 XCOMM platform: $Xorg: x386.cf,v 1.3 2000/08/17 19:41:48 cpqbld Exp $
3 /*****************************************************************************
4 * Site-specfic parameters *
5 *****************************************************************************/
8 * there are some switches to set appropriate...
11 #define HasGcc YES /* doesn't work for SVR4 */
12 #define HasNdbm YES /* correct for GNU dbm & SVR4 */
13 #define StripInstalledPrograms YES
14 #define X386Server YES
15 #define ExtensionOSDefines -DXTESTEXT1
18 /*****************************************************************************
19 * Do not change anything below *
20 *****************************************************************************/
22 /* You mus manually compute BootstrapCFlags for initial build */
23 #define BootstrapCFlags OSDefines OSRelease
25 #define StandardDefines OSDefines OSRelease
26 #define LdCombineFlags -r
28 #if defined(i386SVR3Architecture)
32 #define NeedBerklib YES
33 #define HasSymLinks NO
35 #ifndef UseDeprecatedKeyboardDriver
36 #define UseDeprecatedKeyboardDriver YES
43 /* INTERACTIVE UNIX Version 2.2.1 */
44 # define OSVendor "Interactive System Corp."
45 # define OSDefines -DISC
46 # define LocalLibraries -lpt
47 # define PosixLibraries -lcposix
48 # define SocketLibraries -linet
52 #define OSVendor "ESIX System Inc."
53 #define OSDefines -DESIX
54 #define LocalLibraries -lpt
55 #define SocketLibraries -lnet -lnsl_s
56 #define PosixLibraries /**/
60 #define OSDefines -DATT
61 #define OSVendor "AT&T"
62 #define LocalLibraries -lpt
63 #define SocketLibraries -lnet -lnsl_s /* just a guess */
64 #define PosixLibraries /**/
67 #define OSName Unix System V/386 Release 3.2
68 #define OSMajorVersion 3
69 #define OSMinorVersion 2
70 #define OSRelease -DSYSV -DSYSV386
73 # define CcCmd gcc -DNO_ASM -fstrength-reduce -fpcc-struct-return -fwritable-strings
74 # define LibraryCcCmd gcc -DNO_ASM -fstrength-reduce -fpcc-struct-return
75 # define ShlibDefines -D__GNUC__ -DGNULIB=/usr/local/lib/gcc-gnulib
77 # define ShlibDefines /**/
81 /* # define ConnectionFlags -DLOCALCONN -DTCPCONN */
82 # define ConnectionFlags -DTCPCONN
83 # define ExtraLibraries SocketLibraries LocalLibraries -lc_s PosixLibraries
85 # define ConnectionFlags -DLOCALCONN
86 # define ExtraLibraries $(LIBDIR)/etc/inetemul.o LocalLibraries -lc_s PosixLibraries
89 /* #include <sv3Lib.rules> */ /* not working yet */
92 * Man pages need to be formatted when installed, so override the default
95 #define InstallManPageLong(file,destdir,dest) @@\
96 install.man:: file.man @@\
97 $(RM) destdir/dest.$(MANSUFFIX) @@\
98 cat file.man | $(NEQN) | $(NROFF) $(MANMACROS) >/tmp/file.man @@\
99 $(INSTALL) -c $(INSTMANFLAGS) /tmp/file.man destdir/dest.$(MANSUFFIX) @@\
102 #define InstallMultipleMan(list,dest) @@\
103 install.man:: list @@\
104 @MakeFlagsToShellFlags(i,set +e); \ @@\
105 for i in list; do \ @@\
107 $(RM) dest/$$i; \ @@\
108 cat $$i | $(NEQN) | $(NROFF) $(MANMACROS) >/tmp/$$i; \ @@\
109 $(INSTALL) -c $(INSTMANFLAGS) /tmp/$$i dest/$$i; \ @@\
110 $(RM) /tmp/$$i); \ @@\
113 /* If you have trouble with make bombing out in Xlib, try uncommenting this. */
114 /* You will not get dependencies as a result, but better than nothing. */
115 /* #define DependTarget3(srcs1,srcs2,srcs3) */
117 #endif /* i386SVR3Architecture */
123 #if defined(i386SVR4Architecture)
127 /* this is now just for Dell's one */
130 #define OSDefines -DDELL
131 #define OSVendor "DELL Computer Corp."
134 #define OSName Unix System V/386 Release 4.0
135 #define OSMajorVersion 4
136 #define OSMinorVersion 0
137 #define OSRelease -DSVR4 -DSYSV386
140 # define CcCmd gcc -ansi -fstrength-reduce -fpcc-struct-return -Di386
141 # if HasSharedLibraries
142 # define LibraryCcCmd cc -Xa -Di386 -Dasm=__asm
145 # define CcCmd cc -Xa -Di386 -Dasm=__asm
148 #include <sv4Lib.rules>
150 #endif /* i386SVR4Architecture */
153 XCOMM operating system: OSName OSVendor