-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.Release
296 lines (232 loc) · 10.9 KB
/
Makefile.Release
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
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
#############################################################################
# Makefile for building: GPMonitor
# Generated by qmake (2.01a) (Qt 4.8.5) on: ?? 8? 31 01:00:09 2014
# Project: GPMonitor.pro
# Template: app
#############################################################################
####### Compiler, tools and options
CC = cl
CXX = cl
DEFINES = -DUNICODE -DWIN32 -DQT_DLL -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DNDEBUG
CFLAGS = -nologo -Zm200 -Zc:wchar_t- -O2 -MD -W3 $(DEFINES)
CXXFLAGS = -nologo -Zm200 -Zc:wchar_t- -O2 -MD -GR -EHsc -W3 -w34100 -w34189 $(DEFINES)
INCPATH = -I"c:\Qt\4.8.5\include\QtCore" -I"c:\Qt\4.8.5\include\QtGui" -I"c:\Qt\4.8.5\include" -I"c:\QT\4.8.5\include\qwt" -I"c:\Qt\4.8.5\include\ActiveQt" -I"release" -I"." -I"c:\Qt\4.8.5\mkspecs\win32-msvc2008"
LINK = link
LFLAGS = /LIBPATH:"c:\Qt\4.8.5\lib" /NOLOGO /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO /MANIFEST /MANIFESTFILE:"release\GPMonitor.intermediate.manifest" /SUBSYSTEM:WINDOWS "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'"
LIBS = c:\Qt\4.8.5\lib\qtmain.lib c:\Qt\4.8.5\lib\qwt5.lib c:\Qt\4.8.5\lib\QtGui4.lib c:\Qt\4.8.5\lib\QtCore4.lib
QMAKE = c:\Qt\4.8.5\bin\qmake.exe
IDC = c:\Qt\4.8.5\bin\idc.exe
IDL = midl
ZIP = zip -r -9
DEF_FILE =
RES_FILE =
COPY = copy /y
SED =
COPY_FILE = $(COPY)
COPY_DIR = xcopy /s /q /y /i
DEL_FILE = del
DEL_DIR = rmdir
MOVE = move
CHK_DIR_EXISTS= if not exist
MKDIR = mkdir
INSTALL_FILE = $(COPY_FILE)
INSTALL_PROGRAM = $(COPY_FILE)
INSTALL_DIR = $(COPY_DIR)
####### Output directory
OBJECTS_DIR = release
####### Files
SOURCES = main.cpp \
visualchart.cpp \
qextserialbase.cpp \
monitorform.cpp \
mainform.cpp \
waveform.cpp \
colorchart.cpp \
win_qextserialport.cpp release\moc_visualchart.cpp \
release\moc_qextserialbase.cpp \
release\moc_monitorform.cpp \
release\moc_mainform.cpp \
release\moc_waveform.cpp \
release\moc_colorchart.cpp \
release\moc_win_qextserialport.cpp \
release\qrc_Resource.cpp
OBJECTS = release\main.obj \
release\visualchart.obj \
release\qextserialbase.obj \
release\monitorform.obj \
release\mainform.obj \
release\waveform.obj \
release\colorchart.obj \
release\win_qextserialport.obj \
release\moc_visualchart.obj \
release\moc_qextserialbase.obj \
release\moc_monitorform.obj \
release\moc_mainform.obj \
release\moc_waveform.obj \
release\moc_colorchart.obj \
release\moc_win_qextserialport.obj \
release\qrc_Resource.obj
DIST =
QMAKE_TARGET = GPMonitor
DESTDIR = release\ #avoid trailing-slash linebreak
TARGET = GPMonitor.exe
DESTDIR_TARGET = release\GPMonitor.exe
####### Implicit rules
.SUFFIXES: .c .cpp .cc .cxx
{release}.cpp{release\}.obj::
$(CXX) -c $(CXXFLAGS) $(INCPATH) -Forelease\ @<<
$<
<<
{release}.cc{release\}.obj::
$(CXX) -c $(CXXFLAGS) $(INCPATH) -Forelease\ @<<
$<
<<
{release}.cxx{release\}.obj::
$(CXX) -c $(CXXFLAGS) $(INCPATH) -Forelease\ @<<
$<
<<
{release}.c{release\}.obj::
$(CC) -c $(CFLAGS) $(INCPATH) -Forelease\ @<<
$<
<<
{.}.cpp{release\}.obj::
$(CXX) -c $(CXXFLAGS) $(INCPATH) -Forelease\ @<<
$<
<<
{.}.cc{release\}.obj::
$(CXX) -c $(CXXFLAGS) $(INCPATH) -Forelease\ @<<
$<
<<
{.}.cxx{release\}.obj::
$(CXX) -c $(CXXFLAGS) $(INCPATH) -Forelease\ @<<
$<
<<
{.}.c{release\}.obj::
$(CC) -c $(CFLAGS) $(INCPATH) -Forelease\ @<<
$<
<<
####### Build rules
first: all
all: Makefile.Release $(DESTDIR_TARGET)
$(DESTDIR_TARGET): ui_visualchart.h ui_monitorform.h ui_mainform.h ui_waveform.h ui_colorchart.h $(OBJECTS)
$(LINK) $(LFLAGS) /OUT:$(DESTDIR_TARGET) @<<
$(OBJECTS) $(LIBS)
<<
mt.exe -nologo -manifest "release\GPMonitor.intermediate.manifest" -outputresource:$(DESTDIR_TARGET);1
qmake: FORCE
@$(QMAKE) -spec c:\Qt\4.8.5\mkspecs\win32-msvc2008 CONFIG+=declarative_debug -o Makefile.Release GPMonitor.pro
dist:
$(ZIP) GPMonitor.zip $(SOURCES) $(DIST) GPMonitor.pro c:\Qt\4.8.5\mkspecs\qconfig.pri c:\Qt\4.8.5\mkspecs\modules\qt_webkit_version.pri c:\Qt\4.8.5\mkspecs\features\qt_functions.prf c:\Qt\4.8.5\mkspecs\features\qt_config.prf c:\Qt\4.8.5\mkspecs\features\exclusive_builds.prf c:\Qt\4.8.5\mkspecs\features\default_pre.prf c:\Qt\4.8.5\mkspecs\features\win32\default_pre.prf c:\Qt\4.8.5\mkspecs\features\release.prf c:\Qt\4.8.5\mkspecs\features\debug_and_release.prf c:\Qt\4.8.5\mkspecs\features\default_post.prf c:\Qt\4.8.5\mkspecs\features\win32\default_post.prf c:\Qt\4.8.5\mkspecs\features\build_pass.prf c:\Qt\4.8.5\mkspecs\features\declarative_debug.prf c:\Qt\4.8.5\mkspecs\features\win32\rtti.prf c:\Qt\4.8.5\mkspecs\features\win32\exceptions.prf c:\Qt\4.8.5\mkspecs\features\win32\stl.prf c:\Qt\4.8.5\mkspecs\features\shared.prf c:\Qt\4.8.5\mkspecs\features\win32\embed_manifest_exe.prf c:\Qt\4.8.5\mkspecs\features\win32\embed_manifest_dll.prf c:\Qt\4.8.5\mkspecs\features\warn_on.prf c:\Qt\4.8.5\mkspecs\features\qt.prf c:\Qt\4.8.5\mkspecs\features\win32\thread.prf c:\Qt\4.8.5\mkspecs\features\moc.prf c:\Qt\4.8.5\mkspecs\features\win32\windows.prf c:\Qt\4.8.5\mkspecs\features\resources.prf c:\Qt\4.8.5\mkspecs\features\uic.prf c:\Qt\4.8.5\mkspecs\features\yacc.prf c:\Qt\4.8.5\mkspecs\features\lex.prf c:\Qt\4.8.5\mkspecs\features\include_source_dir.prf c:\Qt\4.8.5\lib\qtmain.prl HEADERS RESOURCES IMAGES SOURCES OBJECTIVE_SOURCES FORMS YACCSOURCES YACCSOURCES LEXSOURCES
clean: compiler_clean
-$(DEL_FILE) release\main.obj release\visualchart.obj release\qextserialbase.obj release\monitorform.obj release\mainform.obj release\waveform.obj release\colorchart.obj release\win_qextserialport.obj release\moc_visualchart.obj release\moc_qextserialbase.obj release\moc_monitorform.obj release\moc_mainform.obj release\moc_waveform.obj release\moc_colorchart.obj release\moc_win_qextserialport.obj release\qrc_Resource.obj
-$(DEL_FILE) release\GPMonitor.intermediate.manifest release\GPMonitor.exp
distclean: clean
-$(DEL_FILE) $(DESTDIR_TARGET)
-$(DEL_FILE) Makefile.Release
check: first
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: release\moc_visualchart.cpp release\moc_qextserialbase.cpp release\moc_monitorform.cpp release\moc_mainform.cpp release\moc_waveform.cpp release\moc_colorchart.cpp release\moc_win_qextserialport.cpp
compiler_moc_header_clean:
-$(DEL_FILE) release\moc_visualchart.cpp release\moc_qextserialbase.cpp release\moc_monitorform.cpp release\moc_mainform.cpp release\moc_waveform.cpp release\moc_colorchart.cpp release\moc_win_qextserialport.cpp
release\moc_visualchart.cpp: visualchart.h
C:\Qt\4.8.5\bin\moc.exe $(DEFINES) $(INCPATH) -D_MSC_VER=1500 -DWIN32 visualchart.h -o release\moc_visualchart.cpp
release\moc_qextserialbase.cpp: qextserialbase.h
C:\Qt\4.8.5\bin\moc.exe $(DEFINES) $(INCPATH) -D_MSC_VER=1500 -DWIN32 qextserialbase.h -o release\moc_qextserialbase.cpp
release\moc_monitorform.cpp: win_qextserialport.h \
qextserialbase.h \
monitorform.h
C:\Qt\4.8.5\bin\moc.exe $(DEFINES) $(INCPATH) -D_MSC_VER=1500 -DWIN32 monitorform.h -o release\moc_monitorform.cpp
release\moc_mainform.cpp: monitorform.h \
win_qextserialport.h \
qextserialbase.h \
waveform.h \
visualchart.h \
colorchart.h \
posix_qextserialport.h \
mainform.h
C:\Qt\4.8.5\bin\moc.exe $(DEFINES) $(INCPATH) -D_MSC_VER=1500 -DWIN32 mainform.h -o release\moc_mainform.cpp
release\moc_waveform.cpp: waveform.h
C:\Qt\4.8.5\bin\moc.exe $(DEFINES) $(INCPATH) -D_MSC_VER=1500 -DWIN32 waveform.h -o release\moc_waveform.cpp
release\moc_colorchart.cpp: colorchart.h
C:\Qt\4.8.5\bin\moc.exe $(DEFINES) $(INCPATH) -D_MSC_VER=1500 -DWIN32 colorchart.h -o release\moc_colorchart.cpp
release\moc_win_qextserialport.cpp: qextserialbase.h \
win_qextserialport.h
C:\Qt\4.8.5\bin\moc.exe $(DEFINES) $(INCPATH) -D_MSC_VER=1500 -DWIN32 win_qextserialport.h -o release\moc_win_qextserialport.cpp
compiler_rcc_make_all: release\qrc_Resource.cpp
compiler_rcc_clean:
-$(DEL_FILE) release\qrc_Resource.cpp
release\qrc_Resource.cpp: Resource.qrc \
colortest.jpg
c:\Qt\4.8.5\bin\rcc.exe -name Resource Resource.qrc -o release\qrc_Resource.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_visualchart.h ui_monitorform.h ui_mainform.h ui_waveform.h ui_colorchart.h
compiler_uic_clean:
-$(DEL_FILE) ui_visualchart.h ui_monitorform.h ui_mainform.h ui_waveform.h ui_colorchart.h
ui_visualchart.h: visualchart.ui
c:\Qt\4.8.5\bin\uic.exe visualchart.ui -o ui_visualchart.h
ui_monitorform.h: monitorform.ui
c:\Qt\4.8.5\bin\uic.exe monitorform.ui -o ui_monitorform.h
ui_mainform.h: mainform.ui
c:\Qt\4.8.5\bin\uic.exe mainform.ui -o ui_mainform.h
ui_waveform.h: waveform.ui
c:\Qt\4.8.5\bin\uic.exe waveform.ui -o ui_waveform.h
ui_colorchart.h: colorchart.ui
c:\Qt\4.8.5\bin\uic.exe colorchart.ui -o ui_colorchart.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
release\main.obj: main.cpp mainform.h \
monitorform.h \
win_qextserialport.h \
qextserialbase.h \
waveform.h \
visualchart.h \
colorchart.h \
posix_qextserialport.h
release\visualchart.obj: visualchart.cpp visualchart.h \
ui_visualchart.h
release\qextserialbase.obj: qextserialbase.cpp qextserialbase.h
release\monitorform.obj: monitorform.cpp monitorform.h \
win_qextserialport.h \
qextserialbase.h \
ui_monitorform.h \
comdefs.h
release\mainform.obj: mainform.cpp mainform.h \
monitorform.h \
win_qextserialport.h \
qextserialbase.h \
waveform.h \
visualchart.h \
colorchart.h \
posix_qextserialport.h \
ui_mainform.h \
comdefs.h
release\waveform.obj: waveform.cpp waveform.h \
ui_waveform.h \
comdefs.h
release\colorchart.obj: colorchart.cpp colorchart.h \
ui_colorchart.h
release\win_qextserialport.obj: win_qextserialport.cpp win_qextserialport.h \
qextserialbase.h
release\moc_visualchart.obj: release\moc_visualchart.cpp
release\moc_qextserialbase.obj: release\moc_qextserialbase.cpp
release\moc_monitorform.obj: release\moc_monitorform.cpp
release\moc_mainform.obj: release\moc_mainform.cpp
release\moc_waveform.obj: release\moc_waveform.cpp
release\moc_colorchart.obj: release\moc_colorchart.cpp
release\moc_win_qextserialport.obj: release\moc_win_qextserialport.cpp
release\qrc_Resource.obj: release\qrc_Resource.cpp
####### Install
install: FORCE
uninstall: FORCE
FORCE: