Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: http://svn.osgeo.org/qgis/trunk@4667 c8812cc2-4d05-0410-92ff-de0c093fc19c
- Loading branch information
rblazek
committed
Jan 12, 2006
1 parent
d7b3e2a
commit 60588a0
Showing
2 changed files
with
63 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
WINSUBDIRS = src src/providers/ogr | ||
|
||
all: winsubdirs | ||
|
||
install: instsubdirs | ||
|
||
include ./Makefile.win.rules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
CXX = @CXX@ | ||
STRIP = @STRIP@ | ||
INSTALL = @INSTALL@ | ||
prefix = @prefix@ | ||
|
||
QT_LDADD = @QT_LDADD@ | ||
|
||
GDAL_LDADD = @GDAL_LDADD@ | ||
GEOS_LDADD = @GEOS_LDADD@ | ||
GRASS_LIB = @GRASS_LIB@ | ||
PROJ_LIB = @PROJ_LIB@ | ||
|
||
# The order is significant | ||
QGLIBS = $(QGTOP)/src/raster/.libs/libqgis_raster.a \ | ||
$(QGTOP)/src/composer/.libs/libqgis_composer.a \ | ||
$(QGTOP)/src/widgets/projectionselector/.libs/libqgsprojectionselector.a \ | ||
$(QGTOP)/src/core/.libs/libqgis_core.a \ | ||
$(QGTOP)/src/legend/.libs/libqgis_legend.a \ | ||
$(QGTOP)/src/gui/.libs/libqgis_gui.a | ||
|
||
# For qgis.exe the QGIS libs must be twice because of circular references | ||
QGIS_LIBS = $(QGLIBS) $(QGLIBS) \ | ||
$(GDAL_LDADD) $(PG_LIB) $(GEOS_LDADD) \ | ||
-lproj -lsqlite3 \ | ||
$(QT_LDADD) -lwsock32 | ||
|
||
# And for plugins even 3 times (maybe it would be possible to save | ||
# something changing the order?) | ||
PLUGIN_LIBS = $(QGLIBS) $(QGLIBS) $(QGLIBS) \ | ||
$(GDAL_LDADD) $(PG_LIB) $(GEOS_LDADD) \ | ||
-lproj -lsqlite3 \ | ||
$(QT_LDADD) -lwsock32 | ||
|
||
# Rule for subdirs using standard build system (make -f Makefile) | ||
stdsubdirs: | ||
@list='$(STDSUBDIRS)'; \ | ||
for subdir in $$list; do \ | ||
echo $$subdir ; \ | ||
$(MAKE) -C $$subdir ; \ | ||
done | ||
|
||
# Rule for subdirs using standard win system (make -f Makefile.win) | ||
winsubdirs: | ||
@list='$(WINSUBDIRS)'; \ | ||
for subdir in $$list; do \ | ||
echo $$subdir ; \ | ||
$(MAKE) -C $$subdir -f Makefile.win ; \ | ||
done | ||
|
||
# Rule instalation (using WINSUBDIRS) | ||
instsubdirs: | ||
@list='$(WINSUBDIRS)'; \ | ||
for subdir in $$list; do \ | ||
echo $$subdir ; \ | ||
$(MAKE) -C $$subdir -f Makefile.win install ; \ | ||
done |