1 XCOMM platform: $XConsortium: sony.cf /main/69 1996/09/29 18:19:36 kaleb $
3 #ifdef SonyBsdArchitecture
6 #define OSName NEWS-OS 4.2.1C
9 #define OSMajorVersion 4
11 #ifndef OSMinorVersion
12 #define OSMinorVersion 2
14 #ifndef OSTeenyVersion
15 #define OSTeenyVersion 1
17 #define SetTtyGroup YES
18 #define HasVoidSignalReturn NO
20 #define DirFailPrefix -
21 #define InstKmemFlags -g kmem -m 2711
22 #define DefaultUserPath :/bin:/usr/bin:$(BINDIR):/usr/ucb:/usr/sony/bin:
23 #define DefaultSystemPath /etc:/usr/etc:/bin:/usr/bin:$(BINDIR):/usr/ucb:/usr/sony/bin:
24 #ifdef MipsArchitecture
25 #define ExtraLibraries -lmld
27 #define LintLibFlag -o
28 #define DefaultCCOptions -Wf,-XNh2000,-XNd6000,-XNp10000 -Olimit 2000
29 #define PexCCOptions -Wf,-XNh2000,-XNd15000,-XNp15000 -Olimit 2000
31 #define HasFortran YES
33 #if OSMajorVersion >= 4
36 #define HasSecureRPC YES
37 #define XdmDir /etc/xdm
38 #if OSMinorVersion >= 1
39 #define HasBsearch YES
44 #define StandardDefines -DNOSTDHDRS
51 #define OSName DefaultOSName
53 #ifndef OSMajorVersion
54 #define OSMajorVersion DefaultOSMajorVersion
56 #ifndef OSMinorVersion
57 #define OSMinorVersion DefaultOSMinorVersion
59 #ifndef OSTeenyVersion
60 #define OSTeenyVersion DefaultOSTeenyVersion
62 XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVersion)
64 #define BootstrapCFlags -Dsony
67 #define CcCmd /usr/bin/cc
68 #define LdCmd /usr/bin/ld
69 #if OSMajorVersion >= 6
70 #define DefaultCCOptions -Xa -Wf,-XNp9000,-XNd6000
71 #define PexCCOptions -Xa -Wf,-XNp15000,-XNd15000
72 #define SharedLibraryLoadFlags -G -rpath $(USRLIBDIRPATH)
73 #define PositionIndependentCFlags -K PIC -Wx,-G 0
74 #define PositionIndependentCplusplusFlags -K PIC -Wx,-G 0
75 #define SharedXmuReqs $(LDPRELIBS) $(XTOOLLIB) $(XLIB)
76 #define FixupLibReferences() /**/
77 #include <sv4Lib.rules>
79 #define DefaultCCOptions -Wf,-XNp9000,-XNd6000
80 #define PexCCOptions -Wf,-XNp15000,-XNd15000
86 * SONY C++ compiler is based on vanilla cfront, which means it
87 * refuses to compile files unless their names end in ".C". We
88 * have to completely override .SUFFIXES to avoid using the builtin
89 * .C to .o rule in cases where the link to foo.C is already there,
90 * because the builtin rule doesn't use the right compilation flags.
94 .SUFFIXES: .o .c .y .l .s .sh .h .f .Y .L .cxx
96 #define NormalLibObjCplusplusCompile(options) test -r $*.C || $(LN) $*.CCsuf $*.C @@\
97 $(CXX) -c $(CXXFLAGS) options $*.C
99 XCOMM operating system: OSName
102 #define BuildServer NO