aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/config/cf/bsdLib.tmpl
blob: 8d55581e35d13a5389e67673da8b0e8b4999db95 (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
92
93
94
95
96
97
98
99
100
XCOMM $Xorg: bsdLib.tmpl,v 1.3 2000/08/17 19:41:47 cpqbld Exp $
XCOMM $XFree86: xc/config/cf/bsdLib.tmpl,v 3.23 2003/11/04 01:59:31 dawes Exp $

/*
 * NetBSD/FreeBSD/OpenBSD shared library template
 */

#if !UseElfFormat

#ifndef SharedXlibi18nReqs
#define SharedXlibi18nReqs $(LDPRELIB) $(XONLYLIB)
#endif

#ifndef SharedXtReqs
#define SharedXtReqs /**/
#endif
#ifndef SharedXawReqs
#define SharedXawReqs /**/
#endif
#ifndef SharedXmuReqs
# if !defined(Mc68020Architecture) || !defined(OpenBSDArchitecture)
#  define SharedXmuReqs $(LDPRELIBS) $(XTOOLONLYLIB) $(XONLYLIB)
# else
   /* At least the hp300 and the sun3 OpenBSD ports need that */
#  define SharedXmuReqs $(LDPRELIBS) $(XTOOLLIB) $(XLIB)
# endif
#endif
#ifndef SharedXcursorReqs
#define SharedXcursorReqs   $(LDPRELIB) $(XRENDERLIB) $(XLIB)
#endif

#else /* UseElfFormat */

/*
 * NetBSD/FreeBSD/OpenBSD (ELF) shared library template
 * Cloned from Linux ELF rules, but with a minor number.
 */

#ifndef FixupLibReferences
#define FixupLibReferences()						@@\
XMULIBONLY = -lXmu							@@\
XMULIB = $(XMULIBONLY) $(XTOOLLIB) $(XLIB)
#endif

#ifndef XawClientLibs
#define XawClientLibs $(XAWLIB) $(XMULIBONLY) $(XTOOLLIB) $(XPMLIB) $(EXTRAXAWCLIENTLIBS) $(XLIB)
#endif

/* Allow for libpthread, as overridden by OS definitions */
#if !defined(SharedX11Reqs)
#define SharedX11Reqs
#endif

#define SharedXlibi18nReqs $(LDPRELIB) $(XONLYLIB)
#define SharedOldXReqs	$(LDPRELIBS) $(XONLYLIB)
#ifndef SharedXtReqs
#define SharedXtReqs	$(LDPRELIBS) $(XONLYLIB) $(SMLIB) $(ICELIB)
#endif
#ifndef SharedXawReqs
#define SharedXawReqs	$(LDPRELIBS) $(XMULIB) $(XTOOLLIB) $(XPMLIB) $(EXTRAXAWREQS) $(XLIB)
#endif
#define SharedXaw7Reqs	$(LDPRELIBS) $(XMULIB) $(XTOOLLIB) $(XPMLIB) $(XLIB)
#define SharedXaw6Reqs	$(LDPRELIBS) $(XMULIB) $(XTOOLLIB) $(XLIB)
#define SharedXmuReqs	$(LDPRELIBS) $(XTOOLLIB) $(XLIB)
#define SharedXmuuReqs	$(LDPRELIB)  $(XONLYLIB)
#define SharedXextReqs	$(LDPRELIBS) $(XONLYLIB)
#define SharedXiReqs	$(LDPRELIBS) $(XLIB)
#define SharedXpReqs	$(LDPRELIB) $(XLIB)
#define SharedXpmReqs   $(LDPRELIB) $(XLIB)
#define SharedXrandrReqs  $(LDPRELIB) $(XRENDERLIB) $(XLIB)
#define SharedXrenderReqs $(LDPRELIB) $(XLIB)
#define SharedXtstReqs	$(LDPRELIBS) $(XLIB)
#define SharedXvReqs	$(LDPRELIB) $(XLIB)
#define SharedSMReqs	$(LDPRELIBS) $(ICELIB)
#ifndef SharedGLReqs
#define SharedGLReqs	$(LDPRELIBS) $(XLIB)
#endif
#ifndef SharedGLUReqs
#define SharedGLUReqs	$(LDPRELIB) $(XLIB) $(GLXLIB)
#endif
#define SharedXcursorReqs   $(LDPRELIB) $(XRENDERLIB) $(XLIB)

#define SharedDPSReqs	$(LDPRELIB) $(SMLIB) $(ICELIB) $(XTOOLLIB) $(XLIB)
#define SharedDPSTKReqs	$(LDPRELIB) $(SMLIB) $(ICELIB) $(XTOOLLIB) $(DPSLIB) $(XLIB)
#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 SharedXxf86dgaReqs	$(LDPRELIB) $(XLIB)
#define SharedXxf86miscReqs	$(LDPRELIB) $(XLIB)
#define SharedXxf86vmReqs	$(LDPRELIB) $(XLIB)
#define SharedxkbfileReqs	$(LDPRELIB) $(XONLYLIB)
#define SharedxkbuiReqs $(LDPRELIB) $(XKBFILELIB) $(XONLYLIB)
#define SharedXfixesReqs	$(LDPRELIB) $(XLIB)
#define SharedXdamageReqs	$(LDPRELIB) $(XFIXESLIB) $(XLIB)
#define SharedXcompositeReqs	$(LDPRELIB) $(XDAMAGELIB) $(XFIXESLIB) $(XLIB)
#define SharedXevieReqs		$(LDPRELIB) $(XLIB)
#endif /* UseElfFormat */