File: os2Lib.tmpl

package info (click to toggle)
vnc4 4.1.1%2BX4.3.0-37.6
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 171,640 kB
  • ctags: 288,260
  • sloc: ansic: 2,205,305; cpp: 56,348; sh: 38,092; pascal: 13,773; asm: 12,656; tcl: 9,182; lisp: 7,831; perl: 3,364; makefile: 2,957; yacc: 2,902; objc: 2,698; xml: 2,614; python: 2,383; lex: 1,477; awk: 901; csh: 58; sed: 50
file content (193 lines) | stat: -rw-r--r-- 5,489 bytes parent folder | download | duplicates (6)
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
XCOMM $Xorg: os2Lib.tmpl,v 1.3 2000/08/17 19:41:48 cpqbld Exp $



XCOMM $XFree86: xc/config/cf/os2Lib.tmpl,v 3.12 2002/05/31 16:31:19 dawes Exp $

/*
 * OS2/EMX shared library template
 */
#ifndef __UNIXOS2__
#error You must edit os2Lib.tmpl for your (non-EMX) OS/2 dev system
#endif

#define SharedLibFont NO

#define SharedX11Reqs $(LDPRELIB) -lshm
#define SharedOldXReqs $(LDPRELIB) $(XLIBONLY)
#define SharedXtReqs $(LDPRELIB) $(XLIBONLY) $(SMLIB) $(ICELIB)
#define SharedXaw6Reqs $(LDPRELIB) $(XMULIB) $(XTOOLLIB) $(XLIB)
#define SharedXawReqs $(LDPRELIB) $(XMULIB) $(XTOOLLIB) $(XPMLIB) $(XLIB)
#define SharedXmuReqs $(LDPRELIB) $(XTOOLLIB) $(XLIB)
#define SharedXmuuReqs $(LDPRELIB) $(XTOOLLIB) $(XLIB)
#define SharedXextReqs $(LDPRELIB) $(XLIBONLY)
#define SharedXiReqs $(LDPRELIB) $(XLIB)
#define SharedXrenderReqs $(LDPRELIB) $(EXTENSIONLIB) $(XLIB)
#define SharedPexReqs $(LDPRELIB) $(XLIBONLY) MathLibrary
#define SharedXtstReqs $(LDPRELIB) $(XLIB)
#define SharedSMReqs $(LDPRELIB) $(ICELIB) 
#define SharedXieReqs $(LDPRELIB) $(XLIB)
#define SharedXpReqs $(LDPRELIB) $(XLIB)
#define SharedXvReqs $(LDPRELIB) $(XLIB)
#define SharedGLReqs $(LDPRELIB) $(XLIB)
#define SharedXfontReqs $(LDPRELIB) $(XLIB)
#define SharedXpmReqs $(LDPRELIB) $(XLIB)
#define SharedDPSReqs $(LDPRELIB) $(XMULIB) $(XTOOLLIB) $(XLIB)
#define SharedDPSTKReqs $(LDPRELIB) $(DPSLIB) $(XMULIB) $(XTOOLLIB) $(XLIB)
#define SharedGLUReqs $(LDPRELIB) $(XLIB) $(GLXLIB)
#define SharedXrandrReqs $(LDPRELIB) $(XLIB)

/* library revisions, these are typically empty! */
#define SharedX11Rev /**/
#define SharedXThrStubRev /**/
#define SharedXextRev /**/
#define SharedXssRev /**/
#define SharedXxf86miscRev /**/
#define SharedXxf86vmRev /**/
#define SharedXxf86dgaRev /**/
#define SharedXxf86rushRev /**/
#define SharedXvRev /**/
#define SharedXineramaRev /**/
#define SharedDpsRev /**/
#define SharedDpsTkRev /**/
#define SharedPSResRev /**/
#define SharedGlxRev /**/
#define SharedXfontcacheRev /**/
#define SharedXauRev /**/
#define SharedXdmcpRev /**/
#define SharedXmuRev /**/
#define SharedXmuuRev /**/
#define SharedOldXRev /**/
#define SharedXpRev /**/
#define SharedXtRev /**/
#define SharedXaRev /**/
#define SharedXawRev /**/
#define SharedXaw6Rev 6
#define SharedXiRev /**/
#define SharedXtstRev /**/
#define SharedPexRev /**/
#define SharedXieRev /**/
#define SharedPhigsRev /**/
#define SharedICERev /**/
#define SharedSMRev /**/
#define SharedXkeyRev /**/
#define SharedFSRev /**/
#define SharedFontRev /**/
#define SharedXpmRev /**/
#define SharedGluRev /**/
#define SharedXrenderRev /**/
#define SharedXrandrRev /**/
#define SharedXftRev /**/
#define SharedFreetype2Rev /**/
#define SharedXTrapRev /**/

