-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.Release
269 lines (204 loc) · 12 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
#############################################################################
# Makefile for building: graphicPlottin
# Generated by qmake (2.01a) (Qt 4.8.1) on: ?? ?? 5 20:46:37 2013
# Project: graphicPlotting.pro
# Template: app
#############################################################################
####### Compiler, tools and options
CC = gcc
CXX = g++
DEFINES = -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN
CFLAGS = -O2 -Wall $(DEFINES)
CXXFLAGS = -O2 -frtti -fexceptions -mthreads -Wall $(DEFINES)
INCPATH = -I"d:\QtSDK\Desktop\Qt\4.8.1\mingw\include\QtCore" -I"d:\QtSDK\Desktop\Qt\4.8.1\mingw\include\QtNetwork" -I"d:\QtSDK\Desktop\Qt\4.8.1\mingw\include\QtGui" -I"d:\QtSDK\Desktop\Qt\4.8.1\mingw\include\QtSql" -I"d:\QtSDK\Desktop\Qt\4.8.1\mingw\include" -I"d:\QtSDK\Desktop\Qt\4.8.1\mingw\include\ActiveQt" -I"release" -I"." -I"d:\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\win32-g++"
LINK = g++
LFLAGS = -Wl,-s -mthreads -Wl,-subsystem,windows
LIBS = -L"d:\QtSDK\Desktop\Qt\4.8.1\mingw\lib" -lmingw32 -lqtmain -lQtSql4 -lQtGui4 -lQtNetwork4 -lQtCore4
QMAKE = d:\QtSDK\Desktop\Qt\4.8.1\mingw\bin\qmake.exe
IDC = d:\QtSDK\Desktop\Qt\4.8.1\mingw\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 = mychart1.cpp \
main.cpp \
mainwindow.cpp \
listenthread.cpp \
login.cpp \
mygauge2.cpp \
mygauge1.cpp \
databasemanager.cpp \
timeselect.cpp \
plotter.cpp \
insertthread.cpp release\moc_mychart1.cpp \
release\moc_mainwindow.cpp \
release\moc_listenthread.cpp \
release\moc_login.cpp \
release\moc_mygauge2.cpp \
release\moc_mygauge1.cpp \
release\moc_databasemanager.cpp \
release\moc_timeselect.cpp \
release\moc_plotter.cpp \
release\moc_insertthread.cpp
OBJECTS = release/mychart1.o \
release/main.o \
release/mainwindow.o \
release/listenthread.o \
release/login.o \
release/mygauge2.o \
release/mygauge1.o \
release/databasemanager.o \
release/timeselect.o \
release/plotter.o \
release/insertthread.o \
release/moc_mychart1.o \
release/moc_mainwindow.o \
release/moc_listenthread.o \
release/moc_login.o \
release/moc_mygauge2.o \
release/moc_mygauge1.o \
release/moc_databasemanager.o \
release/moc_timeselect.o \
release/moc_plotter.o \
release/moc_insertthread.o
DIST =
QMAKE_TARGET = graphicPlottin
DESTDIR = release\ #avoid trailing-slash linebreak
TARGET = graphicPlottin.exe
DESTDIR_TARGET = release\graphicPlottin.exe
####### Implicit rules
.SUFFIXES: .cpp .cc .cxx .c
.cpp.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
.cc.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
.cxx.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
.c.o:
$(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
####### Build rules
first: all
all: Makefile.Release $(DESTDIR_TARGET)
$(DESTDIR_TARGET): ui_mainwindow.h ui_login.h ui_timeselect.h $(OBJECTS)
$(LINK) $(LFLAGS) -o $(DESTDIR_TARGET) object_script.graphicPlottin.Release $(LIBS)
qmake: FORCE
@$(QMAKE) -spec d:\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\win32-g++ CONFIG+=release -o Makefile.Release graphicPlotting.pro
dist:
$(ZIP) graphicPlottin.zip $(SOURCES) $(DIST) graphicPlotting.pro d:\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\qconfig.pri d:\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\modules\qt_webkit_version.pri d:\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\qt_functions.prf d:\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\qt_config.prf d:\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\exclusive_builds.prf d:\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\default_pre.prf d:\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\win32\default_pre.prf d:\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\release.prf d:\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\debug_and_release.prf d:\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\default_post.prf d:\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\win32\default_post.prf d:\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\build_pass.prf d:\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\win32\rtti.prf d:\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\win32\exceptions.prf d:\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\win32\stl.prf d:\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\shared.prf d:\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\warn_on.prf d:\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\qt.prf d:\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\win32\thread.prf d:\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\moc.prf d:\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\win32\windows.prf d:\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\resources.prf d:\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\uic.prf d:\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\yacc.prf d:\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\lex.prf d:\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\features\include_source_dir.prf d:\QtSDK\Desktop\Qt\4.8.1\mingw\lib\qtmain.prl HEADERS RESOURCES IMAGES SOURCES OBJECTIVE_SOURCES FORMS YACCSOURCES YACCSOURCES LEXSOURCES
clean: compiler_clean
-$(DEL_FILE) release\mychart1.o release\main.o release\mainwindow.o release\listenthread.o release\login.o release\mygauge2.o release\mygauge1.o release\databasemanager.o release\timeselect.o release\plotter.o release\insertthread.o release\moc_mychart1.o release\moc_mainwindow.o release\moc_listenthread.o release\moc_login.o release\moc_mygauge2.o release\moc_mygauge1.o release\moc_databasemanager.o release\moc_timeselect.o release\moc_plotter.o release\moc_insertthread.o
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_mychart1.cpp release/moc_mainwindow.cpp release/moc_listenthread.cpp release/moc_login.cpp release/moc_mygauge2.cpp release/moc_mygauge1.cpp release/moc_databasemanager.cpp release/moc_timeselect.cpp release/moc_plotter.cpp release/moc_insertthread.cpp
compiler_moc_header_clean:
-$(DEL_FILE) release\moc_mychart1.cpp release\moc_mainwindow.cpp release\moc_listenthread.cpp release\moc_login.cpp release\moc_mygauge2.cpp release\moc_mygauge1.cpp release\moc_databasemanager.cpp release\moc_timeselect.cpp release\moc_plotter.cpp release\moc_insertthread.cpp
release/moc_mychart1.cpp: mychart1.h
D:\QtSDK\Desktop\Qt\4.8.1\mingw\bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 mychart1.h -o release\moc_mychart1.cpp
release/moc_mainwindow.cpp: mainwindow.h
D:\QtSDK\Desktop\Qt\4.8.1\mingw\bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 mainwindow.h -o release\moc_mainwindow.cpp
release/moc_listenthread.cpp: listenthread.h
D:\QtSDK\Desktop\Qt\4.8.1\mingw\bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 listenthread.h -o release\moc_listenthread.cpp
release/moc_login.cpp: login.h
D:\QtSDK\Desktop\Qt\4.8.1\mingw\bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 login.h -o release\moc_login.cpp
release/moc_mygauge2.cpp: mygauge2.h
D:\QtSDK\Desktop\Qt\4.8.1\mingw\bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 mygauge2.h -o release\moc_mygauge2.cpp
release/moc_mygauge1.cpp: mygauge1.h
D:\QtSDK\Desktop\Qt\4.8.1\mingw\bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 mygauge1.h -o release\moc_mygauge1.cpp
release/moc_databasemanager.cpp: databasemanager.h
D:\QtSDK\Desktop\Qt\4.8.1\mingw\bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 databasemanager.h -o release\moc_databasemanager.cpp
release/moc_timeselect.cpp: timeselect.h
D:\QtSDK\Desktop\Qt\4.8.1\mingw\bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 timeselect.h -o release\moc_timeselect.cpp
release/moc_plotter.cpp: plotter.h
D:\QtSDK\Desktop\Qt\4.8.1\mingw\bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 plotter.h -o release\moc_plotter.cpp
release/moc_insertthread.cpp: databasemanager.h \
insertthread.h
D:\QtSDK\Desktop\Qt\4.8.1\mingw\bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 insertthread.h -o release\moc_insertthread.cpp
compiler_rcc_make_all:
compiler_rcc_clean:
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_login.h ui_timeselect.h
compiler_uic_clean:
-$(DEL_FILE) ui_mainwindow.h ui_login.h ui_timeselect.h
ui_mainwindow.h: mainwindow.ui
d:\QtSDK\Desktop\Qt\4.8.1\mingw\bin\uic.exe mainwindow.ui -o ui_mainwindow.h
ui_login.h: login.ui
d:\QtSDK\Desktop\Qt\4.8.1\mingw\bin\uic.exe login.ui -o ui_login.h
ui_timeselect.h: timeselect.ui
d:\QtSDK\Desktop\Qt\4.8.1\mingw\bin\uic.exe timeselect.ui -o ui_timeselect.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_uic_clean
####### Compile
release/mychart1.o: mychart1.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\mychart1.o mychart1.cpp
release/main.o: main.cpp mainwindow.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\main.o main.cpp
release/mainwindow.o: mainwindow.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\mainwindow.o mainwindow.cpp
release/listenthread.o: listenthread.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\listenthread.o listenthread.cpp
release/login.o: login.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\login.o login.cpp
release/mygauge2.o: mygauge2.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\mygauge2.o mygauge2.cpp
release/mygauge1.o: mygauge1.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\mygauge1.o mygauge1.cpp
release/databasemanager.o: databasemanager.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\databasemanager.o databasemanager.cpp
release/timeselect.o: timeselect.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\timeselect.o timeselect.cpp
release/plotter.o: plotter.cpp plotter.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\plotter.o plotter.cpp
release/insertthread.o: insertthread.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\insertthread.o insertthread.cpp
release/moc_mychart1.o: release/moc_mychart1.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_mychart1.o release\moc_mychart1.cpp
release/moc_mainwindow.o: release/moc_mainwindow.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_mainwindow.o release\moc_mainwindow.cpp
release/moc_listenthread.o: release/moc_listenthread.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_listenthread.o release\moc_listenthread.cpp
release/moc_login.o: release/moc_login.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_login.o release\moc_login.cpp
release/moc_mygauge2.o: release/moc_mygauge2.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_mygauge2.o release\moc_mygauge2.cpp
release/moc_mygauge1.o: release/moc_mygauge1.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_mygauge1.o release\moc_mygauge1.cpp
release/moc_databasemanager.o: release/moc_databasemanager.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_databasemanager.o release\moc_databasemanager.cpp
release/moc_timeselect.o: release/moc_timeselect.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_timeselect.o release\moc_timeselect.cpp
release/moc_plotter.o: release/moc_plotter.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_plotter.o release\moc_plotter.cpp
release/moc_insertthread.o: release/moc_insertthread.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_insertthread.o release\moc_insertthread.cpp
####### Install
install: FORCE
uninstall: FORCE
FORCE: