QGIS/providers/grass/Makefile.am
telwertowski 8d1f06e75e Restructure GRASS provider and plugin to work on Mac OS X.
The provider and plugin are now 'pure' modules and code shared between them
is in the new shared library libqgisgrass.
This eliminates the libtool warning that linking grassplugin against
libgrassprovider is not portable.
libgrassprovider has also been renamed to grassprovider since it no longer
tries to be a combination provider and shared library (which only worked
on some platforms).


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2824 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-02-17 05:32:37 +00:00

44 lines
1.0 KiB
Makefile

##
## $Id$
##
INCLUDES = -I../../src
lib_LTLIBRARIES = libqgisgrass.la
plugindir = ${pkglibdir}
plugin_LTLIBRARIES = grassprovider.la
%.moc.cpp: %.h
$(MOC) -o $@ $<
%.h: %.ui
$(UIC) -o $@ $<
%.cpp: %.ui
$(UIC) -o $@ -impl $*.h $<
grassprovider_la_SOURCES = provider.cpp \
qgsgrassprovider.h
grassprovider_la_LIBADD = $(QT_LDADD) libqgisgrass.la
grassprovider_la_LDFLAGS = -avoid-version -module
grassprovider_la_CXXFLAGS = $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) -I$(GRASS_INC) $(DEBUG_QGIS) $(GEOS_CFLAGS)
libqgisgrass_la_SOURCES = qgsgrassprovider.cpp \
qgsgrassprovider.h \
qgsgrass.cpp \
qgsgrass.h \
../../src/qgsfeature.cpp \
../../src/qgsfeatureattribute.cpp \
../../src/qgsrect.cpp \
../../src/qgspoint.cpp \
../../src/qgsfield.cpp
libqgisgrass_la_LIBADD = $(QT_LDADD) $(GRASS_LIB)
libqgisgrass_la_LDFLAGS = -version-info $(INTERFACE_VERSION)
libqgisgrass_la_CXXFLAGS = $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) -I$(GRASS_INC) $(DEBUG_QGIS)
if HAVE_POSTGRESQL
libqgisgrass_la_CXXFLAGS += -I$(PG_INC)
endif