[mapserver-commits] r7863 - branches/branch-5-2/mapserver
svn at osgeo.org
svn at osgeo.org
Sun Aug 17 18:27:39 EDT 2008
Author: tamas
Date: 2008-08-17 18:27:39 -0400 (Sun, 17 Aug 2008)
New Revision: 7863
Modified:
branches/branch-5-2/mapserver/nmake.opt
Log:
- Added BGDWIN32 required by gd-2.0.35 (#2742)
- Allow to specify EXTERNAL_LIBS and INCLUDES externally (#2743)
Modified: branches/branch-5-2/mapserver/nmake.opt
===================================================================
--- branches/branch-5-2/mapserver/nmake.opt 2008-08-15 17:47:54 UTC (rev 7862)
+++ branches/branch-5-2/mapserver/nmake.opt 2008-08-17 22:27:39 UTC (rev 7863)
@@ -794,22 +794,26 @@
########################################################################
# Should not need to be updated.
########################################################################
+!IFNDEF EXTERNAL_LIBS
EXTERNAL_LIBS=$(GD_LIBS) $(TIFF_LIB) $(JPEG_LIB) \
$(PROJ_LIB) $(OGR_LIB) $(GDAL_LIB)\
$(CURL_LIB) $(MING_LIB) $(PDF_LIB) \
$(WINSOCK_LIB) $(POSTGIS_LIB) $(IMGGEN_LIB) $(ERR_LIB) \
$(ORACLE_LIB) $(SDE_LIB) $(ICONV_LIB) $(FCGILIB) $(GEOS_LIB) \
$(LIBXML_LIB) $(AGG_LIB) $(FRIBIDI_LIB)
+!ENDIF
LIBS=$(MS_LIB) $(EXTERNAL_LIBS)
LIBS_DLL=$(MS_LIB_DLL) $(EXTERNAL_LIBS)
+!IFNDEF INCLUDES
INCLUDES=$(GD_INC) $(TIFF_INC) $(JPEG_INC) \
$(PROJ_INC) $(REGEX_INC) $(GDAL_INC) $(OGR_INC) \
$(CURL_INC) $(MING_INC) $(PDF_INC) $(POSTGIS_INC) \
$(IMGGEN_INC) $(ERR_INC) $(ORACLE_INC) $(SDE_INC)\
$(ICONV_INC) $(FCGIINC) $(GEOS_INC) $(ZLIB_INC) $(LIBXML_INC) \
$(AGG_INC) $(PNG_INC) $(FRIBIDI_INC)
+!ENDIF
MS_DEFS = $(REGEX_OPT) $(STRINGS) $(POSTGIS) \
@@ -822,9 +826,9 @@
$(SDE_OPT) $(ICONV) $(GEOS) $(ZLIB) $(SOS) $(XML2_ENABLED) $(AGG) $(RGBA_PNG_ENABLED) $(FRIBIDI)
!IFDEF WIN64
-MS_CFLAGS=$(INCLUDES) $(MS_DEFS) -DWIN32 -D_WIN32 -DUSE_GENERIC_MS_NINT
+MS_CFLAGS=$(INCLUDES) $(MS_DEFS) -DWIN32 -D_WIN32 -DUSE_GENERIC_MS_NINT -DBGDWIN32
!ELSE
-MS_CFLAGS=$(INCLUDES) $(MS_DEFS) -DWIN32 -D_WIN32
+MS_CFLAGS=$(INCLUDES) $(MS_DEFS) -DWIN32 -D_WIN32 -DBGDWIN32
!ENDIF
More information about the mapserver-commits
mailing list