1 #############################################################################
2 # Makefile for building: generator
3 # Generated by qmake (2.01a) (Qt 4.3.2) on: Sun Oct 14 02:05:14 2007
4 # Project: generator.pro
6 # Command: /opt/qt4/bin/qmake -unix -o Makefile generator.pro
7 #############################################################################
9 ####### Compiler, tools and options
13 DEFINES
= -DRXX_ALLOCATOR_INIT_0
-DQT_CORE_LIB
-DQT_SHARED
14 CFLAGS
= -pipe
-g
-Wall
-W
-D_REENTRANT
$(DEFINES
)
15 CXXFLAGS
= -pipe
-g
-Wall
-W
-D_REENTRANT
$(DEFINES
)
16 INCPATH
= -I
/opt
/qt4
/mkspecs
/linux-g
++ -I.
-I
/opt
/qt4
/include/QtCore
-I
/opt
/qt4
/include/QtCore
-I
/opt
/qt4
/include -I.
-Iparser
-Iparser
/rpp
-Iparser
/rpp
-I.
-I.
18 LFLAGS
= -Wl
,-rpath
,/opt
/qt4
/lib
19 LIBS
= $(SUBLIBS
) -L
/opt
/qt4
/lib
-lQtCore
-L
/opt
/qt4
/lib
-lz
-lm
-pthread
-lgthread-2.0
-lrt
-lglib-2.0
-ldl
-lpthread
22 QMAKE
= /opt
/qt4
/bin
/qmake
29 INSTALL_FILE
= install -m
644 -p
30 INSTALL_DIR
= $(COPY_DIR
)
31 INSTALL_PROGRAM
= install -m
755 -p
36 CHK_DIR_EXISTS
= test -d
39 ####### Output directory
45 SOURCES
= parser
/ast.
cpp \
49 parser
/smallobject.
cpp \
52 parser
/default_visitor.
cpp \
56 parser
/codemodel.
cpp \
57 parser
/type_compiler.
cpp \
58 parser
/name_compiler.
cpp \
59 parser
/declarator_compiler.
cpp \
60 parser
/class_compiler.
cpp \
61 parser
/codemodel_finder.
cpp \
62 parser
/compiler_utils.
cpp \
63 parser
/rpp
/preprocessor.
cpp \
79 declarator_compiler.o \
85 DIST
= /opt
/qt4
/mkspecs
/common
/g
++.conf \
86 /opt
/qt4
/mkspecs
/common
/unix.conf \
87 /opt
/qt4
/mkspecs
/common
/linux.conf \
88 /opt
/qt4
/mkspecs
/qconfig.pri \
89 /opt
/qt4
/mkspecs
/features
/qt_functions.prf \
90 /opt
/qt4
/mkspecs
/features
/qt_config.prf \
91 /opt
/qt4
/mkspecs
/features
/exclusive_builds.prf \
92 /opt
/qt4
/mkspecs
/features
/default_pre.prf \
95 /opt
/qt4
/mkspecs
/features
/debug.prf \
96 /opt
/qt4
/mkspecs
/features
/default_post.prf \
97 /opt
/qt4
/mkspecs
/features
/warn_on.prf \
98 /opt
/qt4
/mkspecs
/features
/qt.prf \
99 /opt
/qt4
/mkspecs
/features
/unix
/thread.prf \
100 /opt
/qt4
/mkspecs
/features
/moc.prf \
101 /opt
/qt4
/mkspecs
/features
/resources.prf \
102 /opt
/qt4
/mkspecs
/features
/uic.prf \
103 /opt
/qt4
/mkspecs
/features
/yacc.prf \
104 /opt
/qt4
/mkspecs
/features
/lex.prf \
106 QMAKE_TARGET
= generator
111 ####### Implicit rules
113 .SUFFIXES
: .o .c .
cpp .
cc .
cxx .C
116 $(CXX
) -c
$(CXXFLAGS
) $(INCPATH
) -o
"$@" "$<"
119 $(CXX
) -c
$(CXXFLAGS
) $(INCPATH
) -o
"$@" "$<"
122 $(CXX
) -c
$(CXXFLAGS
) $(INCPATH
) -o
"$@" "$<"
125 $(CXX
) -c
$(CXXFLAGS
) $(INCPATH
) -o
"$@" "$<"
128 $(CC
) -c
$(CFLAGS
) $(INCPATH
) -o
"$@" "$<"
132 all: Makefile
$(TARGET
)
134 $(TARGET
): $(OBJECTS
)
135 $(LINK
) $(LFLAGS
) -o
$(TARGET
) $(OBJECTS
) $(OBJCOMP
) $(LIBS
)
137 Makefile
: generator.pro
/opt
/qt4
/mkspecs
/linux-g
++/qmake.conf
/opt
/qt4
/mkspecs
/common
/g
++.conf \
138 /opt
/qt4
/mkspecs
/common
/unix.conf \
139 /opt
/qt4
/mkspecs
/common
/linux.conf \
140 /opt
/qt4
/mkspecs
/qconfig.pri \
141 /opt
/qt4
/mkspecs
/features
/qt_functions.prf \
142 /opt
/qt4
/mkspecs
/features
/qt_config.prf \
143 /opt
/qt4
/mkspecs
/features
/exclusive_builds.prf \
144 /opt
/qt4
/mkspecs
/features
/default_pre.prf \
147 /opt
/qt4
/mkspecs
/features
/debug.prf \
148 /opt
/qt4
/mkspecs
/features
/default_post.prf \
149 /opt
/qt4
/mkspecs
/features
/warn_on.prf \
150 /opt
/qt4
/mkspecs
/features
/qt.prf \
151 /opt
/qt4
/mkspecs
/features
/unix
/thread.prf \
152 /opt
/qt4
/mkspecs
/features
/moc.prf \
153 /opt
/qt4
/mkspecs
/features
/resources.prf \
154 /opt
/qt4
/mkspecs
/features
/uic.prf \
155 /opt
/qt4
/mkspecs
/features
/yacc.prf \
156 /opt
/qt4
/mkspecs
/features
/lex.prf \
157 /opt
/qt4
/lib
/libQtCore.prl
158 $(QMAKE
) -unix
-o Makefile generator.pro
159 /opt
/qt4
/mkspecs
/common
/g
++.conf
:
160 /opt
/qt4
/mkspecs
/common
/unix.conf
:
161 /opt
/qt4
/mkspecs
/common
/linux.conf
:
162 /opt
/qt4
/mkspecs
/qconfig.pri
:
163 /opt
/qt4
/mkspecs
/features
/qt_functions.prf
:
164 /opt
/qt4
/mkspecs
/features
/qt_config.prf
:
165 /opt
/qt4
/mkspecs
/features
/exclusive_builds.prf
:
166 /opt
/qt4
/mkspecs
/features
/default_pre.prf
:
169 /opt
/qt4
/mkspecs
/features
/debug.prf
:
170 /opt
/qt4
/mkspecs
/features
/default_post.prf
:
171 /opt
/qt4
/mkspecs
/features
/warn_on.prf
:
172 /opt
/qt4
/mkspecs
/features
/qt.prf
:
173 /opt
/qt4
/mkspecs
/features
/unix
/thread.prf
:
174 /opt
/qt4
/mkspecs
/features
/moc.prf
:
175 /opt
/qt4
/mkspecs
/features
/resources.prf
:
176 /opt
/qt4
/mkspecs
/features
/uic.prf
:
177 /opt
/qt4
/mkspecs
/features
/yacc.prf
:
178 /opt
/qt4
/mkspecs
/features
/lex.prf
:
179 /opt
/qt4
/lib
/libQtCore.prl
:
181 @
$(QMAKE
) -unix
-o Makefile generator.pro
184 @
$(CHK_DIR_EXISTS
) .tmp
/generator1.0
.0 ||
$(MKDIR
) .tmp
/generator1.0
.0
185 $(COPY_FILE
) --parents
$(SOURCES
) $(DIST
) .tmp
/generator1.0
.0/ && $(COPY_FILE
) --parents parser
/ast.h parser
/lexer.h parser
/list.h parser
/parser.h parser
/rxx_allocator.h parser
/rpp-allocator.h parser
/smallobject.h parser
/tokens.h parser
/symbol.h parser
/control.h parser
/visitor.h parser
/default_visitor.h parser
/dumptree.h parser
/binder.h parser
/codemodel.h parser
/codemodel_pointer.h parser
/codemodel_fwd.h parser
/type_compiler.h parser
/name_compiler.h parser
/declarator_compiler.h parser
/class_compiler.h parser
/codemodel_finder.h parser
/compiler_utils.h parser
/rpp
/pp-cctype.h parser
/rpp
/pp-engine-bits.h parser
/rpp
/pp-engine.h parser
/rpp
/pp-environment.h parser
/rpp
/pp-fwd.h parser
/rpp
/pp-internal.h parser
/rpp
/pp-iterator.h parser
/rpp
/pp-macro-expander.h parser
/rpp
/pp-macro.h parser
/rpp
/pp-scanner.h parser
/rpp
/pp-string.h parser
/rpp
/pp-symbol.h parser
/rpp
/pp.h parser
/rpp
/preprocessor.h .tmp
/generator1.0
.0/ && $(COPY_FILE
) --parents parser
/ast.
cpp parser
/lexer.
cpp parser
/list.
cpp parser
/parser.
cpp parser
/smallobject.
cpp parser
/control.
cpp parser
/visitor.
cpp parser
/default_visitor.
cpp parser
/dumptree.
cpp parser
/tokens.
cpp parser
/binder.
cpp parser
/codemodel.
cpp parser
/type_compiler.
cpp parser
/name_compiler.
cpp parser
/declarator_compiler.
cpp parser
/class_compiler.
cpp parser
/codemodel_finder.
cpp parser
/compiler_utils.
cpp parser
/rpp
/preprocessor.
cpp main.
cpp .tmp
/generator1.0
.0/ && (cd
`dirname .tmp/generator1.0.0` && $(TAR
) generator1.0
.0.
tar generator1.0
.0 && $(COMPRESS
) generator1.0
.0.
tar) && $(MOVE
) `dirname .tmp/generator1.0.0`/generator1.0
.0.
tar.gz .
&& $(DEL_FILE
) -r .tmp
/generator1.0
.0
189 -$(DEL_FILE
) $(OBJECTS
)
190 -$(DEL_FILE
) *~ core
*.core
193 ####### Sub-libraries
196 -$(DEL_FILE
) $(TARGET
)
197 -$(DEL_FILE
) Makefile
200 mocclean
: compiler_moc_header_clean compiler_moc_source_clean
202 mocables
: compiler_moc_header_make_all compiler_moc_source_make_all
204 compiler_moc_header_make_all
:
205 compiler_moc_header_clean
:
206 compiler_rcc_make_all
:
208 compiler_image_collection_make_all
: qmake_image_collection.
cpp
209 compiler_image_collection_clean
:
210 -$(DEL_FILE
) qmake_image_collection.
cpp
211 compiler_moc_source_make_all
:
212 compiler_moc_source_clean
:
213 compiler_uic_make_all
:
215 compiler_yacc_decl_make_all
:
216 compiler_yacc_decl_clean
:
217 compiler_yacc_impl_make_all
:
218 compiler_yacc_impl_clean
:
219 compiler_lex_make_all
:
225 ast.o
: parser
/ast.
cpp parser
/ast.h \
226 parser
/smallobject.h \
227 parser
/rxx_allocator.h \
231 $(CXX
) -c
$(CXXFLAGS
) $(INCPATH
) -o ast.o parser
/ast.
cpp
233 lexer.o
: parser
/lexer.
cpp parser
/lexer.h \
237 parser
/smallobject.h \
238 parser
/rxx_allocator.h
239 $(CXX
) -c
$(CXXFLAGS
) $(INCPATH
) -o lexer.o parser
/lexer.
cpp
241 list.o
: parser
/list.
cpp parser
/list.h \
242 parser
/smallobject.h \
243 parser
/rxx_allocator.h
244 $(CXX
) -c
$(CXXFLAGS
) $(INCPATH
) -o list.o parser
/list.
cpp
246 parser.o
: parser
/parser.
cpp parser
/parser.h \
248 parser
/smallobject.h \
249 parser
/rxx_allocator.h \
255 $(CXX
) -c
$(CXXFLAGS
) $(INCPATH
) -o parser.o parser
/parser.
cpp
257 smallobject.o
: parser
/smallobject.
cpp parser
/smallobject.h \
258 parser
/rxx_allocator.h
259 $(CXX
) -c
$(CXXFLAGS
) $(INCPATH
) -o smallobject.o parser
/smallobject.
cpp
261 control.o
: parser
/control.
cpp parser
/control.h \
263 parser
/smallobject.h \
264 parser
/rxx_allocator.h \
266 $(CXX
) -c
$(CXXFLAGS
) $(INCPATH
) -o control.o parser
/control.
cpp
268 visitor.o
: parser
/visitor.
cpp parser
/visitor.h \
270 parser
/smallobject.h \
271 parser
/rxx_allocator.h \
273 $(CXX
) -c
$(CXXFLAGS
) $(INCPATH
) -o visitor.o parser
/visitor.
cpp
275 default_visitor.o
: parser
/default_visitor.
cpp parser
/default_visitor.h \
278 parser
/smallobject.h \
279 parser
/rxx_allocator.h \
281 $(CXX
) -c
$(CXXFLAGS
) $(INCPATH
) -o default_visitor.o parser
/default_visitor.
cpp
283 dumptree.o
: parser
/dumptree.
cpp parser
/dumptree.h \
284 parser
/default_visitor.h \
287 parser
/smallobject.h \
288 parser
/rxx_allocator.h \
290 $(CXX
) -c
$(CXXFLAGS
) $(INCPATH
) -o dumptree.o parser
/dumptree.
cpp
292 tokens.o
: parser
/tokens.
cpp parser
/tokens.h
293 $(CXX
) -c
$(CXXFLAGS
) $(INCPATH
) -o tokens.o parser
/tokens.
cpp
295 binder.o
: parser
/binder.
cpp parser
/binder.h \
296 parser
/default_visitor.h \
299 parser
/smallobject.h \
300 parser
/rxx_allocator.h \
303 parser
/codemodel_fwd.h \
304 parser
/type_compiler.h \
305 parser
/name_compiler.h \
306 parser
/declarator_compiler.h \
310 parser
/codemodel_finder.h \
311 parser
/class_compiler.h \
312 parser
/compiler_utils.h \
315 $(CXX
) -c
$(CXXFLAGS
) $(INCPATH
) -o binder.o parser
/binder.
cpp
317 codemodel.o
: parser
/codemodel.
cpp parser
/codemodel.h \
318 parser
/codemodel_fwd.h
319 $(CXX
) -c
$(CXXFLAGS
) $(INCPATH
) -o codemodel.o parser
/codemodel.
cpp
321 type_compiler.o
: parser
/type_compiler.
cpp parser
/type_compiler.h \
322 parser
/default_visitor.h \
325 parser
/smallobject.h \
326 parser
/rxx_allocator.h \
328 parser
/name_compiler.h \
334 parser
/codemodel_fwd.h \
335 parser
/declarator_compiler.h
336 $(CXX
) -c
$(CXXFLAGS
) $(INCPATH
) -o type_compiler.o parser
/type_compiler.
cpp
338 name_compiler.o
: parser
/name_compiler.
cpp parser
/name_compiler.h \
339 parser
/default_visitor.h \
342 parser
/smallobject.h \
343 parser
/rxx_allocator.h \
345 parser
/type_compiler.h \
346 parser
/declarator_compiler.h \
348 parser
/codemodel_fwd.h \
352 $(CXX
) -c
$(CXXFLAGS
) $(INCPATH
) -o name_compiler.o parser
/name_compiler.
cpp
354 declarator_compiler.o
: parser
/declarator_compiler.
cpp parser
/declarator_compiler.h \
355 parser
/default_visitor.h \
358 parser
/smallobject.h \
359 parser
/rxx_allocator.h \
362 parser
/codemodel_fwd.h \
363 parser
/name_compiler.h \
364 parser
/type_compiler.h \
365 parser
/compiler_utils.h \
370 $(CXX
) -c
$(CXXFLAGS
) $(INCPATH
) -o declarator_compiler.o parser
/declarator_compiler.
cpp
372 class_compiler.o
: parser
/class_compiler.
cpp parser
/class_compiler.h \
373 parser
/default_visitor.h \
376 parser
/smallobject.h \
377 parser
/rxx_allocator.h \
379 parser
/name_compiler.h \
380 parser
/type_compiler.h \
385 parser
/codemodel_fwd.h \
386 parser
/declarator_compiler.h
387 $(CXX
) -c
$(CXXFLAGS
) $(INCPATH
) -o class_compiler.o parser
/class_compiler.
cpp
389 codemodel_finder.o
: parser
/codemodel_finder.
cpp parser
/codemodel_finder.h \
390 parser
/default_visitor.h \
393 parser
/smallobject.h \
394 parser
/rxx_allocator.h \
396 parser
/codemodel_fwd.h \
397 parser
/name_compiler.h \
400 parser
/type_compiler.h \
401 parser
/declarator_compiler.h
402 $(CXX
) -c
$(CXXFLAGS
) $(INCPATH
) -o codemodel_finder.o parser
/codemodel_finder.
cpp
404 compiler_utils.o
: parser
/compiler_utils.
cpp parser
/compiler_utils.h \
406 parser
/codemodel_fwd.h \
407 parser
/type_compiler.h \
408 parser
/default_visitor.h \
411 parser
/smallobject.h \
412 parser
/rxx_allocator.h \
414 parser
/name_compiler.h \
415 parser
/declarator_compiler.h \
417 $(CXX
) -c
$(CXXFLAGS
) $(INCPATH
) -o compiler_utils.o parser
/compiler_utils.
cpp
419 preprocessor.o
: parser
/rpp
/preprocessor.
cpp parser
/rpp
/preprocessor.h \
421 parser
/rpp
/pp-fwd.h \
422 parser
/rpp
/pp-cctype.h \
423 parser
/rpp
/pp-string.h \
424 parser
/rpp
/pp-symbol.h \
425 parser
/rpp
/pp-internal.h \
426 parser
/rpp
/pp-iterator.h \
427 parser
/rpp
/pp-macro.h \
428 parser
/rpp
/pp-environment.h \
429 parser
/rpp
/pp-scanner.h \
430 parser
/rpp
/pp-macro-expander.h \
431 parser
/rpp
/pp-engine.h \
432 parser
/rpp
/pp-engine-bits.h
433 $(CXX
) -c
$(CXXFLAGS
) $(INCPATH
) -o preprocessor.o parser
/rpp
/preprocessor.
cpp
436 $(CXX
) -c
$(CXXFLAGS
) $(INCPATH
) -o main.o main.
cpp