jobi 9c2601d125 ** fixed strange warning: object 'foo.$(OBJEXT)' created both
with libtool and without
** also cleaned the other Makefiles that way


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1127 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-31 22:06:54 +00:00

55 lines
1.5 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$
plugindir = ${pkglibdir}
%.moc.cpp: %.h
$(MOC) -o $@ $<
%.h: %.ui
$(UIC) -o $@ $<
%.cpp: %.ui
$(UIC) -o $@ -impl $*.h $<
# DelimitedTextLayer below to be replaced with the name of the plugin
plugin_LTLIBRARIES = delimitedtextlayerplugin.la
plugin_MOC = qgsdelimitedtextplugin.moc.cpp \
qgsdelimitedtextplugingui.moc.cpp \
qgsdelimitedtextpluginguibase.moc.cpp
plugin_UI = qgsdelimitedtextpluginguibase.h \
qgsdelimitedtextpluginguibase.cpp
plugin_UIC = qgsdelimitedtextpluginguibase.ui
delimitedtextlayerplugin_la_SOURCES = qgsdelimitedtextplugin.cpp \
qgsdelimitedtextplugin.h \
qgsdelimitedtextplugingui.cpp \
qgsdelimitedtextplugingui.h \
$(plugin_UI) \
$(plugin_MOC)
BUILT_SOURCES = $(plugin_MOC) $(plugin_UI)
delimitedtextlayerplugin_la_LIBADD = $(QT_LDADD) ../../src/libqgis.la
delimitedtextlayerplugin_la_LDFLAGS = -avoid-version -module
delimitedtextlayerplugin_la_CXXFLAGS = $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(DEBUG_QGIS) -I../../src/
EXTRA_DIST = $(plugin_UIC) icon.xpm