2005-04-10 07:04:07 +00:00
|
|
|
# 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}
|
2005-04-13 07:16:57 +00:00
|
|
|
if !HAVE_QTMAC
|
2005-04-10 07:04:07 +00:00
|
|
|
PKGDATAPATH=-DPKGDATAPATH=\"$(pkgdatadir)\"
|
2005-04-13 07:16:57 +00:00
|
|
|
endif
|
2005-04-10 07:04:07 +00:00
|
|
|
|
|
|
|
%.moc.cpp: %.h
|
|
|
|
$(MOC) -o $@ $<
|
|
|
|
|
2005-09-26 23:04:13 +00:00
|
|
|
%.h: %.ui
|
2005-09-21 21:11:18 +00:00
|
|
|
$(UIC) -o $@ $<
|
|
|
|
if HAVE_QT4
|
|
|
|
../tools/qgis-qt3to4.pl -uic $@
|
|
|
|
endif
|
2005-04-10 07:04:07 +00:00
|
|
|
|
2005-09-21 21:11:18 +00:00
|
|
|
if !NO_UIC_IMPLEMENTATIONS
|
2005-09-26 23:04:13 +00:00
|
|
|
%.cpp: %.ui
|
|
|
|
$(UIC) -o $@ -impl $*.h $<
|
2005-09-21 21:11:18 +00:00
|
|
|
endif
|
2005-05-08 03:46:40 +00:00
|
|
|
|
2005-09-21 21:11:18 +00:00
|
|
|
# %.h: %.ui
|
|
|
|
# $(UIC) -o $@ $<
|
|
|
|
#
|
|
|
|
# %.cpp: %.ui
|
|
|
|
# $(UIC) -o $@ -impl $*.h $<
|
2005-05-08 03:46:40 +00:00
|
|
|
|
2005-04-10 07:04:07 +00:00
|
|
|
|
|
|
|
# name of the qgis library widget
|
|
|
|
plugin_LTLIBRARIES = libqgsprojectionselector.la
|
|
|
|
|
|
|
|
plugin_MOC = qgsprojectionselector.moc.cpp \
|
2005-09-21 21:11:18 +00:00
|
|
|
qgsprojectionselectorbase.moc.cpp
|
2005-04-10 07:04:07 +00:00
|
|
|
|
2005-09-26 23:04:13 +00:00
|
|
|
plugin_UI = qgsprojectionselectorbase.h \
|
|
|
|
qgsprojectionselectorbase.cpp
|
2005-04-10 07:04:07 +00:00
|
|
|
|
2005-05-13 21:39:20 +00:00
|
|
|
plugin_UIC = qgsprojectionselectorbase.ui \
|
2005-09-26 23:04:13 +00:00
|
|
|
qgsprojectionselectorbase.h
|
2005-04-10 07:04:07 +00:00
|
|
|
|
|
|
|
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/
|
|
|
|
|
2005-05-13 21:39:20 +00:00
|
|
|
EXTRA_DIST = $(plugin_UIC)
|