~ubuntu-branches/ubuntu/natty/qgis/natty

« back to all changes in this revision

Viewing changes to src/plugins/north_arrow/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Johan Van de Wauw
  • Date: 2010-07-11 20:23:24 UTC
  • mfrom: (3.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100711202324-5ktghxa7hracohmr
Tags: 1.4.0+12730-3ubuntu1
* Merge from Debian unstable (LP: #540941).
* Fix compilation issues with QT 4.7
* Add build-depends on libqt4-webkit-dev 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2003 Gary Sherman <sherman at mrcc.com>
2
 
#  
3
 
# This file is free software; as a special exception the author gives
4
 
# unlimited permission to copy and/or distribute it, with or without 
5
 
# modifications, as long as this notice is preserved.
6
 
7
 
# This program is distributed in the hope that it will be useful, but
8
 
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
9
 
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10
 
#
11
 
# $Id: Makefile.am 6350 2006-12-30 02:15:25Z gsherman $
12
 
 
13
 
plugindir = ${pkglibdir}
14
 
if !HAVE_QTMAC
15
 
PKGDATAPATH=-DPKGDATAPATH=\"$(pkgdatadir)\"
16
 
endif
17
 
#NorthArrow below to be replaced with the name of the plugin
18
 
plugin_LTLIBRARIES = northarrowplugin.la
19
 
 
20
 
%.moc.cpp: %.h
21
 
        $(MOC) -o $@ $<
22
 
 
23
 
ui_%.h: %.ui 
24
 
        $(UIC) -o $@ $<
25
 
 
26
 
%.qrc.cpp: %.qrc
27
 
        $(RCC) -o $@ $<
28
 
 
29
 
northarrowplugin_la_SOURCES =  plugin.cpp \
30
 
                              plugin.h \
31
 
                              plugingui.cpp \
32
 
                              plugingui.h \
33
 
                              $(plugin_UI)\
34
 
                              $(plugin_MOC) \
35
 
                              $(plugin_QRC) \
36
 
                              $(plugin_RES)
37
 
 
38
 
plugin_MOC = plugin.moc.cpp \
39
 
             plugingui.moc.cpp 
40
 
 
41
 
plugin_UI = ui_pluginguibase.h 
42
 
 
43
 
plugin_UIC = pluginguibase.ui
44
 
 
45
 
plugin_RES = northarrow_plugin.qrc.cpp
46
 
 
47
 
#plugin_QRC = northarrow_plugin.qrc
48
 
 
49
 
 
50
 
BUILT_SOURCES = $(plugin_MOC) $(plugin_UI) $(plugin_RES)
51
 
 
52
 
 
53
 
northarrowplugin_la_LIBADD = $(QT_LDADD) $(GDAL_LDADD) ../../core/libqgis_core.la 
54
 
northarrowplugin_la_LDFLAGS = -avoid-version -module
55
 
northarrowplugin_la_CXXFLAGS = $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(DEBUG_QGIS) $(GDAL_CFLAGS) $(GEOS_CFLAGS) $(PKGDATAPATH) -I../../gui -I../../ui -I../../core
56
 
 
57
 
CLEANFILES = $(BUILT_SOURCES)
58
 
 
59
 
EXTRA_DIST = $(plugin_UIC) icon.xpm \
60
 
        ui_pluginguibase.h
61