Skip to content

Commit

Permalink
postgres and grass conditional
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@5689 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek committed Aug 11, 2006
1 parent 817e01b commit ee7a7d6
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions src/Makefile.win
Expand Up @@ -2,18 +2,19 @@
# 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/grass \
providers/wms \
providers/postgres \
providers/gpx \
providers/delimitedtext \
plugins/grass \
plugins/north_arrow \
plugins/copyright_label \
plugins/geoprocessing \
Expand All @@ -24,8 +25,13 @@ WINSUBDIRS = core legend raster composer \
plugins/gps_importer \
plugins/spit


all: stdsubdirs guilib winsubdirs
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
Expand All @@ -37,4 +43,3 @@ install: all
$(MAKE) -C $$subdir -f Makefile.win install || exit 1 ; \
done

include ../Makefile.win.rules

0 comments on commit ee7a7d6

Please sign in to comment.