Last change
on this file since 481 was
374,
checked in by djay, 12 years ago
|
Fix makefile.vc to build on windows platform.
|
File size:
987 bytes
|
Rev | Line | |
---|
[374] | 1 | TROOT= $(ZOOK_DIR) |
---|
| 2 | !INCLUDE $(ZOOK_DIR)/nmake.opt |
---|
[1] | 3 | |
---|
[374] | 4 | FILES=$(ZOOK_DIR)/service_internal.obj $(ZOOK_DIR)/ulinet.obj |
---|
| 5 | !IFDEF JS_DIR |
---|
| 6 | FILES=$(FILES) $(ZOOK_DIR)$(JS_FILE) |
---|
| 7 | !ENDIF |
---|
| 8 | !IFDEF JDK_DIR |
---|
| 9 | FILES=$(FILES) $(ZOOK_DIR)$(JAVA_FILE) |
---|
| 10 | !ENDIF |
---|
| 11 | !IFDEF PY_DIR |
---|
| 12 | FILES=$(FILES) $(ZOOK_DIR)$(PY_FILE) |
---|
| 13 | !ENDIF |
---|
| 14 | !IFDEF MS_DIR |
---|
| 15 | FILES=$(FILES) $(ZOOK_DIR)$(MS_FILE) |
---|
| 16 | !ENDIF |
---|
| 17 | |
---|
[216] | 18 | cgi-env/ogr_service.zo: service.c |
---|
[374] | 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 |
---|
[1] | 21 | |
---|
| 22 | clean: |
---|
[216] | 23 | erase cgi-env\ogr_service.* |
---|
[374] | 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
TracBrowser
for help on using the repository browser.