1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
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>
|