aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/config/cf/ncr.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/ncr.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/ncr.cf')
-rw-r--r--nx-X11/config/cf/ncr.cf131
1 files changed, 131 insertions, 0 deletions
diff --git a/nx-X11/config/cf/ncr.cf b/nx-X11/config/cf/ncr.cf
new file mode 100644
index 000000000..64dfdb038
--- /dev/null
+++ b/nx-X11/config/cf/ncr.cf
@@ -0,0 +1,131 @@
+XCOMM platform: $Xorg: ncr.cf,v 1.3 2000/08/17 19:41:47 cpqbld Exp $
+
+
+
+
+XCOMM platform: $XFree86: xc/config/cf/ncr.cf,v 3.20 2001/01/17 16:22:32 dawes Exp $
+
+#ifndef OSName
+#define OSName Unix System V Release 4/MP-RAS
+#endif
+#ifndef OSVendor
+#define OSVendor NCR
+#endif
+XCOMM operating system: OSName
+
+#define BootstrapCFlags -DNCR
+#define HasStreams YES
+#define XawI18nDefines -DUSE_XWCHAR_STRING
+
+/* Build Flags */
+
+XCOMM
+XCOMM These flags build correctly on SVR4/MP-RAS 3.0. If building on
+XCOMM SVR4/MP-RAS 2.X, you must add -DWINTCP to StandardDefines
+XCOMM
+#define StandardDefines -DSVR4 -DNCR -Di386
+#ifndef DefaultCCOptions
+#define DefaultCCOptions -Xa -Hnocopyr -W0,-asm
+#endif
+#define DefaultCDebugFlags -O3
+#define AllocateLocalDefines -DINCLUDE_ALLOCA_H
+#define ServerExtraDefines -DNO_SECONDARY AllocateLocalDefines XFree86ServerDefines
+#define ServerOSDefines -DDDXTIME XFree86ServerOSDefines
+#define ToolkitStringsABIOptions -intelabi
+
+XCOMM This has not been tested, don't turn it on yet.
+XCOMM #define ExtensionOSDefines -DXTESTEXT1
+
+#define ExtraLoadFlags -lc -L/usr/ucblib -lucb -lm -lgen -lcmd
+
+/* Setup proper ownership of installed files */
+
+#define StripInstalledPrograms YES
+#define InstPgmFlags -s -m 0711 -o bin -g bin
+#define InstBinFlags -m 0755 -o bin -g bin
+#define InstUidFlags -m 4711 -o root -g bin
+#define InstLibFlags -m 0644 -o bin -g bin
+#define InstIncFlags -m 0444 -o bin -g bin
+#define InstManFlags -m 0444 -o bin -g bin
+#define InstDatFlags -m 0444 -o bin -g bin
+
+/* Various Configuration settings */
+
+#define DefaultUserPath /bin:/sbin:/usr/bin:/usr/sbin:$(BINDIR):/usr/ucb
+#define DefaultSystemPath /etc:/bin:/usr/bin:/sbin:/usr/sbin:$(BINDIR):/usr/ucb
+#define ExtraFilesToClean *.z
+
+/* Create man pages properly */
+
+#define BookFormatManPages YES
+#define ManDirectoryRoot /usr/catman/X115
+#define ManSuffix 1X
+#define LibManSuffix 3X
+#define FileManSuffix 4X
+#define ManSourcePath $(MANPATH)/g
+#define XmanSearchPath /usr/catman
+
+#define TblCmd /usr/ucb/tbl
+#define EqnCmd /usr/ucb/eqn
+#define ColCmd /usr/bin/col
+#define NeqnCmd /usr/ucb/neqn
+#define NroffCmd /usr/ucb/nroff -Tlp
+
+/*
+ * Man pages need to be formatted when installed, so override the default
+ * imake rules.
+ */
+#define InstallManPageLong(file,destdir,dest) @@\
+CppManTarget(file, $(EXTRAMANDEFS)) @@\
+ @@\
+all:: file.z @@\
+ @@\
+file.z:: file.$(MANNEWSUFFIX) @@\
+ @if [ -f file.$(MANNEWSUFFIX) ]; \ @@\
+ then \ @@\
+ cat file.$(MANNEWSUFFIX) | $(NEQN) | $(TBL) | $(NROFF) $(MANMACROS) | $(COL) >/tmp/$$$$.man; \ @@\
+ $(RM) /tmp/$$$$.man.z; \ @@\
+ pack -f /tmp/$$$$.man; \ @@\
+ cp /tmp/$$$$.man.z file.z; \ @@\
+ $(RM) /tmp/$$$$.man.z; \ @@\
+ fi @@\
+ @@\
+install.man:: @@\
+ MakeDir($(DESTDIR)destdir) @@\
+ -@if [ -f file.z ]; \ @@\
+ then \ @@\
+ $(INSTALL) -c $(INSTMANFLAGS) file.z $(DESTDIR)destdir/dest.z; \@@\
+ fi
+
+#define InstallGenManPageLong(file,destdir,dest,suffix) @@\
+ InstallManPageLong(file,destdir,dest)
+
+#define InstallMultipleManSuffix(list,dest,suff) @@\
+install.man:: @@\
+ MakeDir($(DESTDIR)dest) @@\
+ MakeFlagsToShellFlags(i,set +e); \ @@\
+ for i in list; do \ @@\
+ (set -x; \ @@\
+ cat $$i.suff | $(NEQN) | $(TBL) | $(NROFF) $(MANMACROS) | $(COL) >/tmp/$$$$.suff; \ @@\
+ pack -f /tmp/$$$$.suff; \ @@\
+ $(INSTALL) -c $(INSTMANFLAGS) /tmp/$$$$.suff.z $(DESTDIR)dest/$$i.z; \ @@\
+ $(RM) /tmp/$$$$.suff.z); \ @@\
+ done
+
+#define InstallMultipleMan(list,dest) @@\
+ InstallMultipleManSuffix(list,dest,man)
+
+#define InstallManPageAliases(file,destdir,aliases) @@\
+install.man:: @@\
+ @MakeFlagsToShellFlags(i,set +e); \ @@\
+ for i in aliases; do \ @@\
+ (set -x; \ @@\
+ $(RM) $(DESTDIR)destdir/$$i.z;\ @@\
+ (cd $(DESTDIR)destdir; $(LN) file.z $$i.z);\ @@\
+ ); \ @@\
+ done
+
+#define InstallGenManPageAliases(file,destdir,suffix,aliases) @@\
+ InstallManPageAliases(file,destdir,aliases)
+
+#include <svr4.cf>