aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/config/cf/sv3Lib.tmpl
blob: fbd9b62b635fbbedb9bca792e2968bc76abedc13 (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,/libNX_Xext_s.a)
     EXTENSIONLIB = LoaderLibPrefix _Use(-lNX_Xext_s, $(DEPEXTENSIONLIB))
#endif
#if SharedLibX
          DEPXLIB = $(DEPEXTENSIONLIB) _UseCat($(USRLIBDIR),$(XLIBSRC),/libNX_X11_s.a)
             XLIB = $(EXTENSIONLIB) LoaderLibPrefix _Use(-lNX_X11_s,$(XLIBSRC)/libNX_X11_s.a)
#endif
#if SharedLibXmu
        DEPXMULIB = _UseCat($(USRLIBDIR),$(XMUSRC),/libNX_Xmu_s.a)
           XMULIB = LoaderLibPrefix _Use(-lNX_Xmu_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),/libNX_Xt_s.a)
         XTOOLLIB = LoaderLibPrefix _Use(-lNX_Xt_s,$(DEPXTOOLLIB))
#endif
#if SharedLibXaw
        DEPXAWLIB = _UseCat($(USRLIBDIR),$(AWIDGETSRC),/libNX_Xaw_s.a)
           XAWLIB = LoaderLibPrefix _Use(-lNX_Xaw_s,$(DEPXAWLIB))
#endif
#if SharedLibXinput
         DEPXILIB = _UseCat($(USRLIBDIR),$(XILIBSRC),/libNX_Xi_s.a)
            XILIB = LoaderLibPrefix _Use(-lNX_Xi_s,$(DEPXILIB))
#endif