1 XCOMM platform: $XConsortium: bsdi.cf /main/22 1996/09/28 16:09:30 rws $
2 XCOMM platform: $XFree86: xc/config/cf/bsdi.cf,v 3.19 1995/10/21 11:26:00 dawes Exp $
5 #define OSName BSD/OS 2.0
10 XCOMM operating system: OSName
11 #ifndef OSMajorVersion
12 #define OSMajorVersion 2
14 #ifndef OSMinorVersion
15 #define OSMinorVersion 0
19 #define HasBSD44Sockets YES
21 XCOMM BSD/OS 2.0 comes with gcc 2.6.3 installed as gcc2 and gcc.
22 XCOMM gcc 1.42 is installed as cc.
23 XCOMM BSD/386 1.1 comes with gcc 2.5.8 installed as gcc2.
24 XCOMM gcc 1.42 is installed as cc and gcc.
25 XCOMM BSD/386 1.0 comes with gcc 1.40 as the only compiler.
26 XCOMM The default is to use gcc2 on release 2.0 and 1.1 and gcc1 on 1.0
27 XCOMM The defaults can be altered by defining "HasGcc2" as YES or NO in
33 #if OSMajorVersion > 1 || OSMinorVersion >= 1
39 # ifndef HasGcc2ForCplusplus
40 # define HasGcc2ForCplusplus YES
43 # define OptimizedCDebugFlags DefaultGcc2i386Opt -m486
46 # define OptimizedCDebugFlags -O
48 #define CppCmd /usr/bin/cpp
49 #define TroffCmd groff -Tps
50 #define MkdirHierCmd mkdir -p
51 #define SetTtyGroup YES
53 #define HasWChar32 YES
54 #define DirFailPrefix -
55 #define AvoidNullMakeCommand YES
57 # define GccUsesGas YES
61 #define DefaultCCOptions /**/
63 #define DefaultCCOptions -ansi
68 # define GccGasOption -DGCCUSESGAS
70 # define GccGasOption /**/
73 #define ServerExtraDefines GccGasOption XFree86ServerDefines
74 #define ServerOSDefines XFree86ServerOSDefines -DDDXTIME
75 #define XFree86ConsoleDefines /**/
76 #define AsmDefines -DUSE_GAS
78 #define StandardDefines -DCSRG_BASED
80 #define InstallCmd /usr/bin/install
81 #define EqnCmd eqn -Tps
86 #define DefaultUserPath :/bin:/usr/bin:/usr/local/bin:$(BINDIR)
87 #define DefaultSystemPath /sbin:/usr/sbin:/bin:/usr/bin:$(BINDIR)
89 XCOMM Man pages need to be formatted when installed, so override the default
93 #define ManSourcePath $(MANPATH)/cat
95 #define InstallManPageLong(file,destdir,dest) @@\
99 @if [ -f file.man ]; \ @@\
101 cat file.man | $(NEQN) | $(TBL) | $(NROFF) $(MANMACROS) | $(COL) >/tmp/$$$$.man; \ @@\
102 cp /tmp/$$$$.man file.0; \ @@\
103 $(RM) /tmp/$$$$.man; \ @@\
109 MakeDir($(DESTDIR)destdir) @@\
110 -@if [ -f file.0 ]; \ @@\
112 $(INSTALL) -c $(INSTMANFLAGS) file.0 $(DESTDIR)destdir/dest.0; \@@\
115 #define InstallGenManPageLong(file,destdir,dest,suffix) @@\
116 InstallManPageLong(file,destdir,dest)
118 #define InstallMultipleManSuffix(list,dest,suff) @@\
120 MakeDir($(DESTDIR)dest) @@\
121 case '${MFLAGS}' in *[i]*) set +e;; esac; \ @@\
122 for i in list; do \ @@\
124 cat $$i.suff | $(NEQN) | $(TBL) | $(NROFF) $(MANMACROS) | $(COL) >/tmp/$$$$.suff; \ @@\
125 $(INSTALL) -c $(INSTMANFLAGS) /tmp/$$$$.suff $(DESTDIR)dest/$$i.0; \ @@\
126 $(RM) /tmp/$$$$.suff); \ @@\
129 #define InstallMultipleMan(list,dest) @@\
130 InstallMultipleManSuffix(list,dest,man)
132 #define InstallManPageAliases(file,destdir,aliases) @@\
134 @case '${MFLAGS}' in *[i]*) set +e;; esac; \ @@\
135 for i in aliases; do \ @@\
137 $(RM) $(DESTDIR)destdir/$$i.0;\ @@\
138 (cd $(DESTDIR)destdir; $(LN) file.0 $$i.0);\ @@\
142 #define InstallGenManPageAliases(file,destdir,suffix,aliases) @@\
143 InstallManPageAliases(file,destdir,aliases)
146 * These seem redundant, but leave them in for now.
150 #include <xfree86.cf>