Skip to content

Commit 8753277

Browse files
author
mhugent
committed
Added Makefile.am and entries in configure.in for wfs provider/plugin
git-svn-id: http://svn.osgeo.org/qgis/trunk@5745 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 829e1e1 commit 8753277

File tree

5 files changed

+102
-2
lines changed

5 files changed

+102
-2
lines changed

configure.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -499,13 +499,15 @@ AC_CONFIG_FILES([
499499
src/plugins/north_arrow/Makefile
500500
src/plugins/scale_bar/Makefile
501501
src/plugins/spit/Makefile
502+
src/plugins/wfs/Makefile
502503
src/providers/Makefile
503504
src/providers/delimitedtext/Makefile
504505
src/providers/gpx/Makefile
505506
src/providers/grass/Makefile
506507
src/providers/ogr/Makefile
507508
src/providers/postgres/Makefile
508509
src/providers/wms/Makefile
510+
src/providers/wfs/Makefile
509511
src/raster/Makefile
510512
src/ui/Makefile
511513
src/widgets/Makefile

src/plugins/Makefile.am

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ SUBDIRS = $(GEOPROCESSING) \
2323
grid_maker \
2424
north_arrow \
2525
copyright_label \
26-
scale_bar
26+
scale_bar \
27+
wfs
2728

2829
EXTRA_DIST = \
2930
plugin_builder.pl \

src/plugins/wfs/Makefile.am

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
# Copyright (C) 2003 Gary Sherman <sherman at mrcc.com>
2+
# and 2006 Tim Sutton <tim@linfiniti.com>
3+
#
4+
# This file is free software; as a special exception the author gives
5+
# unlimited permission to copy and/or distribute it, with or without
6+
# modifications, as long as this notice is preserved.
7+
#
8+
# This program is distributed in the hope that it will be useful, but
9+
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
10+
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11+
#
12+
# $Id: Makefile.am 5198 2006-04-06 14:35:09Z timlinux $
13+
14+
#qgswfsplugin below to be replaced with the name of the plugin
15+
16+
##
17+
## Legacy support for pkgdatapath - you are encouraged to use
18+
## Qt4.x resource files where possible rather!
19+
##
20+
if !HAVE_QTMAC
21+
PKGDATAPATH=-DPKGDATAPATH=\"$(pkgdatadir)\"
22+
endif
23+
24+
plugindir = ${pkglibdir}
25+
26+
#for plugin so
27+
plugin_LTLIBRARIES = wfsplugin.la
28+
29+
## For Qt4 intermerdiary meta object compiler files
30+
%.moc.cpp: %.h
31+
$(MOC) -o $@ $<
32+
33+
## For Qt4 User Interface Files
34+
ui_%.h: %.ui
35+
$(UIC) -o $@ $<
36+
37+
## For Qt4 Resource Files
38+
%.qrc.cpp: %.qrc
39+
$(RCC) -o $@ $<
40+
41+
##
42+
## For plugin lib
43+
##
44+
45+
wfsplugin_la_SOURCES = qgswfsplugin.cpp \
46+
qgswfssourceselect.cpp \
47+
$(plugin_UI)\
48+
$(plugin_MOC)
49+
50+
plugin_MOC = qgswfsplugin.moc.cpp \
51+
qgswfssourceselect.moc.cpp
52+
53+
plugin_UI = ui_qgswfssourceselectbase.h
54+
55+
plugin_UIC = qgswfssourceselectbase.u
56+
57+
BUILT_SOURCES = $(plugin_MOC) $(plugin_UI)
58+
59+
wfsplugin_la_LIBADD = $(QT_LDADD) \
60+
$(GDAL_LDADD) \
61+
../../core/libqgis_core.la \
62+
../../gui/libqgis_gui.la
63+
wfsplugin_la_CFLAGS = $(CFLAGS) $(EXTRA_CFLAGS) $(DEBUG_QGIS)
64+
wfsplugin_la_CXXFLAGS = $(CXXFLAGS) \
65+
$(EXTRA_CXXFLAGS) \
66+
$(QT_CXXFLAGS) \
67+
$(DEBUG_QGIS) \
68+
$(GDAL_CFLAGS) \
69+
$(GEOS_CFLAGS) \
70+
-I../../core \
71+
-I../../ui \
72+
-I../../gui \
73+
-I../../raster \
74+
-I../../../include/qgis \
75+
-I../../providers/wfs \
76+
-I../../widgets/projectionselector
77+
78+
wfsplugin_la_LDFLAGS = -avoid-version -module

src/providers/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ if HAVE_GRASS
66
GRASS = grass
77
endif
88

9-
SUBDIRS = ogr $(POSTGRESQL) $(GRASS) delimitedtext gpx wms
9+
SUBDIRS = ogr $(POSTGRESQL) $(GRASS) delimitedtext gpx wms wfs

src/providers/wfs/Makefile.am

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
INCLUDES = -I../../core/ -I../../gui/ -I../../ui
2+
3+
%.moc.cpp: %.h
4+
$(MOC) -o $@ $<
5+
6+
wfsprovider_MOC = qgshttptransaction.moc.cpp
7+
8+
plugindir = ${pkglibdir}
9+
plugin_LTLIBRARIES = wfsprovider.la
10+
11+
wfsprovider_la_SOURCES = qgswfsprovider.cpp
12+
13+
BUILT_SOURCES = $(wfsprovider_MOC)
14+
15+
wfsprovider_la_LIBADD = $(QT_LDADD) $(GDAL_LIB) $(GEOS_LDADD) ../../gui/libqgis_gui.la ../../core/libqgis_core.la
16+
wfsprovider_la_LDFLAGS = -avoid-version -module
17+
wfsprovider_la_CXXFLAGS = $(GDAL_CFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(DEBUG_QGIS) $(GEOS_CFLAGS)
18+
19+
CLEANFILES = $(BUILT_SOURCES)

0 commit comments

Comments
 (0)