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@3561 c8812cc2-4d05-0410-92ff-de0c093fc19c
80 lines
2.1 KiB
Makefile
80 lines
2.1 KiB
Makefile
# Copyright (C) 2005 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$
|
|
|
|
|
|
if HAVE_GSL
|
|
|
|
|
|
plugindir = ${prefix}/lib/qgis
|
|
|
|
%.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 = -I../ -I../../src $(GDAL_CFLAGS) $(GSL_CFLAGS) $(QT_CXXFLAGS) $(GEOS_CFLAGS)
|
|
georefplugin_la_LDFLAGS = -avoid-version -module ../../src/libqgis.la $(GDAL_LDADD) $(GSL_LIBS) $(QT_LDADD)
|
|
|
|
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
|
|
|
|
|
|
endif
|