|
1 ############################################################################# |
|
2 # Makefile for building: BuildLogViewer |
|
3 # Generated by qmake (2.01a) (Qt 4.5.2) on: Fri Aug 28 11:18:04 2009 |
|
4 # Project: BuildLogViewer.pro |
|
5 # Template: app |
|
6 ############################################################################# |
|
7 |
|
8 ####### Compiler, tools and options |
|
9 |
|
10 CC = gcc |
|
11 CXX = g++ |
|
12 DEFINES = -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN |
|
13 CFLAGS = -O2 -Wall $(DEFINES) |
|
14 CXXFLAGS = -O2 -frtti -fexceptions -mthreads -Wall $(DEFINES) |
|
15 INCPATH = -I"..\..\..\Qt\2009.03\qt\include\QtCore" -I"..\..\..\Qt\2009.03\qt\include\QtGui" -I"..\..\..\Qt\2009.03\qt\include\QtXml" -I"..\..\..\Qt\2009.03\qt\include" -I"..\..\..\Qt\2009.03\qt\include\ActiveQt" -I"release" -I"." -I"..\..\..\Qt\2009.03\qt\mkspecs\win32-g++" |
|
16 LINK = g++ |
|
17 LFLAGS = -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-s -mthreads -Wl -Wl,-subsystem,windows |
|
18 LIBS = -L"c:\Qt\2009.03\qt\lib" -lmingw32 -lqtmain -lQtXml4 -lQtGui4 -lQtCore4 |
|
19 QMAKE = c:\Qt\2009.03\qt\bin\qmake.exe |
|
20 IDC = c:\Qt\2009.03\qt\bin\idc.exe |
|
21 IDL = midl |
|
22 ZIP = zip -r -9 |
|
23 DEF_FILE = |
|
24 RES_FILE = |
|
25 COPY = copy /y |
|
26 COPY_FILE = $(COPY) |
|
27 COPY_DIR = xcopy /s /q /y /i |
|
28 DEL_FILE = del |
|
29 DEL_DIR = rmdir |
|
30 MOVE = move |
|
31 CHK_DIR_EXISTS= if not exist |
|
32 MKDIR = mkdir |
|
33 INSTALL_FILE = $(COPY_FILE) |
|
34 INSTALL_PROGRAM = $(COPY_FILE) |
|
35 INSTALL_DIR = $(COPY_DIR) |
|
36 |
|
37 ####### Output directory |
|
38 |
|
39 OBJECTS_DIR = release |
|
40 |
|
41 ####### Files |
|
42 |
|
43 SOURCES = main.cpp \ |
|
44 mainwindow.cpp \ |
|
45 Document.cpp \ |
|
46 DomModel.cpp \ |
|
47 DomItem.cpp release\moc_mainwindow.cpp \ |
|
48 release\moc_Document.cpp \ |
|
49 release\moc_DomModel.cpp |
|
50 OBJECTS = release/main.o \ |
|
51 release/mainwindow.o \ |
|
52 release/Document.o \ |
|
53 release/DomModel.o \ |
|
54 release/DomItem.o \ |
|
55 release/moc_mainwindow.o \ |
|
56 release/moc_Document.o \ |
|
57 release/moc_DomModel.o |
|
58 DIST = |
|
59 QMAKE_TARGET = BuildLogViewer |
|
60 DESTDIR = release\ #avoid trailing-slash linebreak |
|
61 TARGET = BuildLogViewer.exe |
|
62 DESTDIR_TARGET = release\BuildLogViewer.exe |
|
63 |
|
64 ####### Implicit rules |
|
65 |
|
66 .SUFFIXES: .cpp .cc .cxx .c |
|
67 |
|
68 .cpp.o: |
|
69 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< |
|
70 |
|
71 .cc.o: |
|
72 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< |
|
73 |
|
74 .cxx.o: |
|
75 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< |
|
76 |
|
77 .c.o: |
|
78 $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $< |
|
79 |
|
80 ####### Build rules |
|
81 |
|
82 first: all |
|
83 all: Makefile.Release $(DESTDIR_TARGET) |
|
84 |
|
85 $(DESTDIR_TARGET): ui_mainwindow.h $(OBJECTS) |
|
86 $(LINK) $(LFLAGS) -o $(DESTDIR_TARGET) $(OBJECTS) $(LIBS) |
|
87 |
|
88 |
|
89 qmake: FORCE |
|
90 @$(QMAKE) -spec ..\..\..\Qt\2009.03\qt\mkspecs\win32-g++ -win32 -o Makefile.Release BuildLogViewer.pro |
|
91 |
|
92 dist: |
|
93 $(ZIP) BuildLogViewer.zip $(SOURCES) $(DIST) BuildLogViewer.pro ..\..\..\Qt\2009.03\qt\mkspecs\qconfig.pri ..\..\..\Qt\2009.03\qt\mkspecs\features\qt_functions.prf ..\..\..\Qt\2009.03\qt\mkspecs\features\qt_config.prf ..\..\..\Qt\2009.03\qt\mkspecs\features\exclusive_builds.prf ..\..\..\Qt\2009.03\qt\mkspecs\features\default_pre.prf ..\..\..\Qt\2009.03\qt\mkspecs\features\win32\default_pre.prf ..\..\..\Qt\2009.03\qt\mkspecs\features\release.prf ..\..\..\Qt\2009.03\qt\mkspecs\features\debug_and_release.prf ..\..\..\Qt\2009.03\qt\mkspecs\features\default_post.prf ..\..\..\Qt\2009.03\qt\mkspecs\features\win32\default_post.prf ..\..\..\Qt\2009.03\qt\mkspecs\features\build_pass.prf ..\..\..\Qt\2009.03\qt\mkspecs\features\win32\rtti.prf ..\..\..\Qt\2009.03\qt\mkspecs\features\win32\exceptions.prf ..\..\..\Qt\2009.03\qt\mkspecs\features\win32\stl.prf ..\..\..\Qt\2009.03\qt\mkspecs\features\shared.prf ..\..\..\Qt\2009.03\qt\mkspecs\features\warn_on.prf ..\..\..\Qt\2009.03\qt\mkspecs\features\qt.prf ..\..\..\Qt\2009.03\qt\mkspecs\features\win32\thread.prf ..\..\..\Qt\2009.03\qt\mkspecs\features\moc.prf ..\..\..\Qt\2009.03\qt\mkspecs\features\win32\windows.prf ..\..\..\Qt\2009.03\qt\mkspecs\features\resources.prf ..\..\..\Qt\2009.03\qt\mkspecs\features\uic.prf ..\..\..\Qt\2009.03\qt\mkspecs\features\yacc.prf ..\..\..\Qt\2009.03\qt\mkspecs\features\lex.prf ..\..\..\Qt\2009.03\qt\mkspecs\features\include_source_dir.prf c:\Qt\2009.03\qt\lib\qtmain.prl HEADERS RESOURCES IMAGES SOURCES OBJECTIVE_SOURCES FORMS YACCSOURCES YACCSOURCES LEXSOURCES |
|
94 |
|
95 clean: compiler_clean |
|
96 -$(DEL_FILE) release\main.o release\mainwindow.o release\Document.o release\DomModel.o release\DomItem.o release\moc_mainwindow.o release\moc_Document.o release\moc_DomModel.o |
|
97 |
|
98 distclean: clean |
|
99 -$(DEL_FILE) $(DESTDIR_TARGET) |
|
100 -$(DEL_FILE) Makefile.Release |
|
101 |
|
102 mocclean: compiler_moc_header_clean compiler_moc_source_clean |
|
103 |
|
104 mocables: compiler_moc_header_make_all compiler_moc_source_make_all |
|
105 |
|
106 compiler_moc_header_make_all: release/moc_mainwindow.cpp release/moc_Document.cpp release/moc_DomModel.cpp |
|
107 compiler_moc_header_clean: |
|
108 -$(DEL_FILE) release\moc_mainwindow.cpp release\moc_Document.cpp release\moc_DomModel.cpp |
|
109 release/moc_mainwindow.cpp: Document.h \ |
|
110 DomModel.h \ |
|
111 mainwindow.h |
|
112 C:/Qt/2009.03/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 mainwindow.h -o release\moc_mainwindow.cpp |
|
113 |
|
114 release/moc_Document.cpp: DomModel.h \ |
|
115 Document.h |
|
116 C:/Qt/2009.03/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 Document.h -o release\moc_Document.cpp |
|
117 |
|
118 release/moc_DomModel.cpp: DomModel.h |
|
119 C:/Qt/2009.03/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 DomModel.h -o release\moc_DomModel.cpp |
|
120 |
|
121 compiler_rcc_make_all: |
|
122 compiler_rcc_clean: |
|
123 compiler_image_collection_make_all: qmake_image_collection.cpp |
|
124 compiler_image_collection_clean: |
|
125 -$(DEL_FILE) qmake_image_collection.cpp |
|
126 compiler_moc_source_make_all: |
|
127 compiler_moc_source_clean: |
|
128 compiler_uic_make_all: ui_mainwindow.h |
|
129 compiler_uic_clean: |
|
130 -$(DEL_FILE) ui_mainwindow.h |
|
131 ui_mainwindow.h: mainwindow.ui |
|
132 c:\Qt\2009.03\qt\bin\uic.exe mainwindow.ui -o ui_mainwindow.h |
|
133 |
|
134 compiler_yacc_decl_make_all: |
|
135 compiler_yacc_decl_clean: |
|
136 compiler_yacc_impl_make_all: |
|
137 compiler_yacc_impl_clean: |
|
138 compiler_lex_make_all: |
|
139 compiler_lex_clean: |
|
140 compiler_clean: compiler_moc_header_clean compiler_uic_clean |
|
141 |
|
142 |
|
143 |
|
144 ####### Compile |
|
145 |
|
146 release/main.o: main.cpp mainwindow.h \ |
|
147 Document.h \ |
|
148 DomModel.h |
|
149 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\main.o main.cpp |
|
150 |
|
151 release/mainwindow.o: mainwindow.cpp Document.h \ |
|
152 DomModel.h \ |
|
153 mainwindow.h \ |
|
154 ui_mainwindow.h |
|
155 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\mainwindow.o mainwindow.cpp |
|
156 |
|
157 release/Document.o: Document.cpp Document.h \ |
|
158 DomModel.h |
|
159 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\Document.o Document.cpp |
|
160 |
|
161 release/DomModel.o: DomModel.cpp domitem.h \ |
|
162 dommodel.h |
|
163 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\DomModel.o DomModel.cpp |
|
164 |
|
165 release/DomItem.o: DomItem.cpp domitem.h |
|
166 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\DomItem.o DomItem.cpp |
|
167 |
|
168 release/moc_mainwindow.o: release/moc_mainwindow.cpp |
|
169 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_mainwindow.o release\moc_mainwindow.cpp |
|
170 |
|
171 release/moc_Document.o: release/moc_Document.cpp |
|
172 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_Document.o release\moc_Document.cpp |
|
173 |
|
174 release/moc_DomModel.o: release/moc_DomModel.cpp |
|
175 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_DomModel.o release\moc_DomModel.cpp |
|
176 |
|
177 ####### Install |
|
178 |
|
179 install: FORCE |
|
180 |
|
181 uninstall: FORCE |
|
182 |
|
183 FORCE: |
|
184 |