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

« back to all changes in this revision

Viewing changes to tools/wml/Imakefile

  • 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 $TOG: Imakefile /main/16 1998/03/11 20:19:03 mgreess $
 
2
XCOMM 
 
3
XCOMM @OPENGROUP_COPYRIGHT@
 
4
XCOMM COPYRIGHT NOTICE
 
5
XCOMM Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc.
 
6
XCOMM Copyright (c) 1996, 1997, 1998, 1999, 2000 The Open Group
 
7
XCOMM ALL RIGHTS RESERVED (MOTIF). See the file named COPYRIGHT.MOTIF for
 
8
XCOMM the full copyright text.
 
9
XCOMM 
 
10
XCOMM This software is subject to an open license. It may only be
 
11
XCOMM used on, with or for operating systems which are themselves open
 
12
XCOMM source systems. You must contact The Open Group for a license
 
13
XCOMM allowing distribution and sublicensing of this software on, with,
 
14
XCOMM or for operating systems which are not Open Source programs.
 
15
XCOMM 
 
16
XCOMM See http://www.opengroup.org/openmotif/license for full
 
17
XCOMM details of the license agreement. Any use, reproduction, or
 
18
XCOMM distribution of the program constitutes recipient's acceptance of
 
19
XCOMM this agreement.
 
20
XCOMM 
 
21
XCOMM EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS
 
22
XCOMM PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 
23
XCOMM KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY
 
24
XCOMM WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY
 
25
XCOMM OR FITNESS FOR A PARTICULAR PURPOSE
 
26
XCOMM 
 
27
XCOMM EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT
 
28
XCOMM NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT,
 
29
XCOMM INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 
30
XCOMM DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED
 
31
XCOMM AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 
32
XCOMM LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
 
33
XCOMM ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE
 
34
XCOMM EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE
 
35
XCOMM POSSIBILITY OF SUCH DAMAGES.
 
36
 
 
37
INCLUDES = -I. -I$(INCLUDESRC) -I$(MINCLUDESRC) -I$(MLIBSRC) -I$(MTOP)/include
 
38
DEPLIBS = XmClientDepLibs
 
39
LOCAL_LIBRARIES = XmClientLibs
 
40
 
 
41
 
 
42
SRCS1 = wml.c           wmlouth.c       wmloutmm.c \
 
43
        wmloutp1.c      wmlresolve.c    wmlsynbld.c     wmlutils.c \
 
44
        wmldbcreate.c
 
45
 
 
46
OBJS1 = wml.o           wmloutkey.o     wmlouth.o       wmloutmm.o \
 
47
        wmloutp1.o      wmlresolve.o    wmlsynbld.o     wmlutils.o
 
48
 
 
49
SRCS2 = wmluiltok.l
 
50
 
 
51
OBJS2 = wmlparse.o
 
52
 
 
53
SRCS = $(SRCS1) $(SRCS2)
 
54
 
 
55
YACCTARGETS = UilLexPars.c      UilLexPars.h
 
56
 
 
57
WMLTARGETS = UilConst.h UilKeyTab.h      \
 
58
        UilSymArTa.h    UilSymArTy.h    UilSymCSet.h    UilSymCtl.h \
 
59
        UilSymEnum.h    UilSymGen.h     UilSymNam.h     UilSymRArg.h \
 
60
        UilSymReas.h    UilTokName.h    UilUrmClas.h    UilSymChCl.h \
 
61
        UilSymChTa.h
 
62
 
 
63
TARGETS = $(YACCTARGETS) $(WMLTARGETS)
 
64
 
 
65
TABLE = motif.wml
 
66
WMDTABLE = motif.wmd
 
67
WMLTOOLS = wml wmluiltok
 
68
REPORT = wml.report
 
69
 
 
70
NormalLibraryObjectRule()
 
71
 
 
72
all::   DONE
 
73
 
 
74
DONE:   $(WMDTABLE) $(TARGETS)
 
75
        (cd $(UILSRC); $(RM) $(TARGETS) UilDBDef.h)
 
76
        cp $(TARGETS) UilDBDef.h $(UILSRC)
 
77
        touch DONE
 
78
 
 
79
NormalLibraryTarget(wml,$(OBJS2) $(OBJS1))
 
80
 
 
81
install:: all
 
82
 
 
83
wml::   libwml.a
 
84
        $(CC) $(CFLAGS) libwml.a -o wml
 
85
 
 
86
NormalProgramTarget(wmldbcreate,wmldbcreate.o,$(DEPLIBS),$(LOCAL_LIBRARIES),$(SYSLIBS))
 
87
 
 
88
wmlparse.c:     wmlparse.y wmllex.l
 
89
        $(LEX) wmllex.l
 
90
        $(MV) lex.yy.c wmllex.c
 
91
        $(YACC) -d $(YACCFLAGS) wmlparse.y
 
92
        $(RM) wmlparse.c wmlparse.h
 
93
        $(MV) y.tab.c wmlparse.c
 
94
        $(MV) y.tab.h wmlparse.h
 
95
 
 
96
wmlparse.h::    wmlparse.y wmllex.l
 
97
        $(LEX) wmllex.l
 
98
        $(MV) lex.yy.c wmllex.c
 
99
        $(YACC) -d $(YACCFLAGS) wmlparse.y
 
100
        $(MV) y.tab.c wmlparse.c
 
101
        $(MV) y.tab.h wmlparse.h
 
102
 
 
103
wmluiltok::     wmluiltok.l
 
104
        $(LEX) wmluiltok.l
 
105
        $(CC) $(CFLAGS) lex.yy.c $(LEXLIB) -o wmluiltok
 
106
 
 
107
$(TARGETS):     $(WMLTOOLS) $(TABLE)
 
108
        $(RM) $(TARGETS) $(REPORT) wml-uil.mm
 
109
        $(YACC) -d $(YACCFLAGS) Uil.y
 
110
        $(MV) y.tab.c UilLexPars.c
 
111
        $(MV) y.tab.h UilLexPars.h
 
112
        ./wmluiltok < Uil.y > tokens.dat
 
113
        $(RM) wml-uil.mm
 
114
        ./wml $(TABLE)
 
115
        $(RM) tokens.dat
 
116
 
 
117
$(WMDTABLE):    wmldbcreate
 
118
        $(CLIENTENVSETUP) ./wmldbcreate -o $@
 
119
 
 
120
clean::
 
121
        $(RM) $(TARGETS) $(WMDTABLE) $(REPORT) lex.yy.c libwml.a wml \
 
122
        *.mm *.sdml *.txt wmlparse.c wmlparse.h wmluiltok wmllex.c \
 
123
        tokens.dat DONE
 
124
 
 
125
depend:: wmlparse.h 
 
126
 
 
127
DependTarget()
 
128
 
 
129
includes::      $(TARGETS)
 
130
        (cd $(UILSRC); $(RM) $(TARGETS) UilDBDef.h)
 
131
        cp $(TARGETS) UilDBDef.h $(UILSRC)