~ubuntu-branches/ubuntu/quantal/openmotif/quantal

« back to all changes in this revision

Viewing changes to config/cf/os2Lib.tmpl

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Bauer
  • Date: 2010-06-23 12:12:31 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100623121231-u89gxdp51sg9wjj2
Tags: 2.3.0-1
* New Maintainer (Closes: #379258) 
* Acknowledge NMU changes
* New upstream release (Closes: #494375)
* Get rid of security patches as they are already part of new upstream
  release (00-xpmvuln.openmotif.patch, 342092-CVE-2005-3964.patch)
* Bump Standards to 3.8.4
* Added {misc:Depends} to make the package lintian cleaner
* Fix weak-library-dev-dependency by adding ${binary:Version}) for the
  -dev Package of openmotif
* Let package depend on autotools-dev to use newer autotools-helper-files
* Work around an autoconf-bug (Gentoo-Bug #1475)
* Added Client-side anti-aliased fonts support via XFT
* Added UTF-8 and UTF8_STRING atom support
* Ability to show text and pixmaps in Label, LabelGadget and all
  derived widgets
* Support of PNG/JPEG image formats in the same way as XPM is supported
* Increase FILE_OFFSET_BITS to 64 to show files >2GB in file-selector
  Idea taken from Magne Oestlyngen (Closes: #288537)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
XCOMM $XConsortium: os2Lib.tmpl /main/1 1996/10/31 14:47:31 kaleb $
 
2
 
 
3
 
 
4
 
 
5
XCOMM $XFree86: xc/config/cf/os2Lib.tmpl,v 3.5 1997/01/05 11:49:40 dawes Exp $
 
6
 
 
7
/*
 
8
 * OS2/EMX shared library template
 
9
 */
 
10
#ifndef __EMX__
 
11
#error You must edit os2Lib.tmpl for your (non-EMX) OS/2 dev system
 
12
#endif
 
13
 
 
14
/* note these are special because of linking with link386 */
 
15
#ifdef NOT_EMX
 
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)
 
27
#else
 
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
 
39
#endif
 
40
 
 
41
/*
 
42
 * By setting this in your Imakefile, you can force using static libraries
 
43
 * to be linked with you app, rather than DLLs
 
44
 */
 
45
#ifndef LinkStatically
 
46
#define LinkStatically NO
 
47
#endif
 
48
 
 
49
#if LinkStatically
 
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
 
60
#else
 
61
#define SDlibX11 -lX11
 
62
#define SDlibXExt -lXExt
 
63
#define SDlibXmu -lXmu
 
64
#define SDlibXt -lXt
 
65
#define SDlibXaw -lXaw
 
66
#define SDlibXi -lXi
 
67
#define SDlibXIE -lXIE
 
68
#define SDlibXtst -lXtst
 
69
#define SDlibPEX5 -lPEX5
 
70
#define SDlibXp -lXp
 
71
#endif
 
72
 
 
73
/*
 
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
 
76
 */
 
77
#if SharedLibXext
 
78
 DEPEXTENSIONLIB = 
 
79
    EXTENSIONLIB = _Use(SDlibXExt,-L$(EXTENSIONSRC)/lib SDlibXExt)
 
80
#endif
 
81
#if SharedLibX11
 
82
         DEPXLIB = 
 
83
            XLIB = $(EXTENSIONLIB) _Use(SDlibX11,-L$(XLIBSRC) SDlibX11)
 
84
#endif
 
85
#if SharedLibXmu
 
86
       DEPXMULIB = 
 
87
          XMULIB = _Use(SDlibXmu,-L$(XMUSRC) SDlibXmu) $(XLIB)
 
88
#ifndef XawClientLibs
 
89
#define XawClientLibs $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB)
 
90
#endif
 
91
#endif
 
92
#if SharedOldX
 
93
      DEPOLDXLIB = 
 
94
         OLDXLIB = _Use(-loldX,-L$(OLDXLIBSRC) -loldX)
 
95
#endif
 
96
#if SharedLibXt
 
97
     DEPXTOOLLIB = 
 
98
        XTOOLLIB = _Use(SDlibXt,-L$(TOOLKITSRC) SDlibXt)
 
99
#endif
 
100
#if SharedLibXaw
 
101
       DEPXAWLIB = 
 
102
          XAWLIB = _Use(SDlibXaw,-L$(AWIDGETSRC) SDlibXaw)
 
103
#endif
 
104
#if SharedLibXi
 
105
        DEPXILIB = 
 
106
           XILIB = _Use(SDlibXi,-L$(XILIBSRC) SDlibXi)
 
107
#endif
 
108
#if SharedLibXTest
 
109
    DEPXTESTLIB = 
 
110
       XTESTLIB = _Use(SDlibXtst,-L$(EXTENSIONSRC)/lib/xtest SDlibXtst)
 
111
#endif
 
112
#if SharedLibPex
 
113
      DEPPEXLIB = 
 
114
         PEXLIB = _Use(SDlibPEX5,-L$(PEXLIBSRC) SDlibPEX5)
 
115
#endif
 
116
#if SharedLibXp
 
117
 DEPEXTENSIONLIB = 
 
118
    EXTENSIONLIB = _Use(SDlibXp,-L$(EXTENSIONSRC)/lib SDlibXp)
 
119
#endif