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

« back to all changes in this revision

Viewing changes to src/widgets/projectionselector/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 5961 2006-10-15 11:44:09Z wonder $
12
 
 
13
 
selectordir = ${pkglibdir}
14
 
if !HAVE_QTMAC
15
 
PREFIX=-DPREFIX=\"$(prefix)\"
16
 
PLUGINPATH=-DPLUGINPATH=\"$(pkglibdir)\"
17
 
PKGDATAPATH=-DPKGDATAPATH=\"$(pkgdatadir)\"
18
 
endif
19
 
 
20
 
%.moc.cpp: %.h
21
 
        $(MOC) -o $@ $<
22
 
 
23
 
ui_%.h: %.ui
24
 
        $(UIC) -o $@ $<
25
 
 
26
 
# name of the qgis library widget
27
 
selector_LTLIBRARIES = libqgsprojectionselector.la
28
 
 
29
 
selector_MOC = qgsprojectionselector.moc.cpp            
30
 
 
31
 
selector_UIC = qgsprojectionselectorbase.ui 
32
 
 
33
 
selector_UI = ui_qgsprojectionselectorbase.h 
34
 
 
35
 
selectorHEADERS = qgsprojectionselector.h
36
 
 
37
 
libqgsprojectionselector_la_SOURCES =  qgsprojectionselector.cpp \
38
 
                                 $(selector_UI) \
39
 
                                 $(selector_UIC) \
40
 
                                 $(selector_MOC) 
41
 
 
42
 
BUILT_SOURCES = $(selector_MOC) $(selector_UI) 
43
 
 
44
 
CLEANFILES = $(BUILT_SOURCES)
45
 
 
46
 
 
47
 
libqgsprojectionselector_la_LIBADD =  $(LDADD) $(QT_LDADD) -lsqlite3 ../../core/libqgis_core.la
48
 
libqgsprojectionselector_la_LDFLAGS = -avoid-version 
49
 
libqgsprojectionselector_la_CXXFLAGS = $(PREFIX) $(PLUGINPATH) $(PKGDATAPATH) $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(DEBUG_QGIS) $(GEOS_CFLAGS) -I../../core/
50
 
 
51
 
EXTRA_DIST = $(selector_UIC)
52
 
 
53
 
pkginclude_dir = $(includedir)/qgis
54
 
pkginclude_HEADERS = $(selectorHEADERS)
55