QGIS/plugins/gps_importer/Makefile.am
g_j_m 05cb4e4c4a Modify Makefile.am files to get qgis to compile from a clean cvs checkout. No guarantees that it actually will compile yet, but here's hoping (to test a clean
checkout, I need to commit the changes, so that I can do a clean checkout to test if it works).


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3981 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-26 03:32:16 +00:00

97 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$
if HAVE_EXPAT
plugindir = ${pkglibdir}
plugin_LTLIBRARIES = gpsimporterplugin.la
%.moc.cpp: %.h
$(MOC) -o $@ $<
%.h: %.ui
$(UIC) -o $@ $<
if HAVE_QT4
../../tools/qgis-qt3to4.pl -uic $@
endif
if !NO_UIC_IMPLEMENTATIONS
%.cpp: %.ui
$(UIC) -o $@ -impl $*.h $<
endif
# %.h: %.ui
# $(UIC) -o $@ $<
#
# %.cpp: %.ui
# $(UIC) -o $@ -impl $*.h $<
gpsimporterplugin_la_SOURCES = \
qgsgpsplugin.cpp \
qgsbabelformat.h \
qgsbabelformat.cpp \
qgsgpsdevice.h \
qgsgpsdevice.cpp \
qgsgpsplugingui.cpp \
qgsgpsdevicedialog.cpp \
$(plugin_UI)\
$(plugin_MOC)
plugin_MOC = \
qgsgpsplugin.moc.cpp \
qgsgpsplugingui.moc.cpp \
qgsgpspluginguibase.moc.cpp \
qgsgpsdevicedialogbase.moc.cpp \
qgsgpsdevicedialog.moc.cpp
plugin_UI = \
qgsgpspluginguibase.h \
qgsgpspluginguibase.cpp \
qgsgpsdevicedialogbase.h \
qgsgpsdevicedialogbase.cpp
plugin_UIC = \
qgsgpspluginguibase.ui \
qgsgpsdevicedialogbase.ui
# UI dependencies
qgsgpspluginguibase.cpp: qgsgpspluginguibase.h qgsgpspluginguibase.ui
qgsgpsdevicedialogbase.cpp: qgsgpsdevicedialogbase.h qgsgpsdevicedialogbase.ui
BUILT_SOURCES = $(plugin_MOC) $(plugin_UI)
gpsimporterplugin_la_LIBADD = $(QT_LDADD) $(GDAL_LDADD) ../../src/libqgis.la
gpsimporterplugin_la_CFLAGS = $(CFLAGS) $(EXTRA_CFLAGS) $(DEBUG_QGIS)
gpsimporterplugin_la_CXXFLAGS = $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(DEBUG_QGIS) $(GDAL_CFLAGS) $(GEOS_CFLAGS) -I../../src
gpsimporterplugin_la_LDFLAGS = -avoid-version -module
CLEANFILES = $(BUILT_SOURCES)
##
## Anything that must go in the tarball gets added here
##
EXTRA_DIST = $(plugin_UIC) icon.xpm \
qgsgpspluginguibase.h \
qgsgpsdevicedialogbase.h \
qgsgpsplugingui.h \
qgsgpsplugin.h \
qgsgpsdevicedialog.h
endif