2004-03-22 23:38:26 +00:00
|
|
|
# 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$
|
|
|
|
|
2005-03-01 17:54:32 +00:00
|
|
|
if HAVE_EXPAT
|
|
|
|
|
2004-03-22 23:38:26 +00:00
|
|
|
plugindir = ${pkglibdir}
|
|
|
|
|
2004-06-04 10:23:47 +00:00
|
|
|
plugin_LTLIBRARIES = gpsimporterplugin.la
|
2004-03-22 23:38:26 +00:00
|
|
|
|
|
|
|
|
|
|
|
%.moc.cpp: %.h
|
|
|
|
$(MOC) -o $@ $<
|
|
|
|
|
2005-09-26 03:32:16 +00:00
|
|
|
%.h: %.ui
|
2004-03-22 23:38:26 +00:00
|
|
|
$(UIC) -o $@ $<
|
2005-09-16 23:08:59 +00:00
|
|
|
if HAVE_QT4
|
|
|
|
../../tools/qgis-qt3to4.pl -uic $@
|
|
|
|
endif
|
|
|
|
|
|
|
|
if !NO_UIC_IMPLEMENTATIONS
|
2005-09-26 03:32:16 +00:00
|
|
|
%.cpp: %.ui
|
|
|
|
$(UIC) -o $@ -impl $*.h $<
|
2005-09-16 23:08:59 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
# %.h: %.ui
|
|
|
|
# $(UIC) -o $@ $<
|
|
|
|
#
|
|
|
|
# %.cpp: %.ui
|
|
|
|
# $(UIC) -o $@ -impl $*.h $<
|
2004-03-22 23:38:26 +00:00
|
|
|
|
|
|
|
|
2004-10-22 13:16:58 +00:00
|
|
|
gpsimporterplugin_la_SOURCES = \
|
|
|
|
qgsgpsplugin.cpp \
|
2004-10-21 22:24:31 +00:00
|
|
|
qgsbabelformat.h \
|
|
|
|
qgsbabelformat.cpp \
|
2005-02-15 15:38:52 +00:00
|
|
|
qgsgpsdevice.h \
|
|
|
|
qgsgpsdevice.cpp \
|
2004-10-22 13:16:58 +00:00
|
|
|
qgsgpsplugingui.cpp \
|
2004-10-21 22:24:31 +00:00
|
|
|
qgsgpsdevicedialog.cpp \
|
2004-03-30 22:23:08 +00:00
|
|
|
$(plugin_UI)\
|
|
|
|
$(plugin_MOC)
|
2004-03-22 23:38:26 +00:00
|
|
|
|
2004-10-22 13:16:58 +00:00
|
|
|
plugin_MOC = \
|
|
|
|
qgsgpsplugin.moc.cpp \
|
|
|
|
qgsgpsplugingui.moc.cpp \
|
|
|
|
qgsgpspluginguibase.moc.cpp \
|
2004-10-21 22:24:31 +00:00
|
|
|
qgsgpsdevicedialogbase.moc.cpp \
|
|
|
|
qgsgpsdevicedialog.moc.cpp
|
2004-03-22 23:38:26 +00:00
|
|
|
|
2004-10-22 13:16:58 +00:00
|
|
|
plugin_UI = \
|
2005-09-26 03:32:16 +00:00
|
|
|
qgsgpspluginguibase.h \
|
|
|
|
qgsgpspluginguibase.cpp \
|
|
|
|
qgsgpsdevicedialogbase.h \
|
|
|
|
qgsgpsdevicedialogbase.cpp
|
2004-03-22 23:38:26 +00:00
|
|
|
|
2004-10-22 13:16:58 +00:00
|
|
|
plugin_UIC = \
|
|
|
|
qgsgpspluginguibase.ui \
|
|
|
|
qgsgpsdevicedialogbase.ui
|
2004-03-22 23:38:26 +00:00
|
|
|
|
|
|
|
# UI dependencies
|
2004-10-22 13:16:58 +00:00
|
|
|
qgsgpspluginguibase.cpp: qgsgpspluginguibase.h qgsgpspluginguibase.ui
|
2004-10-21 22:24:31 +00:00
|
|
|
qgsgpsdevicedialogbase.cpp: qgsgpsdevicedialogbase.h qgsgpsdevicedialogbase.ui
|
2004-03-22 23:38:26 +00:00
|
|
|
|
|
|
|
BUILT_SOURCES = $(plugin_MOC) $(plugin_UI)
|
|
|
|
|
2004-06-04 10:23:47 +00:00
|
|
|
gpsimporterplugin_la_LIBADD = $(QT_LDADD) $(GDAL_LDADD) ../../src/libqgis.la
|
|
|
|
gpsimporterplugin_la_CFLAGS = $(CFLAGS) $(EXTRA_CFLAGS) $(DEBUG_QGIS)
|
2005-06-09 20:44:28 +00:00
|
|
|
gpsimporterplugin_la_CXXFLAGS = $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(DEBUG_QGIS) $(GDAL_CFLAGS) $(GEOS_CFLAGS) -I../../src
|
2004-06-14 22:37:38 +00:00
|
|
|
gpsimporterplugin_la_LDFLAGS = -avoid-version -module
|
2004-03-22 23:38:26 +00:00
|
|
|
|
2005-09-21 21:11:18 +00:00
|
|
|
CLEANFILES = $(BUILT_SOURCES)
|
2004-03-22 23:38:26 +00:00
|
|
|
|
|
|
|
##
|
|
|
|
## Anything that must go in the tarball gets added here
|
|
|
|
##
|
|
|
|
|
|
|
|
EXTRA_DIST = $(plugin_UIC) icon.xpm \
|
2004-10-22 13:16:58 +00:00
|
|
|
qgsgpspluginguibase.h \
|
2004-10-21 22:24:31 +00:00
|
|
|
qgsgpsdevicedialogbase.h \
|
2004-10-22 13:16:58 +00:00
|
|
|
qgsgpsplugingui.h \
|
|
|
|
qgsgpsplugin.h \
|
2004-11-19 12:17:31 +00:00
|
|
|
qgsgpsdevicedialog.h
|
2005-03-01 17:54:32 +00:00
|
|
|
|
|
|
|
|
2005-04-10 07:04:07 +00:00
|
|
|
|
|
|
|
|
|
|
|
endif
|