summaryrefslogtreecommitdiff
path: root/xc/config/cf/luna.cf
blob: 2fd43a47b2382125bd57721cac97b5db9618e887 (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
XCOMM platform:  $XConsortium: luna.cf,v 1.31 94/09/19 15:04:42 kaleb Exp $
/*
 *	Please set the values for OSMajorVerion and OSMinorVersion
 *	before making makefiles.	 
 */

#ifdef Mc68000Architecture
# ifdef luna2
#define OSName            Mach 2.5 Vers 1.40
#define OSMajorVersion    1
#define OSMinorVersion    40
# else 
#define OSName            UNIOS-B 4.3BSD UNIX: 2.00
#define OSMajorVersion    2
#define OSMinorVersion    0
#define DirFailPrefix -
# endif
#else  /* Mc88000Architecture */
#define OSName            Mach 2.5 Vers 2.00.1
#define OSMajorVersion    2
#define OSMinorVersion    0
#define OSTeenyVersion    1
#endif
XCOMM operating system:  OSName

#define HasBsearch		NO
#define HasVoidSignalReturn	NO
#define HasGcc			YES
#define HasCThreads		YES
#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 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 BuildPexExt		NO		
#define XlunaServer 		YES
#endif

#ifdef Mc88000Architecture
#define BuildPexExt		NO
#define XlunaServer 		YES
#endif

#if ((OSMajorVersion >= 2) && (OSMinorVersion >= 0) && (OSTeenyVersion >= 1))
#define HasWChar32              YES
#endif