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

« back to all changes in this revision

Viewing changes to config/makedepend/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/27 1997/04/30 15:38:09 kaleb $
 
2
XCOMM
 
3
XCOMM
 
4
XCOMM
 
5
XCOMM
 
6
XCOMM $XFree86: xc/config/makedepend/Imakefile,v 3.4.2.1 1997/06/11 12:08:35 dawes Exp $
 
7
 
 
8
    SRCS = include.c main.c parse.c pr.c cppsetup.c ifparser.c 
 
9
    OBJS = include.o main.o parse.o pr.o cppsetup.o ifparser.o 
 
10
 
 
11
XCOMM Some compilers generate fatal errors if an -L directory does
 
12
XCOMM not exist.  Since BUILDLIBDIR may not exist yet suppress its use.
 
13
         LDPRELIB =
 
14
        LDPRELIBS =
 
15
 
 
16
#if HasGcc && !defined(PreIncDir)
 
17
#define PreIncDir /usr/local/lib/gcc-include
 
18
#endif
 
19
#ifdef PreIncDir
 
20
PREINCDIR = PreIncDir
 
21
PREINC_DEFINES = -DPREINCDIR=\"$(PREINCDIR)\"
 
22
#endif
 
23
#ifndef StdIncDir
 
24
#define StdIncDir /usr/include
 
25
#endif
 
26
STDINCDIR = StdIncDir
 
27
STDINC_DEFINES = -DINCLUDEDIR=\"$(STDINCDIR)\"
 
28
#ifdef PostIncDir
 
29
POSTINCDIR = PostIncDir
 
30
POSTINC_DEFINES = -DPOSTINCDIR=\"$(POSTINCDIR)\"
 
31
#endif
 
32
INC_DEFINES = $(PREINC_DEFINES) $(STDINC_DEFINES) $(POSTINC_DEFINES)
 
33
OSUF = .Osuf
 
34
OSUF_DEFINES = -DOBJSUFFIX=\"$(OSUF)\"
 
35
MAIN_DEFINES = $(INC_DEFINES) $(SIGNAL_DEFINES) $(OSUF_DEFINES)
 
36
INCLUDES = -I$(IMAKESRC) -I$(TOP)/include $(TOP_X_INCLUDES)/X11
 
37
 
 
38
 DEPLIBS =
 
39
 
 
40
#if defined(MacIIArchitecture) || defined(SequentArchitecture) || defined(i386ScoArchitecture)
 
41
 XBSDLIB = /**/
 
42
#endif
 
43
 
 
44
AllTarget(ProgramTargetName(makedepend))
 
45
 
 
46
/*
 
47
 * bootstrapping: want to build the real makedepend
 
48
 * only after we've run "make depend" here.  That way
 
49
 * the program has the right dependencies for clearmake.
 
50
 * Save the bootstrap original files so they can be winked in
 
51
 * to other views.
 
52
 */
 
53
 
 
54
#if HasClearmake
 
55
bootstrap:
 
56
        test -h X11 || $(LN) TOPDIR/include X11
 
57
        $(MAKE) -f Makefile.proto TOP_INCLUDES=-I. makedepend
 
58
 
 
59
depend::
 
60
        $(MAKE) -f Makefile.proto depend
 
61
        test -d bootstrap || mkdir bootstrap
 
62
        $(MV) *.o makedepend bootstrap
 
63
        $(MAKE) -f Makefile.proto makedepend
 
64
 
 
65
clean::
 
66
        $(RM) -r bootstrap
 
67
        $(RM) X11
 
68
#else
 
69
bootstrap:
 
70
#endif /* HasClearmake */
 
71
 
 
72
clean::
 
73
        $(RM) Makefile.proto
 
74
 
 
75
#undef InstallManPage
 
76
#define InstallManPage(file,dest) /* as nothing */
 
77
#if CrossCompiling
 
78
ComplexHostProgramTarget(makedepend)
 
79
#else
 
80
ComplexProgramTarget(makedepend)
 
81
#endif
 
82
 
 
83
SpecialCObjectRule(main,$(ICONFIGFILES),$(MAIN_DEFINES))
 
84
 
 
85
InstallManPageLong(mkdepend,$(MANDIR),makedepend)
 
86
 
 
87
#ifdef OS2Architecture
 
88
all::
 
89
        $(CP) ProgramTargetName(makedepend) /
 
90
#endif
 
91
 
 
92
InstallLinkKitNamedProg(makedepend,makedepend,$(LINKKITDIR)/config/makedepend)