blob: 8ca01b2b78ab6a62bb99ec72562262e4818b977f (
plain)
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
|
XCOMM platform: $Xorg: luna.cf,v 1.3 2000/08/17 19:41:47 cpqbld Exp $
/*
* Please set the values for OSMajorVerion and OSMinorVersion
* before making makefiles.
*
* The Luna version of the make program doesn't define the standard
* macro MAKE, so you must run it as "make MAKE=make" at top level,
* e.g., "make MAKE=make World"
*/
#ifdef Mc68000Architecture
# ifdef luna2
#ifndef OSName
#define OSName Mach 2.5 Vers 1.40
#endif
#ifndef OSMajorVersion
#define OSMajorVersion 1
#endif
#ifndef OSMinorVersion
#define OSMinorVersion 40
#endif
# else
#ifndef OSName
#define OSName UNIOS-B 4.3BSD UNIX: 2.00
#endif
#ifndef OSMajorVersion
#define OSMajorVersion 2
#endif
#ifndef OSMinorVersion
#define OSMinorVersion 0
#endif
#define DirFailPrefix -
# endif
#else /* Mc88000Architecture */
#ifndef OSName
#define OSName Mach 2.5 Vers 2.00.1
#endif
#ifndef OSMajorVersion
#define OSMajorVersion 2
#endif
#ifndef OSMinorVersion
#define OSMinorVersion 0
#endif
#ifndef OSTeenyVersion
#define OSTeenyVersion 1
#endif
#endif
XCOMM operating system: OSName
#define HasBsearch NO
#define HasVoidSignalReturn NO
#define HasGcc YES
#define HasCThreads YES
#define HasThreadSafeAPI NO
#define Malloc0ReturnsNull HasCThreads /* -lthreads fails, -lc works */
#define XawI18nDefines -DHAS_WCHAR_H -DHAS_ISW_FUNCS
#define BootstrapCFlags -DUSE_CC_E -DNFS_STDOUT_BUG
#define ThreadsLibraries -lthreads -lmach
#define ThreadsCplusplusLibraries -lthreads -lmach
#define PrimaryScreenResolution 100
#define BuildXKB YES
#ifdef Mc68000Architecture
#ifdef luna2
#if ((OSMajorVersion <= 1) && (OSMinorVersion < 40))
#define ServerExtraDefines -DUNUSE_DRV_TIME -DUNUSE_SIGIO_SIGNAL
#endif
#else /* luna1 */
#if ((OSMajorVersion <= 1) && (OSMinorVersion <= 60))
#define StandardDefines -Dluna -Duniosb
#endif
#if ((OSMajorVersion < 2) || ((OSMajorVersion == 2) && (OSMinorVersion < 1)))
#define ServerExtraDefines -DUNUSE_DRV_TIME -DUNUSE_SIGIO_SIGNAL
#endif
#endif /* luna2 */
#if HasGcc
#define OptimizedCDebugFlags -O -traditional
#define ServerCDebugFlags -Dmc68020 -O -traditional
#else /* cc */
#define OptimizedCDebugFlags -O -Z18
#define ServerCDebugFlags -Dmc68020 -O -Z18
#endif /* HasGcc */
#endif /* Mc68000Architecture */
#ifdef Mc88000Architecture
#if ((OSMajorVersion <= 1) && (OSMinorVersion <= 12))
#define ServerExtraDefines -DUNUSE_DRV_TIME -DUNUSE_SIGIO_SIGNAL
#endif
#define HasNdbm YES
#define ExtraLibraries -li18n
#if HasGcc
#define CcCmd gcc -fstrength-reduce
#define PreIncDir /usr/local/lib/gcc/gcc-include
#define OptimizedCDebugFlags -O2 /* -traditional */
#else
#define PreIncDir /usr/lib/ccom/include
#endif
#define PostIncDir /usr/mach/include
#endif
#ifdef Mc68000Architecture
#define UnalignedReferencesAllowed YES /* if arbitrary deref is okay */
#define XlunaServer YES
#endif
#ifdef Mc88000Architecture
#define XlunaServer YES
#endif
#if ((OSMajorVersion >= 2) && (OSMinorVersion >= 0) && (OSTeenyVersion >= 1))
#define HasWChar32 YES
#endif
|