Ignore:
Timestamp:
Apr 20, 2016, 11:51:55 AM (9 years ago)
Author:
djay
Message:

Update the makefiles and small fixe for windows platform.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-project/zoo-kernel/nmake.opt

    r712 r757  
    1111#PHP_LIB=$(PHP_DIR)\Release_TS\php5embed.lib
    1212
    13 !IF DEFINED(MS_DIR)
    14 MS_BASE=$(MS_DIR)
    15 !INCLUDE $(MS_DIR)\nmake.opt
    16 !ENDIF
     13#!IF DEFINED(MS_DIR)
     14#MS_BASE=$(MS_DIR)
     15#!INCLUDE $(MS_DIR)\nmake.opt
     16#!ENDIF
    1717
    1818!IFDEF JS_DIR
    19 JS_CFLAGS=-DXP_WIN -DUSE_JS -I$(JS_DIR)
     19JS_CFLAGS=-DXP_WIN -DUSE_JS -I$(JS_DIR) -I$(JS_DIR)/dist/include
    2020JS_LDFLAGS=$(JS_DIR)/mozjs185-1.0.lib
    2121JS_FILE=service_internal_js.obj
    2222!ENDIF
    2323
     24!IFDEF JS_CFG
     25#!INCLUDE $(JS_CFG)
     26#JS_CFLAGS=-DXP_WIN -DUSE_JS $(JS_CONFIG_CFLAGS)
     27#JS_LDFLAGS=$(JS_CONFIG_LDFLAGS)
     28JS_CFLAGS=-DXP_WIN -DUSE_JS -include c:/mozilla-build/msys/local/include/mozjs-24/js/RequiredDefines.h -Ic:/mozilla-build/msys/local/include/mozjs-24 -IC:/mozilla-build/msys/local/include
     29JS_LDFLAGS=c:/mozilla-build/msys/local/lib/mozjs-24.lib  kernel32.lib user32.lib gdi32.lib winmm.lib wsock32.lib advapi32.lib psapi.lib
     30JS_FILE=service_internal_js.obj
     31!ENDIF
     32
    2433!IFDEF MS_DIR
    25 MS_CFLAGS=-DUSE_MS -I$(MS_DIR)
    26 MS_LDFLAGS=$(MS_DIR)/mapserver_i.lib
     34MS_CFLAGS=-DUSE_MS -DHAVE_STRCASECMP -DHAVE_STRNCASECMP -I$(MS_DIR)/include
     35MS_LDFLAGS=$(MS_DIR)/lib/mapserver_i.lib
    2736MS_FILE=service_internal_ms.obj
    2837!ENDIF
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