blob: 2f15d63939efe4cd099a52f55888aa498381ee97 (
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
|
$NetBSD: patch-aj,v 1.2 2005/12/02 22:59:40 joerg Exp $
--- config/cf/Imake.cf.orig 2005-05-07 21:33:29.000000000 -0500
+++ config/cf/Imake.cf
@@ -19,6 +19,21 @@ XCOMM $XFree86: xc/config/cf/Imake.cf,v
* 4. Create a .cf file with the name given by MacroFile.
*/
+#if defined(__APPLE__)
+# undef __APPLE__
+# define MacroIncludeFile <Darwin.cf>
+# define MacroFile Darwin.cf
+# define DarwinArchitecture
+# ifdef __ppc__
+# define PpcDarwinArchitecture
+# undef __ppc__
+# endif
+# ifdef __i386__
+# define i386DarwinArchitecture
+# undef __i386__
+# endif
+#endif
+
#if defined(clipper) || defined(__clipper__)
# undef clipper
# define MacroIncludeFile <ingr.cf>
@@ -264,9 +279,30 @@ XCOMM $XFree86: xc/config/cf/Imake.cf,v
# define playstation2Architecture
# undef playstation2
# endif
+# ifdef __x86_64__
+# define AMD64Architecture
+# undef __x86_64__
+# endif
#endif /* NetBSD */
-#ifdef __FreeBSD__
+#ifdef __DragonFly__
+# define MacroIncludeFile <DragonFly.cf>
+# define MacroFile DragonFly.cf
+# undef __DragonFly__
+# define DragonFlyArchitecture
+# define FreeBSDArchitecture
+# define KFreeBSDArchitecture
+# ifdef __i386__
+# define i386BsdArchitecture
+# define i386Architecture
+# undef i386
+# endif
+# ifdef __amd64__
+# define AMD64Architecture
+# undef __amd64__
+# undef __x86_64__
+# endif
+#elif defined __FreeBSD__
# define MacroIncludeFile <FreeBSD.cf>
# define MacroFile FreeBSD.cf
# undef __FreeBSD__
|