mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -05:00
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3286 c8812cc2-4d05-0410-92ff-de0c093fc19c
81 lines
2.2 KiB
Makefile
81 lines
2.2 KiB
Makefile
# Copyright (C) 2003 Gary Sherman <sherman at mrcc.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$
|
|
|
|
AM_CXXFLAGS := $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(QGIS_CFLAGS) $(GDAL_CFLAGS) $(QGIS_CFLAGS) $(GSL_CFLAGS)
|
|
|
|
plugindir = ${prefix}/lib/qgis
|
|
pkgplguindir = ${plugindir}
|
|
|
|
%.moc.cpp: %.h
|
|
$(MOC) -o $@ $<
|
|
|
|
%.moc.uic.cpp: %.uic.h
|
|
$(MOC) -o $@ $<
|
|
|
|
%.uic.h: %.ui
|
|
$(UIC) -o $@ $<
|
|
|
|
%.uic.cpp: %.ui
|
|
$(UIC) -o $@ -impl $*.uic.h $<
|
|
|
|
## target plug-in
|
|
plugin_LTLIBRARIES = georefplugin.la
|
|
|
|
## qt designer user-interface files
|
|
plugin_UI = pluginguibase.ui qgspointdialogbase.ui mapcoordsdialogbase.ui qgsgeorefwarpoptionsdialogbase.ui
|
|
|
|
## uic created headers
|
|
plugin_UIHEADERS = $(plugin_UI:.ui=.uic.h)
|
|
|
|
## uic created source files
|
|
plugin_UISOURCES = $(plugin_UI:.ui=.uic.cpp)
|
|
|
|
## uic created MOC files
|
|
plugin_UIMOC = $(plugin_UI:.ui=.moc.uic.cpp)
|
|
|
|
## MOC files
|
|
plugin_MOC = plugin.moc.cpp plugingui.moc.cpp qgspointdialog.moc.cpp mapcoordsdialog.moc.cpp qgsgeorefwarpoptionsdialog.moc.cpp
|
|
|
|
|
|
georefplugin_la_SOURCES = plugin.cpp \
|
|
datapointacetate.h \
|
|
datapointacetate.cpp \
|
|
plugin.h \
|
|
plugingui.cpp \
|
|
plugingui.h \
|
|
icon.h \
|
|
qgsimagewarper.h \
|
|
qgsimagewarper.cpp \
|
|
qgsleastsquares.h \
|
|
qgsleastsquares.cpp \
|
|
qgspointdialog.h \
|
|
qgspointdialog.cpp \
|
|
qgsgeorefwarpoptionsdialog.h \
|
|
qgsgeorefwarpoptionsdialog.cpp \
|
|
mapcoordsdialog.h \
|
|
mapcoordsdialog.cpp
|
|
|
|
nodist_georefplugin_la_SOURCES = $(plugin_MOC) $(plugin_UIHEADERS) $(plugin_UISOURCES) $(plugin_UIMOC)
|
|
|
|
georefplugin_la_CXXFLAGS = $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(QGIS_CXXFLAGS) $(GDAL_CFLAGS) $(GSL_CFLAGS)
|
|
georefplugin_la_LDFLAGS = -avoid-version -module $(QGIS_LDADD) $(QT_LDADD) $(GDAL_LDADD) $(GSL_LIBS)
|
|
|
|
BUILT_SOURCES = $(plugin_UIHEADERS) $(plugin_UISOURCES) $(plugin_UIMOC) $(plugin_MOC)
|
|
CLEANFILES = $(BUILT_SOURCES)
|
|
|
|
EXTRA_DIST = $(plugin_UI) zoom_in.xpm zoom_out.xpm pan.xpm add_point.xpm
|
|
|
|
|
|
|
|
|
|
|