1 XCOMM platform: $XConsortium: x386.cf /main/15 1996/09/28 16:14:00 rws $
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 must 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
39 /* INTERACTIVE UNIX Version 2.2.1 */
40 # define OSVendor "Interactive System Corp."
41 # define OSDefines -DISC
42 # define LocalLibraries -lpt
43 # define PosixLibraries -lcposix
44 # define SocketLibraries -linet
48 #define OSVendor "ESIX System Inc."
49 #define OSDefines -DESIX
50 #define LocalLibraries -lpt
51 #define SocketLibraries -lnet -lnsl_s
52 #define PosixLibraries /**/
56 #define OSDefines -DATT
57 #define OSVendor "AT&T"
58 #define LocalLibraries -lpt
59 #define SocketLibraries -lnet -lnsl_s /* just a guess */
60 #define PosixLibraries /**/
63 #define OSName Unix System V/386 Release 3.2
64 #define OSMajorVersion 3
65 #define OSMinorVersion 2
66 #define OSRelease -DSYSV -DSYSV386
69 # define CcCmd gcc -DNO_ASM -fstrength-reduce -fpcc-struct-return -fwritable-strings
70 # define LibraryCcCmd gcc -DNO_ASM -fstrength-reduce -fpcc-struct-return
71 # define ShlibDefines -D__GNUC__ -DGNULIB=/usr/local/lib/gcc-gnulib
73 # define ShlibDefines /**/
77 /* # define ConnectionFlags -DLOCALCONN -DTCPCONN */
78 # define ConnectionFlags -DTCPCONN
79 # define ExtraLibraries SocketLibraries LocalLibraries -lc_s PosixLibraries
81 # define ConnectionFlags -DLOCALCONN
82 # define ExtraLibraries $(LIBDIR)/etc/inetemul.o LocalLibraries -lc_s PosixLibraries
85 /* #include <sv3Lib.rules> */ /* not working yet */
88 * Man pages need to be formatted when installed, so override the default
91 #define InstallManPageLong(file,destdir,dest) @@\
92 install.man:: file.man @@\
93 $(RM) destdir/dest.$(MANSUFFIX) @@\
94 cat file.man | $(NEQN) | $(NROFF) $(MANMACROS) >/tmp/file.man @@\
95 $(INSTALL) -c $(INSTMANFLAGS) /tmp/file.man destdir/dest.$(MANSUFFIX) @@\
98 #define InstallMultipleMan(list,dest) @@\
99 install.man:: list @@\
100 @MakeFlagsToShellFlags(i,set +e); \ @@\
101 for i in list; do \ @@\
103 $(RM) dest/$$i; \ @@\
104 cat $$i | $(NEQN) | $(NROFF) $(MANMACROS) >/tmp/$$i; \ @@\
105 $(INSTALL) -c $(INSTMANFLAGS) /tmp/$$i dest/$$i; \ @@\
106 $(RM) /tmp/$$i); \ @@\
109 /* If you have trouble with make bombing out in Xlib, try uncommenting this. */
110 /* You will not get dependencies as a result, but better than nothing. */
111 /* #define DependTarget3(srcs1,srcs2,srcs3) */
113 #endif /* i386SVR3Architecture */
119 #if defined(i386SVR4Architecture)
123 /* this is now just for Dell's one */
126 #define OSDefines -DDELL
127 #define OSVendor "DELL Computer Corp."
130 #define OSName Unix System V/386 Release 4.0
131 #define OSMajorVersion 4
132 #define OSMinorVersion 0
133 #define OSRelease -DSVR4 -DSYSV386
136 # define CcCmd gcc -ansi -fstrength-reduce -fpcc-struct-return -Di386
137 # if HasSharedLibraries
138 # define LibraryCcCmd cc -Xa -Di386 -Dasm=__asm
141 # define CcCmd cc -Xa -Di386 -Dasm=__asm
144 #include <sv4Lib.rules>
146 #endif /* i386SVR4Architecture */
149 XCOMM operating system: OSName OSVendor