/*
 * By setting this in your Imakefile, you can force using static libraries
 * to be linked with you app, rather than DLLs
 */
#ifndef LinkStatically
#define LinkStatically NO
#endif

#if LinkStatically
#define SDlibX11 -lX11_s
#define SDlibXExt -lXExt_s
#define SDlibXmu -lXmu_s
#define SDlibXt -lXt_s
#define SDlibXaw -lXaw_s
#define SDlibXaw6 -lXaw_s
#define SDlibXi -lXi_s
#define SDlibXIE -lXIE_s
#define SDlibXtst -lXtst_s
#define SDlibPEX5 -lPEX5_s
#define SDlibXp -lXp_s
#define SDlibXv -lXv_s
#define SDlibGL -lGL_s
#define SDlibDPS -lDPS_s
#define SDlibDPSTK -lDPSTK_s
#else
#define SDlibX11 -lX11
#define SDlibXExt -lXExt
#define SDlibXmu -lXmu
#define SDlibXt -lXt
#define SDlibXaw -lXaw
#define SDlibXaw6 -lXaw
#define SDlibXi -lXi
#define SDlibXIE -lXIE
#define SDlibXtst -lXtst
#define SDlibPEX5 -lPEX5
#define SDlibXp -lXp
#define SDlibXv -lXv
#define SDlibGL -lGL
#define SDlibDPS -lDPS
#define SDlibDPSTK -lDPSTK
#endif

/*
 * and now a little bit of magic for using imake without source tree; if we
 * are using shared libraries, we really do not need to depend on anything
 */
#if SharedLibXext
 DEPEXTENSIONLIB = 
    EXTENSIONLIB = _Use(SDlibXExt,-L$(EXTENSIONSRC)/lib SDlibXExt)
#endif
#if SharedLibX11
         DEPXLIB = 
            XLIB = $(EXTENSIONLIB) _Use(SDlibX11,-L$(XLIBSRC) SDlibX11)
#endif
#if SharedLibXmu
       DEPXMULIB = 
          XMULIB = _Use(SDlibXmu,-L$(XMUSRC) SDlibXmu) $(XLIB)
#ifndef XawClientLibs
#define XawClientLibs $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XPMLIB) $(XLIB)
#endif
#endif
#if SharedOldX
      DEPOLDXLIB = 
         OLDXLIB = _Use(-loldX,-L$(OLDXLIBSRC) -loldX)
#endif
#if SharedLibXt
     DEPXTOOLLIB = 
        XTOOLLIB = _Use(SDlibXt,-L$(TOOLKITSRC) SDlibXt)
#endif
#if SharedLibXaw
       DEPXAWLIB = 
          XAWLIB = _Use(SDlibXaw,-L$(AWIDGETSRC) SDlibXaw)
#endif
#if SharedLibXaw6
      DEPXAW6LIB = 
         XAW6LIB = _Use(SDlibXaw6,-L$(AWIDGETSRC) SDlibXaw6)
#endif
#if SharedLibXi
        DEPXILIB = 
           XILIB = _Use(SDlibXi,-L$(XILIBSRC) SDlibXi)
#endif
#if SharedLibXTest
    DEPXTESTLIB = 
       XTESTLIB = _Use(SDlibXtst,-L$(EXTENSIONSRC)/lib/xtest SDlibXtst)
#endif
#if SharedLibPex
      DEPPEXLIB = 
         PEXLIB = _Use(SDlibPEX5,-L$(PEXLIBSRC) SDlibPEX5)
#endif
#if SharedLibXp
       DEPXPLIB = 
          XPLIB = _Use(SDlibXp,-L$(EXTENSIONSRC)/lib SDlibXp)
#endif
#if SharedLibXv
       DEPXVLIB = 
          XVLIB = _Use(SDlibXv,-L$(EXTENSIONSRC)/lib SDlibXv)
#endif
#if SharedLibGL
       DEPGLLIB = 
          GLLIB = _Use(SDlibGL,-L$(EXTENSIONSRC)/lib SDlibGL)
#endif
#if SharedLibDPS
      DEPDPSLIB = 
         DPSLIB = _Use(SDlibDPS,-L$(EXTENSIONSRC)/lib SDlibDPS)
#endif
#if SharedLibDPSTK
    DEPDPSTKLIB = 
       DPSTKLIB = _Use(SDlibDPSTK,-L$(EXTENSIONSRC)/lib SDlibDPSTK)
#endif