/
Makefile.am
179 lines (154 loc) · 5.03 KB
/
Makefile.am
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
# Copyright (C) 2003 Gary Sherman <sherman at mrcc.com>
#
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
##
## ----------------------------------------------------------------------
## Initial setup
## ----------------------------------------------------------------------
##
if HAVE_QTMAC
MAC = mac
endif
if !HAVE_QTMAC
PREFIX=-DPREFIX=\"$(prefix)\"
PLUGINPATH=-DPLUGINPATH=\"$(pkglibdir)\"
PKGDATAPATH=-DPKGDATAPATH=\"$(pkgdatadir)\"
endif
%.moc.cpp: %.h
$(MOC) -o $@ $<
##
## ----------------------------------------------------------------------
## Define Targets
## ----------------------------------------------------------------------
##
lib_LTLIBRARIES = libqgis_core.la
##
## ----------------------------------------------------------------------
## libqgis_core stuff starts here
## ----------------------------------------------------------------------
##
libqgis_coreHEADERS = \
qgis.h \
qgsapplication.h \
qgsbookmarkitem.h \
qgsclipper.h \
qgscolortable.h \
qgscontexthelp.h \
qgscsexception.h \
qgscustomsymbol.h \
qgsdatamanager.h \
qgsdataprovider.h \
qgsdatasource.h \
qgsdatasourceuri.h \
qgsdistancearea.h \
qgsexception.h \
qgsfeature.h \
qgsfeatureattribute.h \
qgsfield.h \
qgsgeometry.h \
qgsgeometryvertexindex.h \
qgslabelattributes.h \
qgsline.h \
qgslinesymbol.h \
qgslogger.h \
qgsmaptopixel.h \
qgsmarkercatalogue.h \
qgsmarkersymbol.h \
qgsnumericsortlistviewitem.h\
qgspluginitem.h \
qgspluginregistry.h \
qgspoint.h \
qgspolygonsymbol.h \
qgsprojectproperty.h \
qgsprovidercountcalcevent.h \
qgsproviderextentcalcevent.h\
qgsprovidermetadata.h \
qgsproviderregistry.h \
qgsrangerenderitem.h \
qgsrasterdataprovider.h \
qgsrect.h \
qgsrenderer.h \
qgsrenderitem.h \
qgsscalecalculator.h \
qgssearchstring.h \
qgssearchtreenode.h \
qgssinglesymrenderer.h \
qgssymbol.h \
qgssymbologyutils.h \
qgsvectordataprovider.h
## files generated from MOC
libqgis_core_la_MOC = \
qgscontexthelp.moc.cpp \
qgsdataprovider.moc.cpp \
qgsrasterdataprovider.moc.cpp
libqgis_core_la_SOURCES =\
qgis.cpp \
qgsapplication.cpp \
qgsbookmarkitem.cpp \
qgsclipper.cpp \
qgscolortable.cpp \
qgscontexthelp.cpp \
qgscustomsymbol.cpp \
qgsdatamanager.cpp \
qgsdatasource.cpp \
qgsdistancearea.cpp \
qgsexception.cpp \
qgsfeature.cpp \
qgsfeatureattribute.cpp \
qgsfield.cpp \
qgsgeometry.cpp \
qgsgeometryvertexindex.cpp \
qgslabelattributes.cpp \
qgsline.cpp \
qgslinesymbol.cpp \
qgslogger.cpp \
qgsmaptopixel.cpp \
qgsmarkercatalogue.cpp \
qgsmarkersymbol.cpp \
qgsnumericsortlistviewitem.cpp \
qgspluginitem.cpp \
qgspluginregistry.cpp \
qgspoint.cpp \
qgspolygonsymbol.cpp \
qgsprojectproperty.cpp \
qgsprovidercountcalcevent.cpp \
qgsproviderextentcalcevent.cpp \
qgsprovidermetadata.cpp \
qgsproviderregistry.cpp \
qgsrangerenderitem.cpp \
qgsrasterdataprovider.cpp \
qgsrect.cpp \
qgsrenderer.cpp \
qgsrenderitem.cpp \
qgsscalecalculator.cpp \
qgssearchstring.cpp \
qgssearchstringlexer.ll \
qgssearchstringparser.yy \
qgssearchtreenode.cpp \
qgssymbol.cpp \
qgssymbologyutils.cpp \
qgsvectordataprovider.cpp
AM_YFLAGS = -d
qgis_YACC = qgssearchstringparser.h
nodist_libqgis_core_la_SOURCES = $(libqgis_core_la_MOC)
BUILT_SOURCES = $(libqgis_core_la_MOC) $(qgis_YACC) $(postgresMOC)
#libqgis_core_la_LIBADD = ../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
libqgis_core_la_LIBADD = $(QT_LDADD) $(GDAL_LDADD) $(GEOS_LDADD) $(PYTHON_LIB) -lsqlite3
libqgis_core_la_LDFLAGS = -version-info $(INTERFACE_VERSION)
libqgis_core_la_CXXFLAGS = $(PREFIX) $(PLUGINPATH) $(PKGDATAPATH) $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(PG_INC) $(DEBUG_QGIS) $(GDAL_CFLAGS) $(GEOS_CFLAGS) $(PYTHON_INCLUDE_DIR) $(HAVE_PYTHON) -I../ui/ -I../widgets/projectionselector/ -I../legend/ -I../raster/ -I../composer/ -I../gui/
##
## ----------------------------------------------------------------------
## additional files that need to be installed go here
## ----------------------------------------------------------------------
##
pkginclude_HEADERS = $(qgisHEADERS)
pkginclude_dir = $(includedir)/qgis
CLEANFILES = $(BUILT_SOURCES)
EXTRA_DIST=
noinst_HEADERS = qgsdatasourceuri.h