/
Makefile.am
81 lines (65 loc) · 2.02 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
# Copyright (C) 2003 Gary Sherman <sherman at mrcc.com>
# and 2006 Tim Sutton <tim@linfiniti.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.
#
# $Id: Makefile.am 5198 2006-04-06 14:35:09Z timlinux $
#qgswfsplugin below to be replaced with the name of the plugin
##
## Legacy support for pkgdatapath - you are encouraged to use
## Qt4.x resource files where possible rather!
##
if !HAVE_QTMAC
PKGDATAPATH=-DPKGDATAPATH=\"$(pkgdatadir)\"
endif
plugindir = ${pkglibdir}
#for plugin so
plugin_LTLIBRARIES = wfsplugin.la
## For Qt4 intermerdiary meta object compiler files
%.moc.cpp: %.h
$(MOC) -o $@ $<
## For Qt4 User Interface Files
ui_%.h: %.ui
$(UIC) -o $@ $<
## For Qt4 Resource Files
%.qrc.cpp: %.qrc
$(RCC) -o $@ $<
##
## For plugin lib
##
wfsplugin_la_SOURCES = qgswfsplugin.cpp \
qgswfssourceselect.cpp \
$(plugin_UI)\
$(plugin_MOC)
plugin_MOC = qgswfsplugin.moc.cpp \
qgswfssourceselect.moc.cpp
plugin_UI = ui_qgswfssourceselectbase.h
plugin_UIC = qgswfssourceselectbase.u
BUILT_SOURCES = $(plugin_MOC) $(plugin_UI)
wfsplugin_la_LIBADD = $(QT_LDADD) \
$(GDAL_LDADD) \
../../core/libqgis_core.la \
../../gui/libqgis_gui.la
wfsplugin_la_CFLAGS = $(CFLAGS) $(EXTRA_CFLAGS) $(DEBUG_QGIS)
wfsplugin_la_CXXFLAGS = $(CXXFLAGS) \
$(EXTRA_CXXFLAGS) \
$(QT_CXXFLAGS) \
$(DEBUG_QGIS) \
$(GDAL_CFLAGS) \
$(GEOS_CFLAGS) \
$(GEOS_CFLAGS)/geos \
-I../../core \
-I../../ui \
-I../../gui \
-I../../raster \
-I../../../include/qgis \
-I../../providers/wfs \
-I../../widgets/projectionselector \
-I..
wfsplugin_la_LDFLAGS = -avoid-version -module