1
# Copyright (C) 2003 Gary Sherman <sherman at mrcc.com>
3
# This file is free software; as a special exception the author gives
4
# unlimited permission to copy and/or distribute it, with or without
5
# modifications, as long as this notice is preserved.
7
# This program is distributed in the hope that it will be useful, but
8
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
9
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12
## ----------------------------------------------------------------------
14
## ----------------------------------------------------------------------
18
PREFIX=-DPREFIX=\"$(prefix)\"
19
PLUGINPATH=-DPLUGINPATH=\"$(pkglibdir)\"
20
PKGDATAPATH=-DPKGDATAPATH=\"$(pkgdatadir)\"
27
## ----------------------------------------------------------------------
29
## ----------------------------------------------------------------------
32
## Qt/Mac binary must be in MacOS directory within bundle, not in bin subdirectory
33
## (configure ensures that prefix ends in qgis.app/Contents/MacOS)
34
macbindir = $(exec_prefix)
35
macbin_PROGRAMS = qgis
40
lib_LTLIBRARIES = libqgis_gui.la
44
## ----------------------------------------------------------------------
45
## QGIS Desktop Application
46
## ----------------------------------------------------------------------
49
qgis_SOURCES = main.cpp
51
qgis_LDADD = ../raster/libqgis_raster.la ../legend/libqgis_legend.la ../composer/libqgis_composer.la $(LDADD) $(QT_LDADD) $(GDAL_LDADD) $(PG_LIB) $(GEOS_LDADD) $(PYTHON_LIB) -lproj -lsqlite3 libqgis_gui.la ../core/libqgis_core.la
53
qgis_LDFLAGS = -framework ApplicationServices
55
qgis_LDFLAGS = -rdynamic
57
qgis_CXXFLAGS = $(PREFIX) $(PLUGINPATH) $(PKGDATAPATH) $(GDAL_CFLAGS) $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(PG_INC) $(DEBUG_QGIS) $(HAVE_PYTHON) $(GEOS_CFLAGS) $(PYTHON_INCLUDE_DIR) -I../ui/ -I../widgets/projectionselector/ -I../legend/ -I../raster/ -I../composer/ -I../core/ -I../plugins/
61
## ----------------------------------------------------------------------
62
## libqgis_gui-gui stuff starts here
63
## ----------------------------------------------------------------------
66
libqgis_guiHEADERS = \
73
qgsattributeaction.h \
74
qgsattributeactiondialog.h \
75
qgsattributedialog.h \
76
qgsattributetabledisplay.h \
81
qgscontinuouscolordialog.h \
82
qgscontinuouscolorrenderer.h \
83
qgscoordinatetransform.h \
85
qgscustomprojectiondialog.h \
88
qgsencodingfiledialog.h \
89
qgsfillstylewidget.h \
91
qgsgraduatedsymbolrenderer.h \
92
qgsgraduatedsymboldialog.h \
94
qgsidentifyresults.h \
97
qgslayerprojectionselector.h \
98
qgslinestyledialog.h \
99
qgslinestylewidget.h \
105
qgsmaplayerinterface.h \
106
qgsmaplayerregistry.h \
108
qgsmapoverviewcanvas.h \
109
qgsmapserverexport.h \
111
qgsmaptoolcapture.h \
112
qgsmaptoolidentify.h \
115
qgsmaptoolvertexedit.h \
121
qgsnewhttpconnection.h \
123
qgspastetransformations.h \
126
qgspluginmetadata.h \
127
qgspointstylewidget.h \
129
qgsprojectproperties.h \
130
qgsrasterlayerproperties.h \
133
qgssearchquerybuilder.h \
134
qgsserversourceselect.h \
135
qgssinglesymboldialog.h \
136
qgssinglesymbolrenderer.h \
138
qgsuniquevaluerenderer.h \
139
qgsuniquevaluedialog.h \
140
qgsvectorfilewriter.h \
142
qgsvectorlayerproperties.h \
145
## files generated from MOC
146
libqgis_gui_la_MOC = \
148
qgisinterface.moc.cpp \
151
qgsaddattrdialog.moc.cpp \
152
qgsattributeactiondialog.moc.cpp \
153
qgsattributedialog.moc.cpp \
154
qgsattributetabledisplay.moc.cpp \
155
qgsattributetable.moc.cpp \
156
qgsbookmarks.moc.cpp \
157
qgscontinuouscolordialog.moc.cpp \
158
qgscoordinatetransform.moc.cpp \
159
qgscustomprojectiondialog.moc.cpp \
160
qgsdelattrdialog.moc.cpp \
161
qgsencodingfiledialog.moc.cpp \
162
qgsfillstylewidget.moc.cpp \
163
qgsgeomtypedialog.moc.cpp \
164
qgsgraduatedsymboldialog.moc.cpp \
165
qgshelpviewer.moc.cpp \
166
qgsidentifyresults.moc.cpp \
167
qgslabeldialog.moc.cpp \
168
qgslayerprojectionselector.moc.cpp \
169
qgslinestyledialog.moc.cpp \
170
qgslinestylewidget.moc.cpp \
171
qgsludialog.moc.cpp \
172
qgsmapcanvas.moc.cpp \
173
qgsmapcanvasitem.moc.cpp \
174
qgsmapcanvasmap.moc.cpp \
175
qgsmaplayerinterface.moc.cpp \
176
qgsmaplayer.moc.cpp \
177
qgsmaplayerregistry.moc.cpp \
178
qgsmapoverviewcanvas.moc.cpp \
179
qgsmaprender.moc.cpp \
180
qgsmapserverexport.moc.cpp \
181
qgsmaptoolidentify.moc.cpp \
182
qgsmarkerdialog.moc.cpp \
184
qgsnewhttpconnection.moc.cpp \
186
qgspastetransformations.moc.cpp \
187
qgspatterndialog.moc.cpp \
188
qgspluginmanager.moc.cpp \
189
qgspointstylewidget.moc.cpp \
190
qgsprojectproperties.moc.cpp \
191
qgsrasterlayerproperties.moc.cpp \
192
qgsrunprocess.moc.cpp \
193
qgssearchquerybuilder.moc.cpp \
194
qgsserversourceselect.moc.cpp \
195
qgssinglesymboldialog.moc.cpp \
196
qgsuniquevaluedialog.moc.cpp \
197
qgsvectorlayer.moc.cpp \
198
qgsvectorlayerproperties.moc.cpp
200
libqgis_gui_la_SOURCES = \
205
qgsaddattrdialog.cpp \
206
qgsattributeaction.cpp \
207
qgsattributeactiondialog.cpp \
208
qgsattributedialog.cpp \
209
qgsattributetable.cpp \
210
qgsattributetabledisplay.cpp \
214
qgscontinuouscolordialog.cpp \
215
qgscoordinatetransform.cpp \
216
qgscontinuouscolorrenderer.cpp \
218
qgscustomprojectiondialog.cpp \
219
qgsdelattrdialog.cpp \
220
qgsencodingfiledialog.cpp \
221
qgsfillstylewidget.cpp \
222
qgsgeomtypedialog.cpp \
223
qgsgraduatedsymbolrenderer.cpp \
224
qgsgraduatedsymboldialog.cpp \
226
qgsidentifyresults.cpp \
229
qgslayerprojectionselector.cpp \
230
qgslinestyledialog.cpp \
231
qgslinestylewidget.cpp \
234
qgsmapcanvasitem.cpp \
235
qgsmapcanvasmap.cpp \
237
qgsmaplayerregistry.cpp \
239
qgsmapoverviewcanvas.cpp \
240
qgsmapserverexport.cpp \
242
qgsmaptoolcapture.cpp \
243
qgsmaptoolidentify.cpp \
245
qgsmaptoolselect.cpp \
246
qgsmaptoolvertexedit.cpp \
249
qgsmarkerdialog.cpp \
251
qgsmessageviewer.cpp \
252
qgsnewhttpconnection.cpp \
254
qgspastetransformations.cpp \
255
qgspatterndialog.cpp \
256
qgspluginmanager.cpp \
257
qgspluginmetadata.cpp \
258
qgspointstylewidget.cpp \
260
qgsprojectproperties.cpp \
261
qgsrasterlayerproperties.cpp \
264
qgssearchquerybuilder.cpp \
265
qgsserversourceselect.cpp \
266
qgssinglesymboldialog.cpp \
267
qgssinglesymbolrenderer.cpp \
268
qgsspatialrefsys.cpp \
269
qgsuniquevaluerenderer.cpp \
270
qgsuniquevaluedialog.cpp \
271
qgsvectorfilewriter.cpp \
273
qgsvectorlayerproperties.cpp \
277
postgresHEADERS = qgsdbsourceselect.h \
281
postgresSOURCES = qgsdbsourceselect.cpp \
282
qgsnewconnection.cpp \
283
qgspgquerybuilder.cpp
285
postgresMOC = qgsdbsourceselect.moc.cpp \
286
qgsnewconnection.moc.cpp \
287
qgspgquerybuilder.moc.cpp
289
postgresLIBHEADERS = qgspgutil.h
290
postgresLIBSOURCES = qgspgutil.cpp
292
libqgis_gui_la_SOURCES += $(postgresSOURCES) $(postgresLIBSOURCES) $(postgresMOC)
297
nodist_libqgis_gui_la_SOURCES = $(libqgis_gui_la_MOC)
299
BUILT_SOURCES = $(libqgis_gui_la_MOC) $(qgis_YACC) $(postgresMOC)
302
libqgis_gui_la_LIBADD = ../core/libqgis_core.la ../raster/libqgis_raster.la ../legend/libqgis_legend.la ../composer/libqgis_composer.la ../widgets/projectionselector/libqgsprojectionselector.la $(QT_LDADD) $(GEOS_LDADD) $(GDAL_LDADD) $(PYTHON_LIB) -lsqlite3
303
libqgis_gui_la_LDFLAGS = -version-info $(INTERFACE_VERSION)
305
libqgis_gui_la_CXXFLAGS = $(PREFIX) $(PLUGINPATH) $(PKGDATAPATH) $(GDAL_CFLAGS) $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(PG_INC) $(DEBUG_QGIS) $(GEOS_CFLAGS) $(PYTHON_INCLUDE_DIR) $(HAVE_PYTHON) -I../ui/ -I../widgets/projectionselector/ -I../legend/ -I../raster/ -I../composer/ -I../core/ -I../plugins/
308
## ----------------------------------------------------------------------
309
## additional files that need to be installed go here
310
## ----------------------------------------------------------------------
312
pkginclude_HEADERS = $(libqgis_guiHEADERS)
314
pkginclude_dir = $(includedir)/qgis
317
CLEANFILES = $(BUILT_SOURCES)
319
EXTRA_DIST = $(libqgis_gui_la_MOC)
323
EXTRA_DIST += $(postgresSOURCES) \
324
$(postgresLIBSOURCES)
326
pkginclude_HEADERS += $(postgresHEADERS) \
327
$(postgresLIBHEADERS) \