summaryrefslogtreecommitdiff
path: root/xc/config/cf/darwin.cf
diff options
context:
space:
mode:
Diffstat (limited to 'xc/config/cf/darwin.cf')
-rw-r--r--xc/config/cf/darwin.cf28
1 files changed, 21 insertions, 7 deletions
diff --git a/xc/config/cf/darwin.cf b/xc/config/cf/darwin.cf
index 70f3cca2f..e101a3dce 100644
--- a/xc/config/cf/darwin.cf
+++ b/xc/config/cf/darwin.cf
@@ -1,4 +1,4 @@
-XCOMM $XFree86: xc/config/cf/darwin.cf,v 1.6 2001/02/02 21:40:40 herrb Exp $
+XCOMM $XFree86: xc/config/cf/darwin.cf,v 1.9 2001/03/26 02:55:59 torrey Exp $
/* Darwin / Mac OS X configuration by John Carmack <johnc@idsoftware.com> */
@@ -62,6 +62,11 @@ XCOMM $XFree86: xc/config/cf/darwin.cf,v 1.6 2001/02/02 21:40:40 herrb Exp $
#endif
#endif
+/* flags to pass to cc when building libraries */
+#ifndef LibraryCCOptions
+# define LibraryCCOptions DefaultCCOptions -fno-common
+#endif
+
/* A lot of xfree86 code needs __powerpc__ to avoid doing outport asm.
*
* __DARWIN__ will be used for platform specific #ifdefs that can't
@@ -98,12 +103,8 @@ XCOMM $XFree86: xc/config/cf/darwin.cf,v 1.6 2001/02/02 21:40:40 herrb Exp $
/* no Display Power Management extension */
#define BuildDPMSExt NO
-/* no Render extension */
-#define BuildRender NO
-
#define BuildXvExt NO
-
/* no OpenGL libraries */
#ifndef BuildGLXLibrary
# define BuildGLXLibrary NO
@@ -112,7 +113,20 @@ XCOMM $XFree86: xc/config/cf/darwin.cf,v 1.6 2001/02/02 21:40:40 herrb Exp $
# define BuildGLULibrary NO
#endif
+#define BuildLibPathVar DYLD_LIBRARY_PATH
+
+/* include rules to build shared libraries */
+#include <darwinLib.rules>
-/* include all the xfree rules */
-/* I haven't tracked down why this is needed, but it is... */
+/*
+ * Darwin specific Imake Config files
+ */
+#ifndef LocalConfigFiles
+#define LocalConfigFiles \
+ darwinLib.rules \
+ darwinLib.tmpl
+#endif
+
+/* include all the XFree86 rules */
#include <xfree86.cf>
+