QGIS/designer_plugins/Makefile.am
timlinux 75d28d3c90 Merge from 0.7 branch
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4160 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-05 23:34:16 +00:00

69 lines
2.1 KiB
Makefile

# Copyright (C) 2005 Tim Sutton <tim at 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$
plugindir = ${pkglibdir}/designer
%.moc.cpp: %.h
$(MOC) -o $@ $<
# name of the designer plugin
plugin_LTLIBRARIES = qgisdesignerwidgets.la
plugin_MOC = qgsprojectionselectorplugin.moc.cpp
headers = qgsdesignerwidgets.h \
qgsprojectionselectorplugin.h
qgisdesignerwidgets_la_SOURCES = qgsprojectionselectorplugin.cpp\
$(plugin_MOC) \
$(headers)
BUILT_SOURCES = $(plugin_MOC)
#projectionselector_la_LIBADD = ../src/libqgis.la $(QT_LDADD)
qgisdesignerwidgets_la_LIBADD = $(QT_LDADD) ../widgets/projectionselector/libqgsprojectionselector.la
qgisdesignerwidgets_la_LDFLAGS = -avoid-version -module
qgisdesignerwidgets_la_CXXFLAGS = $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(DEBUG_QGIS) -I../src/
##
## The changes below made by didge can only be activated in qgis 0.8
## for now we should only try to build the projection selector widget
##
#plugindir = ${pkglibdir}/designer
#
#%.moc.cpp: %.h
# $(MOC) -o $@ $<
# # name of the designer plugin
#plugin_LTLIBRARIES = qgisdesignerwidgets.la
#qgisdesignerwidgets_la_SOURCES = qgsdesignerwidgets.cpp \
# qgsdesignerwidgets.h
#projectionselector_la_MOC = qgsprojectionselectorplugin.moc.cpp
#projectionselector_la_SOURCES = qgsprojectionselectorplugin.cpp \
# qgsprojectionselectorplugin.h \
# $(projectionselector_la_MOC)
# #projectionselector_la_LIBADD = ../src/libqgis.la $(QT_LDADD)
#qgisdesignerwidgets_la_LIBADD = $(QT_LDADD) ../widgets/projectionselector/libqgsprojectionselector.la
#qgisdesignerwidgets_la_LDFLAGS = -avoid-version -module
#qgisdesignerwidgets_la_CXXFLAGS = $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(DEBUG_QGIS) -I../src/