mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Makefiles for MinGW
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4667 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
ea91fee174
commit
57b6319703
7
Makefile.win
Normal file
7
Makefile.win
Normal file
@ -0,0 +1,7 @@
|
||||
WINSUBDIRS = src src/providers/ogr
|
||||
|
||||
all: winsubdirs
|
||||
|
||||
install: instsubdirs
|
||||
|
||||
include ./Makefile.win.rules
|
56
Makefile.win.rules.in
Normal file
56
Makefile.win.rules.in
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user