/
Makefile.win
48 lines (38 loc) · 1.11 KB
/
Makefile.win
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# We have to run first standard build system (stdsubdirs) which
# creates static libraries (.libs/libqgis_xxx.a)
# then we run win32 specific makefiles which generates DLL
all: stdsubdirs guilib winsubdirs
include ../Makefile.win.rules
STDSUBDIRS = core ui legend raster composer widgets helpviewer
#providers plugins
WINSUBDIRS = core legend raster composer \
widgets/projectionselector gui \
providers/ogr \
providers/wms \
providers/gpx \
providers/delimitedtext \
plugins/north_arrow \
plugins/copyright_label \
plugins/scale_bar \
plugins/georeferencer \
plugins/grid_maker \
plugins/delimited_text \
plugins/gps_importer
ifneq ($(PG_LIB),)
WINSUBDIRS += plugins/geoprocessing
WINSUBDIRS += plugins/spit
endif
ifneq ($(GRASS_BASE),)
WINSUBDIRS += providers/grass plugins/grass
endif
ifneq ($(PG_LIB),)
WINSUBDIRS += providers/postgres
endif
guilib:
$(MAKE) -C gui -f Makefile libqgis_gui.la
install: all
@list='$(WINSUBDIRS)'; \
for subdir in $$list; do \
echo !!!!!!!!!!!!!!!!!!!! $$subdir !!!!!!!!!!!!!!!!!!!!; \
$(MAKE) -C $$subdir -f Makefile.win install || exit 1 ; \
done