mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
38 lines
1.0 KiB
Makefile
38 lines
1.0 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.
|
|
|
|
plugindir = ${pkglibdir}
|
|
plugin_LTLIBRARIES = maplayerplugin.la
|
|
%.moc.cpp: %.h
|
|
$(MOC) -o $@ $<
|
|
|
|
%.h: %.ui
|
|
$(UIC) -o $@ $<
|
|
|
|
%.cpp: %.ui
|
|
$(UIC) -o $@ -impl $*.h $<
|
|
|
|
maplayerplugin_la_SOURCES = maplayertest.cpp \
|
|
../../src/qgsmaplayerinterface.h \
|
|
$(maplayer_UI)\
|
|
$(maplayer_MOC)
|
|
|
|
maplayer_MOC = maplayertest.moc.cpp \
|
|
../../src/qgsmaplayerinterface.moc.cpp
|
|
|
|
maplayer_UI =
|
|
|
|
# UI dependencies
|
|
|
|
AM_CXXFLAGS := $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS)
|
|
|
|
maplayerplugin_la_LIBADD = $(QT_LDADD)
|
|
maplayerplugin_la_LDFLAGS = -avoid-version -module
|