blob: 588c30faec31fe8ad781b705ca228213baa08c48 (
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
|
#############################################################################
# Makefile for building: ../highlight-gui
# Generated by qmake (2.01a) (Qt 4.6.2) on: Mi. Mrz 31 16:43:25 2010
# Project: highlight.pro
# Template: app
# Command: /usr/bin/qmake -unix DEFINES+=DATA_DIR=\\\/usr/share/highlight/\\\\ CONFIG_DIR=\\\/etc/highlight/\\\\ DOC_DIR=\\\/usr/share/doc/highlight/\\\ -o Makefile highlight.pro
#############################################################################
####### Compiler, tools and options
CC = gcc
CXX = g++
DEFINES = -DDATA_DIR=\"/usr/share/highlight/\" -DCONFIG_DIR=\"/etc/highlight/\" -DDOC_DIR=\"/usr/share/doc/highlight/\" -DO2 -DQT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
CFLAGS = -pipe -march=i686 -mtune=generic -O2 -pipe -Wall -W -D_REENTRANT $(DEFINES)
CXXFLAGS = -pipe -march=i686 -mtune=generic -O2 -pipe -Wall -W -D_REENTRANT $(DEFINES)
INCPATH = -I/usr/share/qt/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -I../core -I. -I.
LINK = g++
LFLAGS = -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-O1
LIBS = $(SUBLIBS) -L/usr/lib -L.. -lhighlight -lQtGui -lQtCore -lpthread
AR = ar cqs
RANLIB =
QMAKE = /usr/bin/qmake
TAR = tar -cf
COMPRESS = gzip -9f
COPY = cp -f
SED = sed
COPY_FILE = $(COPY)
COPY_DIR = $(COPY) -r
STRIP = strip
INSTALL_FILE = install -m 644 -p
INSTALL_DIR = $(COPY_DIR)
INSTALL_PROGRAM = install -m 755 -p
DEL_FILE = rm -f
SYMLINK = ln -f -s
DEL_DIR = rmdir
MOVE = mv -f
CHK_DIR_EXISTS= test -d
MKDIR = mkdir -p
####### Output directory
OBJECTS_DIR = ./
####### Files
SOURCES = main.cpp \
mainwindow.cpp \
io_report.cpp \
showtextfile.cpp moc_mainwindow.cpp \
moc_io_report.cpp \
moc_showtextfile.cpp \
qrc_highlight-gui.cpp
OBJECTS = main.o \
mainwindow.o \
io_report.o \
showtextfile.o \
moc_mainwindow.o \
moc_io_report.o \
moc_showtextfile.o \
qrc_highlight-gui.o
DIST = /usr/share/qt/mkspecs/common/g++.conf \
/usr/share/qt/mkspecs/common/unix.conf \
/usr/share/qt/mkspecs/common/linux.conf \
/usr/share/qt/mkspecs/qconfig.pri \
/usr/share/qt/mkspecs/features/qt_functions.prf \
/usr/share/qt/mkspecs/features/qt_config.prf \
/usr/share/qt/mkspecs/features/exclusive_builds.prf \
/usr/share/qt/mkspecs/features/default_pre.prf \
/usr/share/qt/mkspecs/features/release.prf \
/usr/share/qt/mkspecs/features/default_post.prf \
/usr/share/qt/mkspecs/features/warn_on.prf \
/usr/share/qt/mkspecs/features/qt.prf \
/usr/share/qt/mkspecs/features/unix/thread.prf \
/usr/share/qt/mkspecs/features/moc.prf \
/usr/share/qt/mkspecs/features/resources.prf \
/usr/share/qt/mkspecs/features/uic.prf \
/usr/share/qt/mkspecs/features/yacc.prf \
/usr/share/qt/mkspecs/features/lex.prf \
/usr/share/qt/mkspecs/features/include_source_dir.prf \
highlight.pro
QMAKE_TARGET = highlight-gui
DESTDIR = ../
TARGET = ../highlight-gui
first: all
####### Implicit rules
.SUFFIXES: .o .c .cpp .cc .cxx .C
.cpp.o:
$(CXX) -c -include highlight-gui $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
.cc.o:
$(CXX) -c -include highlight-gui $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
.cxx.o:
$(CXX) -c -include highlight-gui $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
.C.o:
$(CXX) -c -include highlight-gui $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
.c.o:
$(CC) -c -include highlight-gui $(CFLAGS) $(INCPATH) -o "$@" "$<"
####### Build rules
all: Makefile $(TARGET)
$(TARGET): ui_mainwindow.h ui_io_report.h ui_showtextfile.h $(OBJECTS)
@$(CHK_DIR_EXISTS) ../ || $(MKDIR) ../
$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
Makefile: highlight.pro /usr/share/qt/mkspecs/linux-g++/qmake.conf /usr/share/qt/mkspecs/common/g++.conf \
/usr/share/qt/mkspecs/common/unix.conf \
/usr/share/qt/mkspecs/common/linux.conf \
/usr/share/qt/mkspecs/qconfig.pri \
/usr/share/qt/mkspecs/features/qt_functions.prf \
/usr/share/qt/mkspecs/features/qt_config.prf \
/usr/share/qt/mkspecs/features/exclusive_builds.prf \
/usr/share/qt/mkspecs/features/default_pre.prf \
/usr/share/qt/mkspecs/features/release.prf \
/usr/share/qt/mkspecs/features/default_post.prf \
/usr/share/qt/mkspecs/features/warn_on.prf \
/usr/share/qt/mkspecs/features/qt.prf \
/usr/share/qt/mkspecs/features/unix/thread.prf \
/usr/share/qt/mkspecs/features/moc.prf \
/usr/share/qt/mkspecs/features/resources.prf \
/usr/share/qt/mkspecs/features/uic.prf \
/usr/share/qt/mkspecs/features/yacc.prf \
/usr/share/qt/mkspecs/features/lex.prf \
/usr/share/qt/mkspecs/features/include_source_dir.prf \
/usr/lib/libQtGui.prl \
/usr/lib/libQtCore.prl
$(QMAKE) -unix DEFINES+=DATA_DIR=\\\/usr/share/highlight/\\\\ CONFIG_DIR=\\\/etc/highlight/\\\\ DOC_DIR=\\\/usr/share/doc/highlight/\\\ -o Makefile highlight.pro
/usr/share/qt/mkspecs/common/g++.conf:
/usr/share/qt/mkspecs/common/unix.conf:
/usr/share/qt/mkspecs/common/linux.conf:
/usr/share/qt/mkspecs/qconfig.pri:
/usr/share/qt/mkspecs/features/qt_functions.prf:
/usr/share/qt/mkspecs/features/qt_config.prf:
/usr/share/qt/mkspecs/features/exclusive_builds.prf:
/usr/share/qt/mkspecs/features/default_pre.prf:
/usr/share/qt/mkspecs/features/release.prf:
/usr/share/qt/mkspecs/features/default_post.prf:
/usr/share/qt/mkspecs/features/warn_on.prf:
/usr/share/qt/mkspecs/features/qt.prf:
/usr/share/qt/mkspecs/features/unix/thread.prf:
/usr/share/qt/mkspecs/features/moc.prf:
/usr/share/qt/mkspecs/features/resources.prf:
/usr/share/qt/mkspecs/features/uic.prf:
/usr/share/qt/mkspecs/features/yacc.prf:
/usr/share/qt/mkspecs/features/lex.prf:
/usr/share/qt/mkspecs/features/include_source_dir.prf:
/usr/lib/libQtGui.prl:
/usr/lib/libQtCore.prl:
qmake: FORCE
@$(QMAKE) -unix DEFINES+=DATA_DIR=\\\/usr/share/highlight/\\\\ CONFIG_DIR=\\\/etc/highlight/\\\\ DOC_DIR=\\\/usr/share/doc/highlight/\\\ -o Makefile highlight.pro
dist:
@$(CHK_DIR_EXISTS) .tmp/highlight-gui1.0.0 || $(MKDIR) .tmp/highlight-gui1.0.0
$(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/highlight-gui1.0.0/ && $(COPY_FILE) --parents mainwindow.h ../core/ansigenerator.h ../core/bbcodegenerator.h ../core/charcodes.h ../core/codegenerator.h ../core/configurationreader.h ../core/ctagsreader.h ../core/datadir.h ../core/documentstyle.h ../core/elementstyle.h ../core/enums.h ../core/htmlgenerator.h ../core/languagedefinition.h ../core/latexgenerator.h ../core/platform_fs.h ../core/preformatter.h ../core/rtfgenerator.h ../core/stringtools.h ../core/stylecolour.h ../core/svggenerator.h ../core/texgenerator.h ../core/version.h ../core/xhtmlgenerator.h ../core/xmlgenerator.h ../core/xterm256generator.h precomp.h io_report.h showtextfile.h .tmp/highlight-gui1.0.0/ && $(COPY_FILE) --parents highlight-gui.qrc .tmp/highlight-gui1.0.0/ && $(COPY_FILE) --parents main.cpp mainwindow.cpp io_report.cpp showtextfile.cpp .tmp/highlight-gui1.0.0/ && $(COPY_FILE) --parents mainwindow.ui io_report.ui showtextfile.ui .tmp/highlight-gui1.0.0/ && $(COPY_FILE) --parents highlight_de_DE.ts highlight_es_ES.ts .tmp/highlight-gui1.0.0/ && (cd `dirname .tmp/highlight-gui1.0.0` && $(TAR) highlight-gui1.0.0.tar highlight-gui1.0.0 && $(COMPRESS) highlight-gui1.0.0.tar) && $(MOVE) `dirname .tmp/highlight-gui1.0.0`/highlight-gui1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/highlight-gui1.0.0
clean:compiler_clean
-$(DEL_FILE) $(OBJECTS)
-$(DEL_FILE) highlight-gui.gch/c highlight-gui.gch/c++
-$(DEL_FILE) *~ core *.core
####### Sub-libraries
distclean: clean
-$(DEL_FILE) $(TARGET)
-$(DEL_FILE) Makefile
###### Prefix headers
highlight-gui.gch/c: precomp.h
@$(CHK_DIR_EXISTS) highlight-gui.gch/ || $(MKDIR) highlight-gui.gch/
$(CC) $(CFLAGS) $(INCPATH) -x c-header -c precomp.h -o highlight-gui.gch/c
highlight-gui.gch/c++: precomp.h
@$(CHK_DIR_EXISTS) highlight-gui.gch/ || $(MKDIR) highlight-gui.gch/
$(CXX) $(CXXFLAGS) $(INCPATH) -x c++-header -c precomp.h -o highlight-gui.gch/c++
mocclean: compiler_moc_header_clean compiler_moc_source_clean
mocables: compiler_moc_header_make_all compiler_moc_source_make_all
compiler_moc_header_make_all: moc_mainwindow.cpp moc_io_report.cpp moc_showtextfile.cpp
compiler_moc_header_clean:
-$(DEL_FILE) moc_mainwindow.cpp moc_io_report.cpp moc_showtextfile.cpp
moc_mainwindow.cpp: mainwindow.h
/usr/bin/moc $(DEFINES) $(INCPATH) mainwindow.h -o moc_mainwindow.cpp
moc_io_report.cpp: io_report.h
/usr/bin/moc $(DEFINES) $(INCPATH) io_report.h -o moc_io_report.cpp
moc_showtextfile.cpp: showtextfile.h
/usr/bin/moc $(DEFINES) $(INCPATH) showtextfile.h -o moc_showtextfile.cpp
compiler_rcc_make_all: qrc_highlight-gui.cpp
compiler_rcc_clean:
-$(DEL_FILE) qrc_highlight-gui.cpp
qrc_highlight-gui.cpp: highlight-gui.qrc \
highlight.xpm \
hl_icon2.png
/usr/bin/rcc -name highlight-gui highlight-gui.qrc -o qrc_highlight-gui.cpp
compiler_image_collection_make_all: qmake_image_collection.cpp
compiler_image_collection_clean:
-$(DEL_FILE) qmake_image_collection.cpp
compiler_moc_source_make_all:
compiler_moc_source_clean:
compiler_uic_make_all: ui_mainwindow.h ui_io_report.h ui_showtextfile.h
compiler_uic_clean:
-$(DEL_FILE) ui_mainwindow.h ui_io_report.h ui_showtextfile.h
ui_mainwindow.h: mainwindow.ui
/usr/bin/uic mainwindow.ui -o ui_mainwindow.h
ui_io_report.h: io_report.ui
/usr/bin/uic io_report.ui -o ui_io_report.h
ui_showtextfile.h: showtextfile.ui
/usr/bin/uic showtextfile.ui -o ui_showtextfile.h
compiler_yacc_decl_make_all:
compiler_yacc_decl_clean:
compiler_yacc_impl_make_all:
compiler_yacc_impl_clean:
compiler_lex_make_all:
compiler_lex_clean:
compiler_clean: compiler_moc_header_clean compiler_rcc_clean compiler_uic_clean
####### Compile
main.o: main.cpp mainwindow.h \
highlight-gui.gch/c++
$(CXX) -c -include highlight-gui $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
mainwindow.o: mainwindow.cpp mainwindow.h \
ui_mainwindow.h \
showtextfile.h \
io_report.h \
highlight-gui.gch/c++
$(CXX) -c -include highlight-gui $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp
io_report.o: io_report.cpp io_report.h \
ui_io_report.h \
highlight-gui.gch/c++
$(CXX) -c -include highlight-gui $(CXXFLAGS) $(INCPATH) -o io_report.o io_report.cpp
showtextfile.o: showtextfile.cpp showtextfile.h \
ui_showtextfile.h \
highlight-gui.gch/c++
$(CXX) -c -include highlight-gui $(CXXFLAGS) $(INCPATH) -o showtextfile.o showtextfile.cpp
moc_mainwindow.o: moc_mainwindow.cpp highlight-gui.gch/c++
$(CXX) -c -include highlight-gui $(CXXFLAGS) $(INCPATH) -o moc_mainwindow.o moc_mainwindow.cpp
moc_io_report.o: moc_io_report.cpp highlight-gui.gch/c++
$(CXX) -c -include highlight-gui $(CXXFLAGS) $(INCPATH) -o moc_io_report.o moc_io_report.cpp
moc_showtextfile.o: moc_showtextfile.cpp highlight-gui.gch/c++
$(CXX) -c -include highlight-gui $(CXXFLAGS) $(INCPATH) -o moc_showtextfile.o moc_showtextfile.cpp
qrc_highlight-gui.o: qrc_highlight-gui.cpp highlight-gui.gch/c++
$(CXX) -c -include highlight-gui $(CXXFLAGS) $(INCPATH) -o qrc_highlight-gui.o qrc_highlight-gui.cpp
####### Install
install: FORCE
uninstall: FORCE
FORCE:
|