~ubuntu-branches/ubuntu/wily/qgis/wily

« back to all changes in this revision

Viewing changes to src/designer/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) 2005 Tim Sutton <tim at linfiniti.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 4490 2006-01-07 01:09:27Z timlinux $
12
 
 
13
 
##
14
 
## ----------------------------------------------------------------------
15
 
##      Define Targets
16
 
## ----------------------------------------------------------------------
17
 
##
18
 
lib_LTLIBRARIES = libqgis_designerwidgets.la
19
 
## TODO change this so it installs into ${QTDIR}/plugins/designer
20
 
libqgis_designerwidgetsdir = ${pkglibdir}/designer
21
 
 
22
 
##
23
 
## ----------------------------------------------------------------------
24
 
##        get Qt4 to run moc and rcc where required... 
25
 
## ----------------------------------------------------------------------
26
 
##
27
 
 
28
 
#run moc on files
29
 
%.moc.cpp: %.h
30
 
        $(MOC) -o $@ $<
31
 
 
32
 
#qt resources
33
 
%.qrc.cpp: %.qrc
34
 
        $(RCC) -o $@ $<
35
 
 
36
 
libqgis_designerwidgets_la_MOC = qgsprojectionselectorwidget.moc.cpp
37
 
 
38
 
libqgis_designerwidgets_RES = qgisdesignerwidgets.qrc.cpp
39
 
 
40
 
libqgis_designerwidgets_QRC = qgisdesignerwidgets.qrc
41
 
 
42
 
 
43
 
libqgis_designerwidgets_la_SOURCES =  qgsprojectionselectorwidget.cpp \
44
 
                $(libqgis_designerwidgets_la_MOC) \
45
 
                $(libqgis_designerwidgets_QRC) \
46
 
                $(libqgis_designerwidgets_RES)
47
 
 
48
 
 
49
 
libqgis_designerwidgets_la_LIBADD =  $(QT_LDADD) ../widgets/projectionselector/libqgsprojectionselector.la
50
 
libqgis_designerwidgets_la_LDFLAGS = -avoid-version -module
51
 
libqgis_designerwidgets_la_CXXFLAGS = $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(DEBUG_QGIS) -I../gui/ -I../legend -I../core -I../widgets/projectionselector/
52
 
 
53
 
##
54
 
## ----------------------------------------------------------------------
55
 
##         additional files that need to be installed go here
56
 
## ----------------------------------------------------------------------
57
 
##
58
 
# designer plugin header not needed by designer