Ignore:
Timestamp:
Oct 22, 2012, 1:10:45 PM (12 years ago)
Author:
djay
Message:

Fix makefile.vc to build on windows platform.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-project/zoo-services/ogr/base-vect-ops/makefile.vc

    r216 r374  
    1 ZOODIR=../../../zoo-kernel
    2 THIRDSDIR=../../../thirds
    3 !INCLUDE $(ZOODIR)/nmake.opt
    4 CFLAGS=-I$(GEODIR)/include -I$(TPATH)/include -I$(ZOODIR) -I./ -DLINUX_FREE_ISSUE -DWIN32 #-DDEBUG
    5 CPP=cl /TP
     1TROOT= $(ZOOK_DIR)
     2!INCLUDE $(ZOOK_DIR)/nmake.opt
     3
     4FILES=$(ZOOK_DIR)/service_internal.obj $(ZOOK_DIR)/ulinet.obj
     5!IFDEF JS_DIR
     6FILES=$(FILES) $(ZOOK_DIR)$(JS_FILE)
     7!ENDIF
     8!IFDEF JDK_DIR
     9FILES=$(FILES) $(ZOOK_DIR)$(JAVA_FILE)
     10!ENDIF
     11!IFDEF PY_DIR
     12FILES=$(FILES) $(ZOOK_DIR)$(PY_FILE)
     13!ENDIF
     14!IFDEF MS_DIR
     15FILES=$(FILES) $(ZOOK_DIR)$(MS_FILE)
     16!ENDIF
    617
    718cgi-env/ogr_service.zo: service.c
    8         $(CPP) $(CFLAGS) /c service.c
    9         link /dll /out:cgi-env/ogr_service.zo ../../../zoo-kernel/service_internal.obj ./service.obj -L$(TOOLS)/lib/libssl32.dll.a $(GEODIR)/lib/libxml2.lib $(GEODIR)/lib/gdal_i.lib $(GEODIR)/lib/geos_c_i.lib $(TPATH)/lib/libeay32.dll.a $(TPATH)/lib/libcrypto.a $(TPATH)/lib/libssl32.dll.a $(LIBINTL_CPATH)/lib/libintl.lib
     19        $(CPP)  /D_CRT_NONSTDC_NO_DEPRECATE -DWIN32 -DZOO_SERVICE -I$(GDAL_DIR)/frmts/ $(CFLAGS) /c service.c
     20        link /dll /out:cgi-env/ogr_service.zo  $(FILES) ./service.obj $(LDFLAGS) $(GEOS_DIR)/src/geos_c_i.lib /FORCE:MULTIPLE
    1021
    1122clean:
    1223        erase cgi-env\ogr_service.*
     24
     25#       link /dll /out:cgi-env/ogr_service.zo ../../../zoo-kernel/service_internal.obj ./service.obj -L$(TOOLS)/lib/libssl32.dll.a $(GEODIR)/lib/libxml2.lib $(GEODIR)/lib/gdal_i.lib $(GEODIR)/lib/geos_c_i.lib $(TPATH)/lib/libeay32.dll.a $(TPATH)/lib/libcrypto.a $(TPATH)/lib/libssl32.dll.a $(LIBINTL_CPATH)/lib/libintl.lib
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png