1
XCOMM $XConsortium: os2Lib.tmpl /main/1 1996/10/31 14:47:31 kaleb $
5
XCOMM $XFree86: xc/config/cf/os2Lib.tmpl,v 3.5 1997/01/05 11:49:40 dawes Exp $
8
* OS2/EMX shared library template
11
#error You must edit os2Lib.tmpl for your (non-EMX) OS/2 dev system
14
/* note these are special because of linking with link386 */
16
#define SharedXtReqs $(LDPRELIB) $(XLIBONLY)
17
#define SharedXawReqs $(LDPRELIB) $(XMULIB) $(XTOOLLIB) $(XLIB)
18
#define SharedXmuReqs $(LDPRELIB) $(XTOOLLIB) $(XLIB)
19
#define SharedSMReqs $(LDPRELIB) $(ICELIB)
20
#define SharedXextReqs $(LDPRELIB) $(XLIBONLY)
21
#define SharedXiReqs $(LDPRELIB) $(XLIB)
22
#define SharedXieReqs $(LDPRELIB) $(XLIB)
23
#define SharedXtstReqs $(LDPRELIB) $(XLIB)
24
#define SharedOldXReqs $(LDPRELIB) $(XLIBONLY)
25
#define SharedPexReqs $(LDPRELIB) $(XLIBONLY) MathLibrary
26
#define SharedXpReqs $(LDPRELIBS) $(XLIB)
28
#define SharedXtReqs ..\\..\\exports\\lib\\ ICE SM X11
29
#define SharedXawReqs ..\\..\\exports\\lib\\ Xmu Xt X11 Xext
30
#define SharedXmuReqs ..\\..\\exports\\lib\\ Xt X11 Xext
31
#define SharedSMReqs ..\\..\\exports\\lib\\ ICE
32
#define SharedXextReqs ..\\..\\exports\\lib\\ X11
33
#define SharedXiReqs ..\\..\\exports\\lib\\ X11 Xext
34
#define SharedXieReqs ..\\..\\exports\\lib\\ X11 Xext
35
#define SharedXtstReqs ..\\..\\exports\\lib\\ X11 Xext
36
#define SharedOldXReqs ..\\..\\exports\\lib\\ X11 Xext
37
#define SharedPexReqs ..\\..\\exports\\lib\\ X11 m
38
#define SharedXpReqs ..\\..\\exports\\lib\\ X11 Xext
42
* By setting this in your Imakefile, you can force using static libraries
43
* to be linked with you app, rather than DLLs
45
#ifndef LinkStatically
46
#define LinkStatically NO
50
#define SDlibX11 -lX11_s
51
#define SDlibXExt -lXExt_s
52
#define SDlibXmu -lXmu_s
53
#define SDlibXt -lXt_s
54
#define SDlibXaw -lXaw_s
55
#define SDlibXi -lXi_s
56
#define SDlibXIE -lXIE_s
57
#define SDlibXtst -lXtst_s
58
#define SDlibPEX5 -lPEX5_s
59
#define SDlibXp -lXp_s
61
#define SDlibX11 -lX11
62
#define SDlibXExt -lXExt
63
#define SDlibXmu -lXmu
65
#define SDlibXaw -lXaw
67
#define SDlibXIE -lXIE
68
#define SDlibXtst -lXtst
69
#define SDlibPEX5 -lPEX5
74
* and now a little bit of magic for using imake without source tree; if we
75
* are using shared libraries, we really do not need to depend on anything
79
EXTENSIONLIB = _Use(SDlibXExt,-L$(EXTENSIONSRC)/lib SDlibXExt)
83
XLIB = $(EXTENSIONLIB) _Use(SDlibX11,-L$(XLIBSRC) SDlibX11)
87
XMULIB = _Use(SDlibXmu,-L$(XMUSRC) SDlibXmu) $(XLIB)
89
#define XawClientLibs $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB)
94
OLDXLIB = _Use(-loldX,-L$(OLDXLIBSRC) -loldX)
98
XTOOLLIB = _Use(SDlibXt,-L$(TOOLKITSRC) SDlibXt)
102
XAWLIB = _Use(SDlibXaw,-L$(AWIDGETSRC) SDlibXaw)
106
XILIB = _Use(SDlibXi,-L$(XILIBSRC) SDlibXi)
110
XTESTLIB = _Use(SDlibXtst,-L$(EXTENSIONSRC)/lib/xtest SDlibXtst)
114
PEXLIB = _Use(SDlibPEX5,-L$(PEXLIBSRC) SDlibPEX5)
118
EXTENSIONLIB = _Use(SDlibXp,-L$(EXTENSIONSRC)/lib SDlibXp)