1
# Copyright (C) 2003 Gary Sherman <sherman at mrcc.com>
3
# This file is free software; as a special exception the author gives
4
# unlimited permission to copy and/or distribute it, with or without
5
# modifications, as long as this notice is preserved.
7
# This program is distributed in the hope that it will be useful, but
8
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
9
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11
# $Id: Makefile.am 6350 2006-12-30 02:15:25Z gsherman $
13
plugindir = ${pkglibdir}
15
PKGDATAPATH=-DPKGDATAPATH=\"$(pkgdatadir)\"
17
#NorthArrow below to be replaced with the name of the plugin
18
plugin_LTLIBRARIES = northarrowplugin.la
29
northarrowplugin_la_SOURCES = plugin.cpp \
38
plugin_MOC = plugin.moc.cpp \
41
plugin_UI = ui_pluginguibase.h
43
plugin_UIC = pluginguibase.ui
45
plugin_RES = northarrow_plugin.qrc.cpp
47
#plugin_QRC = northarrow_plugin.qrc
50
BUILT_SOURCES = $(plugin_MOC) $(plugin_UI) $(plugin_RES)
53
northarrowplugin_la_LIBADD = $(QT_LDADD) $(GDAL_LDADD) ../../core/libqgis_core.la
54
northarrowplugin_la_LDFLAGS = -avoid-version -module
55
northarrowplugin_la_CXXFLAGS = $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(DEBUG_QGIS) $(GDAL_CFLAGS) $(GEOS_CFLAGS) $(PKGDATAPATH) -I../../gui -I../../ui -I../../core
57
CLEANFILES = $(BUILT_SOURCES)
59
EXTRA_DIST = $(plugin_UIC) icon.xpm \