1XCOMM $Xorg: sv3Lib.tmpl,v 1.3 2000/08/17 19:41:48 cpqbld Exp $
2
3
4
5XCOMM $XFree86: xc/config/cf/sv3Lib.tmpl,v 3.2 2001/01/17 16:38:49 dawes Exp $
6/*
7 * SVR3 shared library template
8 * Copyright (c) 1992, 1993 by Thomas Wolfram, Berlin, Germany
9 * Author: Thomas Wolfram, thomas@aeon.in-berlin.de, wolf@prz.tu-berlin.de
10 * Conception derived partially from work of Thomas Roell
11 */
12
13#ifndef SharedXlibRev
14#define SharedXlibRev 6.0.0
15#endif
16#ifndef SharedOldXRev
17#define SharedOldXRev 6.0
18#endif
19#ifndef SharedXtRev
20#define SharedXtRev 6.0
21#endif
22#ifndef SharedXawRev
23#define SharedXawRev 6.0
24#endif
25#ifndef SharedXmuRev
26#define SharedXmuRev 6.0
27#endif
28#ifndef SharedXextRev
29#define SharedXextRev 6.0
30#endif
31#ifndef SharedXinputRev
32#define SharedXinputRev 6.0
33#endif
34
35     SHLIBLDFLAGS = SharedLibraryLoadFlags
36         PICFLAGS = PositionIndependentCFlags
37
38/*
39 * and now a little bit of magic for using imake without source tree; if we
40 * are using shared libraries, we really do not need to depend on anything
41 */
42#if SharedLibXext
43  DEPEXTENSIONLIB = _UseCat($(USRLIBDIR),$(EXTENSIONSRC)/lib,/libXext_s.a)
44     EXTENSIONLIB = LoaderLibPrefix _Use(-lXext_s, $(DEPEXTENSIONLIB))
45#endif
46#if SharedLibX
47          DEPXLIB = $(DEPEXTENSIONLIB) _UseCat($(USRLIBDIR),$(XLIBSRC),/libX11_s.a)
48             XLIB = $(EXTENSIONLIB) LoaderLibPrefix _Use(-lX11_s,$(XLIBSRC)/libX11_s.a)
49#endif
50#if SharedLibXmu
51        DEPXMULIB = _UseCat($(USRLIBDIR),$(XMUSRC),/libXmu_s.a)
52           XMULIB = LoaderLibPrefix _Use(-lXmu_s,$(DEPXMULIB))
53#endif
54#if SharedOldLibX
55       DEPOLDXLIB = _UseCat($(USRLIBDIR),$(OLDXLIBSRC),/liboldX_s.a)
56          OLDXLIB = LoaderLibPrefix _Use(-loldX_s,$(DEPOLDXLIB))
57#endif
58#if SharedLibXt
59      DEPXTOOLLIB = _UseCat($(USRLIBDIR),$(TOOLKITSRC),/libXt_s.a)
60         XTOOLLIB = LoaderLibPrefix _Use(-lXt_s,$(DEPXTOOLLIB))
61#endif
62#if SharedLibXaw
63        DEPXAWLIB = _UseCat($(USRLIBDIR),$(AWIDGETSRC),/libXaw_s.a)
64           XAWLIB = LoaderLibPrefix _Use(-lXaw_s,$(DEPXAWLIB))
65#endif
66#if SharedLibXinput
67         DEPXILIB = _UseCat($(USRLIBDIR),$(XILIBSRC),/libXi_s.a)
68            XILIB = LoaderLibPrefix _Use(-lXi_s,$(DEPXILIB))
69#endif
70
71