~ubuntu-branches/ubuntu/trusty/qgis/trusty

« back to all changes in this revision

Viewing changes to src/plugins/spit/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
 
 
15
 
plugin_LTLIBRARIES = spitplugin.la
16
 
if MINGW_FALSE
17
 
bin_PROGRAMS = spit
18
 
endif
19
 
 
20
 
 
21
 
%.moc.cpp: %.h
22
 
        $(MOC) -o $@ $<
23
 
 
24
 
ui_%.h: %.ui 
25
 
        $(UIC) -o $@ $<
26
 
 
27
 
%.qrc.cpp: %.qrc
28
 
        $(RCC) -o $@ $<
29
 
 
30
 
spit_MOC = qgsspit.moc.cpp \
31
 
        qgsshapefile.moc.cpp \
32
 
        qgseditreservedwordsdialog.moc.cpp \
33
 
        qgsconnectiondialog.moc.cpp
34
 
 
35
 
spit_RES = spit.qrc.cpp
36
 
 
37
 
#spit_QRC = spit.qrc
38
 
 
39
 
spitplugin_la_MOC = $(spit_MOC) qgsspitplugin.moc.cpp
40
 
 
41
 
spit_UI = ui_qgsconnectiondialogbase.h \
42
 
        ui_qgsspitbase.h \
43
 
        ui_qgseditreservedwordsbase.h 
44
 
 
45
 
spit_UIC = qgsconnectiondialogbase.ui \
46
 
        qgsspitbase.ui \
47
 
        qgseditreservedwordsbase.ui 
48
 
 
49
 
common_sources =  qgsspit.cpp \
50
 
        qgsspit.h \
51
 
        qgsdbfbase.h \
52
 
        qgsconnectiondialog.cpp \
53
 
        qgsconnectiondialog.h \
54
 
        qgsshapefile.cpp \
55
 
        qgsshapefile.h \
56
 
        qgseditreservedwordsdialog.h \
57
 
        qgseditreservedwordsdialog.cpp \
58
 
        $(spit_UI) \
59
 
        $(spit_QRC) \
60
 
        $(spit_RES)
61
 
 
62
 
spitplugin_la_SOURCES =  $(common_sources) \
63
 
        qgsspitplugin.cpp \
64
 
        qgsspitplugin.h
65
 
 
66
 
spit_SOURCES = ../../gui/qgsmessageviewer.cpp ../../gui/qgspgutil.cpp $(common_sources) main.cpp $(SPIT_UIC) $(spit_MOC)
67
 
 
68
 
nodist_spitplugin_la_SOURCES = $(spitplugin_la_MOC)
69
 
 
70
 
# UI dependencies                       
71
 
##qgsconnectiondialogbase.cpp: qgsconnectiondialogbase.ui qgsconnectiondialogbase.h
72
 
##qgsconnectiondialogbase.h: qgsconnectiondialogbase.ui
73
 
##qgsspitbase.cpp: qgsspitbase.h qgsspitbase.ui
74
 
##qgsspitbase.h: qgsspitbase.ui
75
 
 
76
 
BUILT_SOURCES = $(spit_MOC) $(spit_UI) $(spitplugin_la_MOC)
77
 
 
78
 
 
79
 
spitplugin_la_LIBADD = $(QT_LDADD)  $(PG_LIB) $(GDAL_LDADD) ../../core/libqgis_core.la
80
 
spitplugin_la_LDFLAGS = -avoid-version -module
81
 
spitplugin_la_CXXFLAGS = $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(GEOS_CFLAGS) $(GDAL_CFLAGS) $(QT_CXXFLAGS) $(PG_INC) -I../../gui -I../../ui -I../../core
82
 
 
83
 
 
84
 
spit_LDADD = $(QT_LDADD)  $(PG_LIB) $(GDAL_LDADD) ../../core/libqgis_core.la ../../gui/libqgis_gui.la
85
 
#spit_LDFLAGS = -avoid-version -module
86
 
spit_CXXFLAGS = $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(GDAL_CFLAGS) $(QT_CXXFLAGS) $(PG_INC)  -I../../gui -I../../ui -I../../core
87
 
 
88
 
CLEANFILES = $(BUILT_SOURCES)
89
 
 
90
 
EXTRA_DIST = $(spit_UIC) icon_spit.xpm spiticon.xpm spit_icons.h