summaryrefslogtreecommitdiff
path: root/xorg-cf-files/sony.cf
diff options
context:
space:
mode:
authorDavid Nusinow <dnusinow@debian.org>2006-05-30 02:29:27 +0000
committerDavid Nusinow <dnusinow@debian.org>2006-05-30 02:29:27 +0000
commit0836575e61e03f4bd9623f19dab9de4b2d0861f7 (patch)
tree2d567bc929cf5078b083636dfbfd5d9c5f48e1e0 /xorg-cf-files/sony.cf
parent2b146c96244d7f63f3e619d060606917f0bf66a5 (diff)
downloadxutils-dev-0836575e61e03f4bd9623f19dab9de4b2d0861f7.tar.gz
Move all xutils-dev working dirs to use svn best practices
Diffstat (limited to 'xorg-cf-files/sony.cf')
-rw-r--r--xorg-cf-files/sony.cf100
1 files changed, 100 insertions, 0 deletions
diff --git a/xorg-cf-files/sony.cf b/xorg-cf-files/sony.cf
new file mode 100644
index 0000000..014cedc
--- /dev/null
+++ b/xorg-cf-files/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