-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.Debug
157 lines (119 loc) · 5.98 KB
/
Makefile.Debug
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
#############################################################################
# Makefile for building: ogr2gui
# Generated by qmake (2.01a) (Qt 4.5.2) on: Sat Oct 31 13:16:13 2009
# Project: ogr2gui.pro
# Template: app
#############################################################################
####### Compiler, tools and options
CC = gcc
CXX = g++
DEFINES = -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_SQL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN
CFLAGS = -g -Wall $(DEFINES)
CXXFLAGS = -g -frtti -fno-exceptions -Wall $(DEFINES)
INCPATH = -I'../../qt/2009.03/qt/include/QtCore' -I'../../qt/2009.03/qt/include/QtGui' -I'../../qt/2009.03/qt/include/QtSql' -I'../../qt/2009.03/qt/include' -I'.' -I'inc' -I'src' -I'/usr/local/include' -I'../../qt/2009.03/qt/include/ActiveQt' -I'debug' -I'../../qt/2009.03/qt/mkspecs/default'
LINK = g++
LFLAGS = -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-subsystem,windows
LIBS = -L'c:/qt/2009.03/qt/lib' -lmingw32 -lqtmaind -L/usr/local/lib -lgdal -lproj -lQtSqld -lQtGuid -lpq -lgdi32 -lcomdlg32 -loleaut32 -limm32 -lwinmm -lwinspool -lmsimg32 -lQtCored -lkernel32 -luser32 -lshell32 -luuid -lole32 -ladvapi32 -lws2_32 -LC:/msys/1.0/local/lib
QMAKE = c:/Qt/2009.03/qt/bin/qmake.exe
IDC = c:/qt/2009.03/qt/bin/idc.exe
IDL = midl
ZIP = zip -r -9
DEF_FILE =
RES_FILE =
COPY = cp
COPY_FILE = $(COPY)
COPY_DIR = xcopy /s /q /y /i
DEL_FILE = rm
DEL_DIR = rmdir
MOVE = mv
CHK_DIR_EXISTS= test -d
MKDIR = mkdir
INSTALL_FILE = $(COPY_FILE)
INSTALL_PROGRAM = $(COPY_FILE)
INSTALL_DIR = $(COPY_DIR)
####### Output directory
OBJECTS_DIR = debug/
####### Files
SOURCES = src/App.cpp \
src/Ogr.cpp \
src/Inf.cpp debug/moc_App.cpp \
debug/moc_Inf.cpp
OBJECTS = debug/App.o \
debug/Ogr.o \
debug/Inf.o \
debug/moc_App.o \
debug/moc_Inf.o
DIST =
QMAKE_TARGET = ogr2gui
DESTDIR = debug/ #avoid trailing-slash linebreak
TARGET = ogr2gui.exe
DESTDIR_TARGET = debug/ogr2gui.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.Debug $(DESTDIR_TARGET)
$(DESTDIR_TARGET): $(OBJECTS)
$(LINK) $(LFLAGS) -o $(DESTDIR_TARGET) $(OBJECTS) $(LIBS)
qmake: FORCE
@$(QMAKE) -win32 -o Makefile.Debug ogr2gui.pro
dist:
$(ZIP) ogr2gui.zip $(SOURCES) $(DIST) ogr2gui.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/debug.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/static.prf ../../qt/2009.03/qt/mkspecs/features/win32/rtti.prf ../../qt/2009.03/qt/mkspecs/features/win32/exceptions_off.prf ../../qt/2009.03/qt/mkspecs/features/win32/stl.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\qtmaind.prl c:\qt\2009.03\qt\lib\QtSqld.prl c:\qt\2009.03\qt\lib\QtGuid.prl c:\qt\2009.03\qt\lib\QtCored.prl HEADERS RESOURCES IMAGES SOURCES OBJECTIVE_SOURCES FORMS YACCSOURCES YACCSOURCES LEXSOURCES
clean: compiler_clean
-$(DEL_FILE) debug/App.o debug/Ogr.o debug/Inf.o debug/moc_App.o debug/moc_Inf.o
distclean: clean
-$(DEL_FILE) $(DESTDIR_TARGET)
-$(DEL_FILE) Makefile.Debug
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: debug/moc_App.cpp debug/moc_Inf.cpp
compiler_moc_header_clean:
-$(DEL_FILE) debug/moc_App.cpp debug/moc_Inf.cpp
debug/moc_App.cpp: inc/Ogr.h \
inc/Inf.h \
inc/App.h
C:/qt/2009.03/qt/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 inc/App.h -o debug/moc_App.cpp
debug/moc_Inf.cpp: inc/Inf.h
C:/qt/2009.03/qt/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 inc/Inf.h -o debug/moc_Inf.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:
compiler_uic_clean:
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
####### Compile
debug/App.o: src/App.cpp inc/App.h \
inc/Ogr.h \
inc/Inf.h \
inc/Dta.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/App.o src/App.cpp
debug/Ogr.o: src/Ogr.cpp inc/Ogr.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/Ogr.o src/Ogr.cpp
debug/Inf.o: src/Inf.cpp inc/Inf.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/Inf.o src/Inf.cpp
debug/moc_App.o: debug/moc_App.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/moc_App.o debug/moc_App.cpp
debug/moc_Inf.o: debug/moc_Inf.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/moc_Inf.o debug/moc_Inf.cpp
####### Install
install: FORCE
uninstall: FORCE
FORCE: