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 -DSCO -DBROKEN_FTOL -DNO_PROTOTYPE -D_SVID
57 #define OSVendor "Santa Cruz Operation Ltd."
58 #define LocalLibraries -lpt
59 #define SocketLibraries -lsocket
60 #define PosixLibraries /**/
64 #define OSDefines -DATT
65 #define OSVendor "AT&T"
66 #define LocalLibraries -lpt
67 #define SocketLibraries -lnet -lnsl_s /* just a guess */
68 #define PosixLibraries /**/
71 #define OSName Unix System V/386 Release 3.2
72 #define OSMajorVersion 3
73 #define OSMinorVersion 2
74 #define OSRelease -DSYSV -DSYSV386
77 # define CcCmd gcc -DNO_ASM -fstrength-reduce -fpcc-struct-return -fwritable-strings
78 # define LibraryCcCmd gcc -DNO_ASM -fstrength-reduce -fpcc-struct-return
79 # define ShlibDefines -D__GNUC__ -DGNULIB=/usr/local/lib/gcc-gnulib
81 # define ShlibDefines /**/
85 /* # define ConnectionFlags -DLOCALCONN -DTCPCONN */
86 # define ConnectionFlags -DTCPCONN
87 # define ExtraLibraries SocketLibraries LocalLibraries -lc_s PosixLibraries
89 # define ConnectionFlags -DLOCALCONN
90 # define ExtraLibraries $(LIBDIR)/etc/inetemul.o LocalLibraries -lc_s PosixLibraries
93 /* #include <sv3Lib.rules> */ /* not working yet */
96 * Man pages need to be formatted when installed, so override the default
99 #define InstallManPageLong(file,destdir,dest) @@\
100 install.man:: file.man @@\
101 $(RM) destdir/dest.$(MANSUFFIX) @@\
102 cat file.man | $(NEQN) | $(NROFF) $(MANMACROS) >/tmp/file.man @@\
103 $(INSTALL) -c $(INSTMANFLAGS) /tmp/file.man destdir/dest.$(MANSUFFIX) @@\
106 #define InstallMultipleMan(list,dest) @@\
107 install.man:: list @@\
108 @MakeFlagsToShellFlags(i,set +e); \ @@\
109 for i in list; do \ @@\
111 $(RM) dest/$$i; \ @@\
112 cat $$i | $(NEQN) | $(NROFF) $(MANMACROS) >/tmp/$$i; \ @@\
113 $(INSTALL) -c $(INSTMANFLAGS) /tmp/$$i dest/$$i; \ @@\
114 $(RM) /tmp/$$i); \ @@\
117 /* If you have trouble with make bombing out in Xlib, try uncommenting this. */
118 /* You will not get dependencies as a result, but better than nothing. */
119 /* #define DependTarget3(srcs1,srcs2,srcs3) */
121 #endif /* i386SVR3Architecture */
127 #if defined(i386SVR4Architecture)
131 /* this is now just for Dell's one */
134 #define OSDefines -DDELL
135 #define OSVendor "DELL Computer Corp."
138 #define OSName Unix System V/386 Release 4.0
139 #define OSMajorVersion 4
140 #define OSMinorVersion 0
141 #define OSRelease -DSVR4 -DSYSV386
144 # define CcCmd gcc -ansi -fstrength-reduce -fpcc-struct-return -Di386
145 # if HasSharedLibraries
146 # define LibraryCcCmd cc -Xa -Di386 -Dasm=__asm
149 # define CcCmd cc -Xa -Di386 -Dasm=__asm
152 #include <sv4Lib.rules>
154 #endif /* i386SVR4Architecture */
157 XCOMM operating system: OSName OSVendor