summaryrefslogtreecommitdiff
path: root/config/cf/darwinLib.tmpl
blob: f40b491e507efd3255f39f06ab9ed83e40138674 (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
XCOMM $XFree86: xc/config/cf/darwinLib.tmpl,v 1.21tsi Exp $
/*
 * Darwin/Mac OS X shared library template
 */

#if defined(DarwinArchitecture) && BuildAppleDRI
/* Next two must be absolute paths, no symlinks allowed in any component */
NATIVE_GL = /System/Library/Frameworks/OpenGL.framework
NATIVE_GLLIB = $(NATIVE_GL)/Versions/A/Libraries/libGL.dylib
#if OSMajorVersion > 8		/* 9.what? */
NATIVE_GLDEP = -dylib_file $(NATIVE_GLLIB):$(NATIVE_GLLIB)
#endif
#endif

#ifndef FixupGLXLibReferences
#define FixupGLXLibReferences()						@@\
GLXLIB = LoaderLibPrefix -lGL $(NATIVE_GLDEP)
#endif

#ifndef FixupLibReferences
#define FixupLibReferences()						@@\
XMULIBONLY = -lXmu							@@\
XMULIB = $(XMULIBONLY) $(XTOOLLIB) $(XLIB)				@@\
FixupGLXLibReferences()
#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
#define SharedXlibi18nReqs  $(LDPRELIB) $(XLIBONLY)

#define SharedXfontReqs     $(LDPRELIB) $(FONTSTUBLIB) GzipLibrary $(FREETYPE2LIB) -flat_namespace

#define SharedAppleWMReqs   $(LDPRELIB) $(XLIB)
#define SharedFontencReqs   $(LDPRELIB) GzipLibrary
#define SharedGLReqs        $(LDPRELIB) $(XLIB)
#define SharedGLUReqs       $(LDPRELIB) $(GLXLIB) $(XLIB)
#define SharedOSMesaReqs    $(LDPRELIB) $(GLXLIB) $(XLIB)
#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) $(XONLYLIB)
#define SharedXiReqs        $(LDPRELIB) $(XLIB)
#define SharedXmuReqs       $(LDPRELIB) $(XTOOLLIB) $(XLIB)
#define SharedXmuuReqs      $(LDPRELIB) $(XONLYLIB)
#define SharedXpReqs        $(LDPRELIB) $(XLIB)
#define SharedXpmReqs       $(LDPRELIB) $(XLIB)
#define SharedXrandrReqs    $(LDPRELIB) $(XRENDERLIB) $(XLIB)
#define SharedXrenderReqs   $(LDPRELIB) $(XLIB)
#define SharedXtReqs        $(LDPRELIB) $(XONLYLIB) $(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) $(XONLYLIB)
#define SharedpsresReqs     $(LDPRELIB) $(SMLIB) $(ICELIB) $(XTOOLLIB) $(XLIB)
#define SharedXResReqs	    $(LDPRELIB) $(XLIB)
#define SharedXfontcacheReqs $(LDPRELIB) $(XLIB)
#define SharedXineramaReqs  $(LDPRELIB) $(XLIB)
#define SharedXssReqs	    $(LDPRELIB) $(XLIB)
#define SharedXvMCReqs	    $(LDPRELIB) $(XLIB)
#define SharedXxf86miscReqs $(LDPRELIB) $(XLIB)
#define SharedXxf86vmReqs   $(LDPRELIB) $(XLIB)
#define SharedxkbfileReqs   $(LDPRELIB) $(XONLYLIB)
#define SharedxkbuiReqs	    $(LDPRELIB) $(XKBFILELIB) $(XONLYLIB)
#define SharedDmxReqs       $(LDPRELIB) $(XLIB)