QGIS/plugins/grass/Makefile.am
mcoletti c84e6aae6c Merged in qgsproject-branch changes.
Also made QgsRasterLayer more robust in light of files with poor "no data" and
"min/max" value information.

Note that this hasn't been tested with windows versions.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2156 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-21 17:27:38 +00:00

90 lines
2.7 KiB
Makefile

# Copyright (C) 2004 Radim Blazek
#
# 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$
INCLUDES = -I../../src
plugindir = ${pkglibdir}
%.moc.cpp: %.h
$(MOC) -o $@ $<
%.h: %.ui
$(UIC) -o $@ $<
%.cpp: %.ui
$(UIC) -o $@ -impl $*.h $<
plugin_LTLIBRARIES = grassplugin.la
plugin_MOC = qgsgrassplugin.moc.cpp \
qgsgrassselectbase.moc.cpp \
qgsgrasseditbase.moc.cpp \
qgsgrassedit.moc.cpp \
qgsgrassattributesbase.moc.cpp \
qgsgrassattributes.moc.cpp \
qgsgrassregionbase.moc.cpp \
qgsgrassregion.moc.cpp
plugin_UI = qgsgrassselectbase.h \
qgsgrassselectbase.cpp \
qgsgrasseditbase.h \
qgsgrasseditbase.cpp \
qgsgrassattributesbase.h \
qgsgrassattributesbase.cpp \
qgsgrassregionbase.h \
qgsgrassregionbase.cpp
plugin_UIC = qgsgrassselectbase.ui \
qgsgrassselectbase.ui.h \
qgsgrasseditbase.ui \
qgsgrasseditbase.ui.h \
qgsgrassattributesbase.ui \
qgsgrassattributesbase.ui.h \
qgsgrassregionbase.ui
grassplugin_la_SOURCES = qgsgrassplugin.cpp \
qgsgrassplugin.h \
qgsgrassselect.cpp \
qgsgrassselect.h \
qgsgrassedit.cpp \
qgsgrassedit.h \
qgsgrassattributes.cpp \
qgsgrassattributes.h \
qgsgrassregion.cpp \
qgsgrassregion.h \
../../providers/grass/qgsgrass.h \
../../providers/grass/qgsgrassprovider.h \
$(plugin_UI) \
../../src/qgssymbol.cpp
nodist_grassplugin_la_SOURCES = $(plugin_MOC)
# UI dependencies
qgsgrassselectbase.cpp: qgsgrassselectbase.h qgsgrassselectbase.ui
qgsgrassselectbase.h: qgsgrassselectbase.ui
qgsgrasseditbase.cpp: qgsgrasseditbase.h qgsgrasseditbase.ui
qgsgrasseditbase.h: qgsgrasseditbase.ui
qgsgrassattributesbase.cpp: qgsgrassattributesbase.h qgsgrassattributesbase.ui
qgsgrassattributesbase.h: qgsgrassattributesbase.ui
qgsgrassregionbase.cpp: qgsgrassregionbase.h qgsgrassregionbase.ui
qgsgrassregionbase.h: qgsgrassregionbase.ui
BUILT_SOURCES = $(plugin_MOC) $(plugin_UI)
grassplugin_la_LIBADD = $(QT_LDADD) -L../../providers/grass/${objdir} -lgrassprovider $(GRASS_LIB) $(PG_LIB) $(GDAL_LDADD)
grassplugin_la_LDFLAGS = -avoid-version -module
grassplugin_la_CXXFLAGS = $(CXXFLAGS) -I$(GRASS_INC) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(DEBUG_QGIS) -I$(PG_INC) $(GDAL_CFLAGS)
EXTRA_DIST = $(plugin_UIC) add_vector.xpm add_raster.xpm grass_edit.xpm grass_region.xpm grass_region_edit.xpm