aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/config/cf/sony.cf
diff options
context:
space:
mode:
authorReinhard Tartler <siretart@tauware.de>2011-10-10 17:43:39 +0200
committerReinhard Tartler <siretart@tauware.de>2011-10-10 17:43:39 +0200
commitf4092abdf94af6a99aff944d6264bc1284e8bdd4 (patch)
tree2ac1c9cc16ceb93edb2c4382c088dac5aeafdf0f /nx-X11/config/cf/sony.cf
parenta840692edc9c6d19cd7c057f68e39c7d95eb767d (diff)
downloadnx-libs-f4092abdf94af6a99aff944d6264bc1284e8bdd4.tar.gz
nx-libs-f4092abdf94af6a99aff944d6264bc1284e8bdd4.tar.bz2
nx-libs-f4092abdf94af6a99aff944d6264bc1284e8bdd4.zip
Imported nx-X11-3.1.0-1.tar.gznx-X11/3.1.0-1
Summary: Imported nx-X11-3.1.0-1.tar.gz Keywords: Imported nx-X11-3.1.0-1.tar.gz into Git repository
Diffstat (limited to 'nx-X11/config/cf/sony.cf')
-rw-r--r--nx-X11/config/cf/sony.cf100
1 files changed, 100 insertions, 0 deletions
diff --git a/nx-X11/config/cf/sony.cf b/nx-X11/config/cf/sony.cf
new file mode 100644
index 000000000..014cedcf7
--- /dev/null
+++ b/nx-X11/config/cf/sony.cf
@@ -0,0 +1,100 @@
+XCOMM platform: $Xorg: sony.cf,v 1.3 2000/08/17 19:41:48 cpqbld Exp $
+
+#ifdef SonyBsdArchitecture
+
+#ifndef OSName
+#define OSName NEWS-OS 4.2.1C
+#endif
+#ifndef OSMajorVersion
+#define OSMajorVersion 4
+#endif
+#ifndef OSMinorVersion
+#define OSMinorVersion 2
+#endif
+#ifndef OSTeenyVersion
+#define OSTeenyVersion 1
+#endif
+#define SetTtyGroup YES
+#define HasVoidSignalReturn NO
+#define HasNdbm YES
+#define DirFailPrefix -
+#define InstKmemFlags -g kmem -m 2711
+#define DefaultUserPath :/bin:/usr/bin:$(BINDIR):/usr/ucb:/usr/sony/bin:
+#define DefaultSystemPath /etc:/usr/etc:/bin:/usr/bin:$(BINDIR):/usr/ucb:/usr/sony/bin:
+#ifdef MipsArchitecture
+#define ExtraLibraries -lmld
+#define LintOpts -ax
+#define LintLibFlag -o
+#define DefaultCCOptions -Wf,-XNh2000,-XNd6000,-XNp10000 -Olimit 2000
+#else
+#define HasFortran YES
+#endif
+#if OSMajorVersion >= 4
+#define HasShm YES
+#define HasPutenv YES
+#define HasSecureRPC YES
+#define XdmDir /etc/xdm
+#if OSMinorVersion >= 1
+#define HasBsearch YES
+#else
+#define HasBsearch NO
+#endif
+#else
+#define StandardDefines -DNOSTDHDRS
+#define HasBsearch NO
+#endif
+
+#else
+
+#ifndef OSName
+#define OSName DefaultOSName
+#endif
+#ifndef OSMajorVersion
+#define OSMajorVersion DefaultOSMajorVersion
+#endif
+#ifndef OSMinorVersion
+#define OSMinorVersion DefaultOSMinorVersion
+#endif
+#ifndef OSTeenyVersion
+#define OSTeenyVersion DefaultOSTeenyVersion
+#endif
+XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVersion)
+
+#define BootstrapCFlags -Dsony
+#define SystemV4 YES
+#define HasVFork NO
+#define CcCmd /usr/bin/cc
+#define LdCmd /usr/bin/ld
+#if OSMajorVersion >= 6
+#define DefaultCCOptions -Xa -Wf,-XNp9000,-XNd6000
+#define SharedLibraryLoadFlags -G -rpath $(USRLIBDIRPATH)
+#define PositionIndependentCFlags -K PIC -Wx,-G 0
+#define PositionIndependentCplusplusFlags -K PIC -Wx,-G 0
+#define SharedXmuReqs $(LDPRELIBS) $(XTOOLLIB) $(XLIB)
+#define FixupLibReferences() /**/
+#include <sv4Lib.rules>
+#else
+#define DefaultCCOptions -Wf,-XNp9000,-XNd6000
+#endif
+
+#endif
+
+/*
+ * SONY C++ compiler is based on vanilla cfront, which means it
+ * refuses to compile files unless their names end in ".C". We
+ * have to completely override .SUFFIXES to avoid using the builtin
+ * .C to .o rule in cases where the link to foo.C is already there,
+ * because the builtin rule doesn't use the right compilation flags.
+ */
+
+.SUFFIXES:
+.SUFFIXES: .o .c .y .l .s .sh .h .f .Y .L .cxx
+
+#define NormalLibObjCplusplusCompile(options) test -r $*.C || $(LN) $*.CCsuf $*.C @@\
+ $(CXX) -c $(CXXFLAGS) options $*.C
+
+XCOMM operating system: OSName
+
+#ifndef BuildServer
+#define BuildServer NO
+#endif