aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/config/cf/x386.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/x386.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/x386.cf')
-rw-r--r--nx-X11/config/cf/x386.cf153
1 files changed, 153 insertions, 0 deletions
diff --git a/nx-X11/config/cf/x386.cf b/nx-X11/config/cf/x386.cf
new file mode 100644
index 000000000..d7d4c803f
--- /dev/null
+++ b/nx-X11/config/cf/x386.cf
@@ -0,0 +1,153 @@
+XCOMM platform: $Xorg: x386.cf,v 1.3 2000/08/17 19:41:48 cpqbld Exp $
+
+/*****************************************************************************
+ * Site-specfic parameters *
+ *****************************************************************************/
+
+/*
+ * there are some switches to set appropriate...
+ */
+
+#define HasGcc YES /* doesn't work for SVR4 */
+#define HasNdbm YES /* correct for GNU dbm & SVR4 */
+#define StripInstalledPrograms YES
+#define X386Server YES
+#define ExtensionOSDefines -DXTESTEXT1
+#define MotifBC YES
+
+/*****************************************************************************
+ * Do not change anything below *
+ *****************************************************************************/
+
+/* You mus manually compute BootstrapCFlags for initial build */
+#define BootstrapCFlags OSDefines OSRelease
+
+#define StandardDefines OSDefines OSRelease
+#define LdCombineFlags -r
+
+#if defined(i386SVR3Architecture)
+
+#define SystemV YES
+
+#define NeedBerklib YES
+#define HasSymLinks NO
+
+#ifndef UseDeprecatedKeyboardDriver
+#define UseDeprecatedKeyboardDriver YES
+#endif
+
+/*
+ * V/386 Release 3.2
+ */
+#ifdef ISC
+/* INTERACTIVE UNIX Version 2.2.1 */
+# define OSVendor "Interactive System Corp."
+# define OSDefines -DISC
+# define LocalLibraries -lpt
+# define PosixLibraries -lcposix
+# define SocketLibraries -linet
+#endif
+
+#ifdef ESIX
+#define OSVendor "ESIX System Inc."
+#define OSDefines -DESIX
+#define LocalLibraries -lpt
+#define SocketLibraries -lnet -lnsl_s
+#define PosixLibraries /**/
+#endif
+
+#ifdef ATT
+#define OSDefines -DATT
+#define OSVendor "AT&T"
+#define LocalLibraries -lpt
+#define SocketLibraries -lnet -lnsl_s /* just a guess */
+#define PosixLibraries /**/
+#endif
+
+#define OSName Unix System V/386 Release 3.2
+#define OSMajorVersion 3
+#define OSMinorVersion 2
+#define OSRelease -DSYSV -DSYSV386
+
+#if HasGcc
+# define CcCmd gcc -DNO_ASM -fstrength-reduce -fpcc-struct-return -fwritable-strings
+# define LibraryCcCmd gcc -DNO_ASM -fstrength-reduce -fpcc-struct-return
+# define ShlibDefines -D__GNUC__ -DGNULIB=/usr/local/lib/gcc-gnulib
+#else
+# define ShlibDefines /**/
+#endif
+
+#if HasSockets
+/* # define ConnectionFlags -DLOCALCONN -DTCPCONN */
+# define ConnectionFlags -DTCPCONN
+# define ExtraLibraries SocketLibraries LocalLibraries -lc_s PosixLibraries
+#else
+# define ConnectionFlags -DLOCALCONN
+# define ExtraLibraries $(LIBDIR)/etc/inetemul.o LocalLibraries -lc_s PosixLibraries
+#endif
+
+/* #include <sv3Lib.rules> */ /* not working yet */
+
+/*
+ * Man pages need to be formatted when installed, so override the default
+ * imake rules.
+ */
+#define InstallManPageLong(file,destdir,dest) @@\
+install.man:: file.man @@\
+ $(RM) destdir/dest.$(MANSUFFIX) @@\
+ cat file.man | $(NEQN) | $(NROFF) $(MANMACROS) >/tmp/file.man @@\
+ $(INSTALL) -c $(INSTMANFLAGS) /tmp/file.man destdir/dest.$(MANSUFFIX) @@\
+ $(RM) /tmp/file.man
+
+#define InstallMultipleMan(list,dest) @@\
+install.man:: list @@\
+ @MakeFlagsToShellFlags(i,set +e); \ @@\
+ for i in list; do \ @@\
+ (set -x; \ @@\
+ $(RM) dest/$$i; \ @@\
+ cat $$i | $(NEQN) | $(NROFF) $(MANMACROS) >/tmp/$$i; \ @@\
+ $(INSTALL) -c $(INSTMANFLAGS) /tmp/$$i dest/$$i; \ @@\
+ $(RM) /tmp/$$i); \ @@\
+ done
+
+/* If you have trouble with make bombing out in Xlib, try uncommenting this. */
+/* You will not get dependencies as a result, but better than nothing. */
+/* #define DependTarget3(srcs1,srcs2,srcs3) */
+
+#endif /* i386SVR3Architecture */
+
+
+/*
+ * V/386 Release 4.0
+ */
+#if defined(i386SVR4Architecture)
+
+#define SystemV4 YES
+
+/* this is now just for Dell's one */
+
+#ifdef DELL
+#define OSDefines -DDELL
+#define OSVendor "DELL Computer Corp."
+#endif
+
+#define OSName Unix System V/386 Release 4.0
+#define OSMajorVersion 4
+#define OSMinorVersion 0
+#define OSRelease -DSVR4 -DSYSV386
+
+#if HasGcc
+# define CcCmd gcc -ansi -fstrength-reduce -fpcc-struct-return -Di386
+# if HasSharedLibraries
+# define LibraryCcCmd cc -Xa -Di386 -Dasm=__asm
+# endif
+#else
+# define CcCmd cc -Xa -Di386 -Dasm=__asm
+#endif
+
+#include <sv4Lib.rules>
+
+#endif /* i386SVR4Architecture */
+
+
+XCOMM operating system: OSName OSVendor