QGIS/Makefile.win.rules.in
rblazek 1df4cb7a45 dll
git-svn-id: http://svn.osgeo.org/qgis/trunk@4737 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-01-24 18:33:40 +00:00

69 lines
2.1 KiB
Makefile

CXX = @CXX@
STRIP = @STRIP@
INSTALL = @INSTALL@
prefix = @prefix@
QT_LDADD = @QT_LDADD@
GDAL_LDADD = @GDAL_LDADD@
#GDAL_LDADD = -lgdal
GEOS_LDADD = @GEOS_LDADD@
GRASS_LIB = @GRASS_LIB@
PROJ_LIB = @PROJ_LIB@
RASTER_A = $(QGTOP)/src/raster/.libs/libqgis_raster.a
COMPOSER_A = $(QGTOP)/src/composer/.libs/libqgis_composer.a
PROJSEL_A = $(QGTOP)/src/widgets/projectionselector/.libs/libqgsprojectionselector.a
CORE_A = $(QGTOP)/src/core/.libs/libqgis_core.a
LEGEND_A = $(QGTOP)/src/legend/.libs/libqgis_legend.a
GUI_A = $(QGTOP)/src/gui/.libs/libqgis_gui.a
RASTER_DLL = -L $(QGTOP)/src/raster/ -lqgis_raster
COMPOSER_DLL = -L $(QGTOP)/src/composer/ -lqgis_composer
PROJSEL_DLL = -L $(QGTOP)/src/widgets/projectionselector/ -lqgis_projsel.dll
CORE_DLL = -L $(QGTOP)/src/core/ -lqgis_core
LEGEND_DLL = -L $(QGTOP)/src/legend/ -lqgis_legend
GUI_DLL = -L $(QGTOP)/src/gui -lqgis_gui
# The order is significant
QGLIBS = $(RASTER_A) $(COMPOSER_A) $(PROJSEL_A) $(CORE_A) $(LEGEND_A) $(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 = $(GUI_DLL) $(RASTER_DLL) $(LEGEND_DLL) \
$(COMPOSER_DLL) $(PROJSEL_DLL) \
$(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