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

« back to all changes in this revision

Viewing changes to src/raster/Makefile.win

  • 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
 
QGTOP=../../
2
 
 
3
 
DLL=qgis_raster.dll
4
 
 
5
 
all: libs $(DLL)
6
 
 
7
 
libs:
8
 
        $(MAKE) -f Makefile libqgis_raster.la
9
 
 
10
 
$(DLL): .libs/libqgis_raster.a
11
 
        $(CXX) -shared -o $(DLL) \
12
 
                -Wl,--out-implib=lib$(DLL).a \
13
 
                -Wl,--export-all-symbols \
14
 
                -Wl,--enable-auto-import \
15
 
                -Wl,--whole-archive .libs/libqgis_raster.a \
16
 
                -Wl,--no-whole-archive \
17
 
                        $(GUI_A) $(CORE_A) $(LEGEND_A) $(PROJSEL_A) \
18
 
                        $(GUI_A) $(CORE_A) $(COMPOSER_A) $(GUI_A) \
19
 
                        $(GDAL_LDADD) -lproj -lsqlite3 $(PG_LIB) \
20
 
                        $(QT_LDADD) \
21
 
                        -lwsock32 -lmingw32
22
 
        $(STRIP) $@
23
 
 
24
 
install: all
25
 
        $(INSTALL) -m 755 $(DLL) $(DLLDIR)/$(DLL)
26
 
 
27
 
include $(QGTOP)/Makefile.win.rules