summaryrefslogtreecommitdiff
path: root/sv4Lib.tmpl
blob: ffd730c45da6f488696e780877c337377452cbf8 (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
XCOMM $Xorg: sv4Lib.tmpl,v 1.3 2000/08/17 19:41:48 cpqbld Exp $

/*
 * SVR4 shared library template
 */

XCOMM $XFree86: xc/config/cf/sv4Lib.tmpl,v 3.8 2003/11/04 01:25:31 dawes Exp $

/* SVR4 shared libraries are deficient in link semantics */
XMULIBONLY = -lXmu
#ifndef FixupLibReferences
# define FixupLibReferences()						@@\
XMULIB = $(XMULIBONLY) -z nodefs
#endif
#ifndef XawClientLibs
# define XawClientLibs $(XAWLIB) $(XMULIBONLY) $(XTOOLLIB) $(XPMLIB) $(XLIB)
#endif

#if 0
/* This causes problems on SVR4.0 */
#ifndef SharedICEReqs
# define SharedICEReqs -lsocket
#endif
#endif

#if ThreadedX
# ifndef SharedThreadReqs
#  define SharedThreadReqs -lthread
# endif
# ifndef SharedX11Reqs
#  define SharedX11Reqs -lthread
# endif
#else
# ifndef SharedThreadReqs
#  define SharedThreadReqs
# endif
#endif

#ifndef SharedXReqs
# define SharedXReqs $(XTOOLLIB) $(XPLIB) $(XLIB) SharedThreadReqs $(LDPOSTLIBS)
#endif

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

#ifndef SharedXmReqs
# define SharedXmReqs $(LDPRELIBS) SharedXReqs -lgen -lsocket -lnsl -lw -lc
#endif

#ifndef SharedMrmReqs
# define SharedMrmReqs $(LDPRELIBS) $(XMLIB) SharedXReqs -lgen -lsocket -lnsl -lw -lc
#endif

#ifndef SharedUilReqs
# define SharedUilReqs $(LDPRELIBS) $(MRESOURCELIB) $(XMLIB) SharedXReqs -lgen -lsocket -lnsl -lw -lc
#endif

#ifndef SharedDtSvcReqs
# define SharedDtSvcReqs $(LDPRELIBS) $(TTLIB) $(XMLIB) SharedXReqs
#endif

#ifndef SharedDtMmdbReqs
# define SharedDtMmdbReqs $(LDPRELIBS) $(DTSVCLIB) $(TTLIB) $(XMLIB) SharedXReqs
#endif

#ifndef SharedDtHelpReqs
# define SharedDtHelpReqs $(LDPRELIBS) $(DTSVCLIB) $(XMLIB) SharedXReqs
#endif

#ifndef DtClientExtraLibs
# define DtClientExtraLibs -lresolv
#endif

REGEXSYSLIB = -lgen
DYNLIBSYSLIB = -ldl

#ifndef IafSysLib
# define IafSysLib	-liaf
#endif
IAFSYSLIB = IafSysLib

#ifndef SharedGLUReqs
# if HasGcc2ForCplusplus
#  define SharedGLUReqs $(LDPRELIBS) $(XLIB) $(GLXLIB) $(CXXLIB)
# else
#  define SharedGLUReqs $(LDPRELIBS) $(XLIB) $(GLXLIB)
# endif
#endif