changes to build system

git-svn-id: http://svn.osgeo.org/qgis/trunk@791 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
gsherman 2004-02-11 05:47:36 +00:00
parent 8e4322817c
commit b47cee3de3
3 changed files with 9 additions and 7 deletions

View File

@ -1 +1,5 @@
SUBDIRS = ogr postgres
if HAVE_POSTGRESDB
POSTGRES = postgres
endif
SUBDIRS = ogr $(POSTGRES)

View File

@ -1,4 +1,5 @@
lib_LTLIBRARIES = ogrprovider.la
plugindir = ${pkglibdir}
plugin_LTLIBRARIES = ogrprovider.la
ogrprovider_la_SOURCES = qgsshapefileprovider.cpp \
../../src/qgsfeature.cpp \

View File

@ -1,6 +1,5 @@
# if PostgreSQL support requested, add PostgreSQL files
if POSTGRESDB
lib_LTLIBRARIES = postgresprovider.la
plugindir = ${pkglibdir}
plugin_LTLIBRARIES = postgresprovider.la
postgresprovider_la_SOURCES = qgspostgresprovider.cpp \
../../src/qgsfeature.cpp \
@ -13,5 +12,3 @@ AM_CXXFLAGS := $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(PGDB) -I$(PG_INC)
postgresprovider_la_LIBADD = $(QT_LDADD) $(PG_LIB)
postgresprovider_la_LDFLAGS = -avoid-version -module
endif