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@3376 c8812cc2-4d05-0410-92ff-de0c093fc19c
56 lines
1.5 KiB
Makefile
56 lines
1.5 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}
|
|
if !HAVE_QTMAC
|
|
PKGDATAPATH=-DPKGDATAPATH=\"$(pkgdatadir)\"
|
|
endif
|
|
|
|
%.moc.cpp: %.h
|
|
$(MOC) -o $@ $<
|
|
|
|
%.h: %.ui
|
|
$(UIC) -o $@ $<
|
|
|
|
%.cpp: %.ui
|
|
$(UIC) -o $@ -impl $*.h $<
|
|
|
|
|
|
|
|
# name of the qgis library widget
|
|
plugin_LTLIBRARIES = libqgsprojectionselector.la
|
|
|
|
plugin_MOC = qgsprojectionselector.moc.cpp \
|
|
qgsprojectionselectorbase.moc.cpp
|
|
|
|
|
|
plugin_UI = qgsprojectionselectorbase.h \
|
|
qgsprojectionselectorbase.cpp
|
|
|
|
plugin_UIC = qgsprojectionselectorbase.ui \
|
|
qgsprojectionselectorbase.ui.h \
|
|
qgsprojectionselectorbase.uic.h
|
|
|
|
libqgsprojectionselector_la_SOURCES = qgsprojectionselector.cpp \
|
|
$(plugin_UI) \
|
|
$(plugin_MOC)
|
|
|
|
BUILT_SOURCES = $(plugin_MOC) $(plugin_UI)
|
|
|
|
|
|
|
|
libqgsprojectionselector_la_LIBADD = ../../src/libqgis.la $(LDADD) $(QT_LDADD) $(GDAL_LDADD) -lsqlite3
|
|
libqgsprojectionselector_la_LDFLAGS = -avoid-version
|
|
libqgsprojectionselector_la_CXXFLAGS = $(PKGDATAPATH) $(CXXFLAGS) $(GDAL_CFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(DEBUG_QGIS) -I../../src/
|
|
|
|
EXTRA_DIST = $(plugin_UIC)
|