~ubuntu-branches/ubuntu/hardy/xxdiff/hardy

« back to all changes in this revision

Viewing changes to src/xxdiff.pro

  • Committer: Bazaar Package Importer
  • Author(s): Tomas Pospisek
  • Date: 2005-03-29 08:43:56 UTC
  • mfrom: (1.2.1 upstream) (2.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050329084356-nkwv8jf18nc7u5qf
Tags: 1:3.1-3
re-upload

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# -*- mode: Makefile -*-
2
2
#*****************************************************************************\
3
 
# $Id: xxdiff.pro,v 1.63 2002/02/27 02:46:54 blais Exp $
4
 
# $Date: 2002/02/27 02:46:54 $
 
3
# $RCSfile: xxdiff.pro,v $
5
4
#
6
 
# Copyright (C) 2001  Martin Blais <blais@iro.umontreal.ca>
 
5
# Copyright (C) 2001-2003  Martin Blais <blais@furius.ca>
7
6
#
8
7
# This program is free software; you can redistribute it and/or modify
9
8
# it under the terms of the GNU General Public License as published by
24
23
# Generate with xxdiff.t template, as `tmake -t xxdiff.t xxdiff.pro > Makefile'
25
24
#
26
25
 
 
26
# Note: the version number is now in the VERSION file at the root and there is a
 
27
# special make rule defined to generate an include file for it.
 
28
 
27
29
TEMPLATE = xxdiff
28
 
CONFIG = release qt warn_on
 
30
CONFIG = release qt warn_on thread
 
31
 
 
32
# For KDE support, uncomment the following lines:
 
33
#TMAKE_CFLAGS += -DXX_KDE -I/usr/include/kde
 
34
#TMAKE_CXXFLAGS += -DXX_KDE -I/usr/include/kde
 
35
#TMAKE_LIBS += -lkdeui -lkio -lqt-mt
29
36
 
30
37
debug:TMAKE_CFLAGS += -DXX_DEBUG
31
38
debug:TMAKE_CXXFLAGS += -DXX_DEBUG
32
39
 
33
 
XX_VERSION=2.5
34
 
 
35
 
TMAKE_CFLAGS_DEBUG += -DXX_VERSION="\"$$XX_VERSION-devel ($(COMPILE_DATE))\""
36
 
TMAKE_CFLAGS_RELEASE += -DXX_VERSION="\"$$XX_VERSION\""
37
 
 
38
40
INCLUDEPATH += .
39
41
 
40
42
LEXYACC  = resParser
44
46
# Needed for Windows compile?
45
47
#REQUIRES=full-config
46
48
 
47
 
#
48
 
# win32-msvc
49
 
#
50
 
 
51
 
win32-msvc:DEFINES += QT_DLL QT_THREAD_SUPPORT WINDOWS HAVE_STRING_H
52
 
#win32-msvc:TMAKE_CFLAGS += -GX
53
 
win32-msvc:TMAKE_CXXFLAGS += -GX
54
 
win32-msvc:INCLUDEPATH += winfixes
55
 
 
56
 
#win32-msvc:TMAKE_LFLAGS += /NODEFAULTLIB:MSVCRT
57
49
 
58
50
#
59
51
# irix-n32
60
52
#
61
53
 
62
54
irix-n32:TMAKE_CXXFLAGS += -woff 1375,1424,3201,1209,1110 -LANG:std
63
 
irix-n32:TMAKE_CXXFLAGS += -DCOMPILER_MIPSPRO
64
55
 
65
56
# always disable full warnings for C code.
66
57
irix-n32:TMAKE_CFLAGS_WARN_ON =
70
61
irix-n32:TMAKE_MOC = ${QTDIR}/bin/moc
71
62
 
72
63
irix-n32:TMAKE_LIBS += -lC -lCio -lm
73
 
irix-n32:TMAKE_LIBDIR_QT = $(QTDIR)/lib32
74
 
irix-n32:TMAKE_LIBS += -Wl,-rpath -Wl,$(QTDIR)/lib32
 
64
irix-n32:TMAKE_LIBDIR_QT = $(QTDIR)/lib
 
65
irix-n32:TMAKE_LIBS += -Wl,-rpath -Wl,$(QTDIR)/lib
75
66
 
76
67
irix-n32:TMAKE_CFLAGS_RELEASE += -OPT:Olimit=4000
77
68
 
80
71
# linux-g++
81
72
#
82
73
 
83
 
linux-g++:TMAKE_CXXFLAGS += -DCOMPILER_GNU
84
 
 
85
74
# debugging memory problems
86
75
#linux-g++:TMAKE_CXXFLAGS += -fcheck-memory-usage
87
76
#linux-g++:TMAKE_LIBS += -lmpatrol -lbfd -liberty
88
77
 
89
 
#
90
 
# solaris-cc
91
 
#
92
 
 
93
 
solaris-cc:TMAKE_CXXFLAGS += -DCOMPILER_SUNWSPRO
94
 
 
95
 
#
96
 
# aix-xlc
97
 
#
98
 
 
99
 
aix-xlc:TMAKE_CXXFLAGS += -DCOMPILER_AIXXLC
100
 
 
101
 
#
102
 
# osf1-g++
103
 
#
104
 
 
105
 
osf1-g++:TMAKE_CXXFLAGS += -DCOMPILER_GNU
 
78
 
 
79
#===============================================================================
 
80
# Max OS X with XFree86 port, macx-g++
 
81
#
 
82
 
 
83
# The following does not work with tmake-1.11
 
84
 
 
85
## macx-g++:TMAKE_CXXFLAGS += -D__GNU_LIBRARY__
 
86
## macx-g++:TMAKE_CXXFLAGS -= -fno-exceptions
 
87
 
 
88
 
 
89
#===============================================================================
 
90
# win32-msvc
 
91
#
 
92
 
 
93
win32-msvc:DEFINES += QT_DLL QT_THREAD_SUPPORT WINDOWS HAVE_STRING_H
 
94
#win32-msvc:TMAKE_CFLAGS += -GX
 
95
win32-msvc:TMAKE_CXXFLAGS += -GX
 
96
win32-msvc:INCLUDEPATH += winfixes
 
97
 
 
98
#win32-msvc:TMAKE_LFLAGS += /NODEFAULTLIB:MSVCRT
 
99
 
 
100
#===============================================================================
106
101
 
107
102
 
108
103
# Add diff files to link against directly
121
116
#       $$DIFFUTILS_DIR/side.o \
122
117
#       $$DIFFUTILS_DIR/fnmatch.o \
123
118
#       $$DIFFUTILS_DIR/regex.o \
124
 
#       $$DIFFUTILS_DIR/version.o \
 
119
#       $$DIFFUTILS_DIR/proginfo.o \
125
120
#       $$DIFFUTILS_DIR/diff.o \
126
121
#       $$DIFFUTILS_DIR/diff3.o
127
122
 
142
137
        builderFiles3.h \
143
138
        builderDirs2.h \
144
139
        builderUnmerge.h \
 
140
        builderSingle.h \
145
141
        exceptions.h \
146
142
        buffer.h \
147
143
        buffer.inline.h \
162
158
        merged.h \
163
159
        lineNumbers.h \
164
160
        util.h \
165
 
        markersFileDialog.h \
 
161
        markers.h \
166
162
        getopt.h \
167
163
        diffutils.h \
168
164
        diffutils_hack.h \
169
 
        doc.qml \
170
 
        version.h
 
165
        doc.html \
 
166
        kdeSupport.h \
 
167
        proginfo.h
171
168
 
172
169
SOURCES = \
173
170
        optionsDialog.cpp \
191
188
        builderFiles3.cpp \
192
189
        builderDirs2.cpp \
193
190
        builderUnmerge.cpp \
 
191
        builderSingle.cpp \
194
192
        diffs.cpp \
195
193
        hordiffImp.cpp \
196
194
        line.cpp \
198
196
        resources.cpp \
199
197
        accelUtil.cpp \
200
198
        resParser.cpp \
201
 
        markersFileDialog.cpp \
 
199
        markers.cpp \
202
200
        getopt.c \
203
201
        getopt1.c \
204
 
        version.c
 
202
        proginfo.c
205
203
 
206
204
#       diffutils.cpp \
207
205
 
210
208
        optionsDialogBase.ui \
211
209
        searchDialogBase.ui
212
210
 
213
 
TARGET = xxdiff
 
211
TARGET = ../bin/xxdiff
214
212
 
215
213
#DEPENDPATH=../../include
216
214