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



XCOMM $XFree86: xc/config/cf/sv3Lib.tmpl,v 3.2 2001/01/17 16:38:49 dawes Exp $
/*
 * SVR3 shared library template
 * Copyright (c) 1992, 1993 by Thomas Wolfram, Berlin, Germany
 * Author: Thomas Wolfram, thomas@aeon.in-berlin.de, wolf@prz.tu-berlin.de
 * Conception derived partially from work of Thomas Roell
 */

#ifndef SharedXlibRev
#define SharedXlibRev 6.0.0
#endif
#ifndef SharedOldXRev
#define SharedOldXRev 6.0
#endif
#ifndef SharedXtRev
#define SharedXtRev 6.0
#endif
#ifndef SharedXawRev
#define SharedXawRev 6.0
#endif
#ifndef SharedXmuRev
#define SharedXmuRev 6.0
#endif
#ifndef SharedXextRev
#define SharedXextRev 6.0
#endif
#ifndef SharedXinputRev
#define SharedXinputRev 6.0
#endif

     SHLIBLDFLAGS = SharedLibraryLoadFlags
         PICFLAGS = PositionIndependentCFlags

/*
 * 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 = _UseCat($(USRLIBDIR),$(EXTENSIONSRC)/lib,/libXext_s.a)
     EXTENSIONLIB = LoaderLibPrefix _Use(-lXext_s, $(DEPEXTENSIONLIB))
#endif
#if SharedLibX
          DEPXLIB = $(DEPEXTENSIONLIB) _UseCat($(USRLIBDIR),$(XLIBSRC),/libX11_s.a)
             XLIB = $(EXTENSIONLIB) LoaderLibPrefix _Use(-lX11_s,$(XLIBSRC)/libX11_s.a)
#endif
#if SharedLibXmu
        DEPXMULIB = _UseCat($(USRLIBDIR),$(XMUSRC),/libXmu_s.a)
           XMULIB = LoaderLibPrefix _Use(-lXmu_s,$(DEPXMULIB))
#endif
#if SharedOldLibX
       DEPOLDXLIB = _UseCat($(USRLIBDIR),$(OLDXLIBSRC),/liboldX_s.a)
          OLDXLIB = LoaderLibPrefix _Use(-loldX_s,$(DEPOLDXLIB))
#endif
#if SharedLibXt
      DEPXTOOLLIB = _UseCat($(USRLIBDIR),$(TOOLKITSRC),/libXt_s.a)
         XTOOLLIB = LoaderLibPrefix _Use(-lXt_s,$(DEPXTOOLLIB))
#endif
#if SharedLibXaw
        DEPXAWLIB = _UseCat($(USRLIBDIR),$(AWIDGETSRC),/libXaw_s.a)
           XAWLIB = LoaderLibPrefix _Use(-lXaw_s,$(DEPXAWLIB))
#endif
#if SharedLibXinput
         DEPXILIB = _UseCat($(USRLIBDIR),$(XILIBSRC),/libXi_s.a)
            XILIB = LoaderLibPrefix _Use(-lXi_s,$(DEPXILIB))
#endif