mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
class. - Type now a formal enumerated typedef - Propogated changes forward to existing plug-ins git-svn-id: http://svn.osgeo.org/qgis/trunk@994 c8812cc2-4d05-0410-92ff-de0c093fc19c
58 lines
1.7 KiB
Makefile
58 lines
1.7 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}
|
|
plugin_LTLIBRARIES = libopenmodellerplugin.la
|
|
|
|
%.moc.cpp: %.h
|
|
$(MOC) -o $@ $<
|
|
|
|
%.h: %.ui
|
|
$(UIC) -o $@ $<
|
|
|
|
%.cpp: %.ui
|
|
$(UIC) -o $@ -impl $*.h $<
|
|
|
|
libopenmodellerplugin_la_SOURCES = plugin.cpp \
|
|
plugin.h \
|
|
openmodellergui.cpp \
|
|
openmodellergui.h \
|
|
../../src/qgsmaplayer.cpp\
|
|
../../src/qgsrasterlayer.cpp\
|
|
$(openmodeller_UI)\
|
|
$(openmodeller_MOC)
|
|
|
|
openmodeller_MOC = plugin.moc.cpp \
|
|
../../src/qgsmaplayer.moc.cpp \
|
|
../../src/qgsrasterlayer.moc.cpp \
|
|
openmodellergui.moc.cpp \
|
|
openmodellerguibase.moc.cpp
|
|
|
|
openmodeller_UI = openmodellerguibase.h \
|
|
openmodellerguibase.cpp
|
|
|
|
openmodeller_UIC = openmodellerguibase.ui
|
|
|
|
# UI dependencies
|
|
openmodellerguibase.cpp: openmodellerguibase.h openmodellerguibase.ui
|
|
|
|
BUILT_SOURCES = $(openmodeller_MOC) $(openmodeller_UI)
|
|
|
|
AM_CXXFLAGS := $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(DEBUG_QGIS) -I../../src
|
|
|
|
#-lom is libopenmodeller which should be in to /usr/lib/libom.so.0.0
|
|
libopenmodellerplugin_la_LIBADD = $(QT_LDADD) -L/usr/lib/ -lom -lm
|
|
libopenmodellerplugin_la_LDFLAGS = -avoid-version -module
|
|
|
|
EXTRA_DIST = $(openmodeller_UIC) icon_om.xpm
|
|
|