61 lines
2.6 KiB
Text
61 lines
2.6 KiB
Text
$NetBSD: patch-ay,v 1.1 2004/03/16 23:59:42 danw Exp $
|
|
|
|
--- config/cf/darwinLib.tmpl.orig Sun Mar 14 11:07:29 2004
|
|
+++ config/cf/darwinLib.tmpl
|
|
@@ -0,0 +1,56 @@
|
|
+XCOMM $XFree86: xc/config/cf/darwinLib.tmpl,v 1.10 2003/02/04 23:04:59 torrey Exp $
|
|
+/*
|
|
+ * Darwin/Mac OS X shared library template
|
|
+ */
|
|
+
|
|
+#ifndef FixupLibReferences
|
|
+#define FixupLibReferences() @@\
|
|
+XMULIBONLY = -lXmu @@\
|
|
+XMULIB = $(XMULIBONLY) $(XTOOLLIB) $(XLIB) @@\
|
|
+GLXLIB := $(GLXLIB) $(XPLUGIN_LIB)
|
|
+#endif
|
|
+
|
|
+#ifndef XawClientLibs
|
|
+#define XawClientLibs $(XAWLIB) $(XMULIBONLY) $(XTOOLLIB) $(XPMLIB) $(XLIB)
|
|
+#endif
|
|
+
|
|
+/* Allow for libpthread, as overridden by OS definitions */
|
|
+#if !defined(SharedX11Reqs)
|
|
+#define SharedX11Reqs
|
|
+#endif
|
|
+
|
|
+#ifndef FontLibSharedFreeType
|
|
+#define FontLibSharedFreeType YES
|
|
+#endif
|
|
+#if FontLibSharedFreeType
|
|
+#define SharedXfontReqs $(LDPRELIB) $(FONTSTUBLIB) GzipLibrary $(FREETYPE2LIB) -flat_namespace
|
|
+#else
|
|
+#define SharedXfontReqs $(LDPRELIB) $(FONTSTUBLIB) GzipLibrary -flat_namespace
|
|
+#endif
|
|
+
|
|
+#define SharedGLReqs $(LDPRELIB) $(XLIB)
|
|
+#define SharedGLUReqs $(LDPRELIB) $(XLIB) $(GLXLIB)
|
|
+#define SharedSMReqs $(LDPRELIB) $(ICELIB)
|
|
+#define SharedXawReqs $(LDPRELIB) $(XMULIB) $(XTOOLLIB) $(XPMLIB) $(XLIB)
|
|
+#define SharedXaw6Reqs $(LDPRELIB) $(XMULIB) $(XTOOLLIB) $(XLIB)
|
|
+#define SharedXcursorReqs $(LDPRELIB) $(XRENDERLIB) $(XLIB)
|
|
+#define SharedXextReqs $(LDPRELIB) $(XLIBONLY)
|
|
+#define SharedXiReqs $(LDPRELIB) $(XLIB)
|
|
+#define SharedXmuReqs $(LDPRELIB) $(XTOOLLIB) $(XLIB)
|
|
+#define SharedXmuuReqs $(LDPRELIB) $(XTOOLLIB) $(XLIB)
|
|
+#define SharedXpReqs $(LDPRELIB) $(XAUTHLIB) $(EXTENSIONLIB) $(XLIBONLY)
|
|
+#define SharedXpmReqs $(LDPRELIB) $(XLIB)
|
|
+#define SharedXrandrReqs $(LDPRELIB) $(XRENDERLIB) $(XLIB)
|
|
+#define SharedXrenderReqs $(LDPRELIB) $(EXTENSIONLIB) $(XLIB)
|
|
+#define SharedXssReqs $(LDPRELIB) $(XLIB) $(EXTENSIONLIB) $(XTOOLLIB)
|
|
+#define SharedXtReqs $(LDPRELIB) $(XLIBONLY) $(SMLIB) $(ICELIB) -flat_namespace
|
|
+#define SharedXtstReqs $(LDPRELIB) $(XLIB)
|
|
+#define SharedXvReqs $(LDPRELIB) $(XLIB)
|
|
+#define SharedDPSReqs $(LDPRELIB) $(SMLIB) $(ICELIB) $(XTOOLLIB) $(XLIB)
|
|
+#define SharedDPSTKReqs $(LDPRELIB) $(SMLIB) $(ICELIB) $(XTOOLLIB) $(DPSLIB) $(XLIB)
|
|
+#define SharedOldXReqs $(LDPRELIB) $(XLIBONLY)
|
|
+#define SharedpsresReqs $(LDPRELIB) $(SMLIB) $(ICELIB) $(XTOOLLIB) $(XLIB)
|
|
+
|
|
+#define SharedXmReqs $(LDPRELIBS) $(XTOOLONLYLIB) $(EXTENSIONLIB) $(XPLIB) $(XLIB)
|
|
+#define SharedMrmReqs $(LDPRELIB) $(XMLIB) SharedXmReqs
|
|
+#define SharedUilReqs $(LDPRELIB) $(MRESOURCELIB) $(XMLIB) SharedXmReqs
|