Last change
on this file since 981 was
978,
checked in by djay, 4 years ago
|
Add missing files and small fix for windows support
|
File size:
1.3 KB
|
Line | |
---|
1 | # WIN32 Makefile tested using VC-9.0 |
---|
2 | # Don't forget to set your PATH using the following command : |
---|
3 | # c:\Progam Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat |
---|
4 | # set PATH=%PATH%;$(TOOLS) |
---|
5 | # using value for TOOLS relative to your local installation |
---|
6 | # |
---|
7 | |
---|
8 | !INCLUDE ..\..\zoo-kernel\nmake.opt |
---|
9 | |
---|
10 | !IFDEF JAVA_FILE |
---|
11 | JAVA_FILE=..\..\zoo-kernel/$(JAVA_FILE) |
---|
12 | !ENDIF |
---|
13 | !IFDEF MS_FILE |
---|
14 | MS_FILE=..\..\zoo-kernel/$(MS_FILE) |
---|
15 | !ENDIF |
---|
16 | !IFDEF JS_FILE |
---|
17 | JS_FILE=..\..\zoo-kernel/$(JS_FILE) |
---|
18 | !ENDIF |
---|
19 | |
---|
20 | all: libZOO.dll |
---|
21 | |
---|
22 | org/zoo_project/ZOO.class: org/zoo_project/ZOO.java |
---|
23 | javac org/zoo_project/ZOO.java |
---|
24 | |
---|
25 | ZOO.h: org/zoo_project/ZOO.java org/zoo_project/ZOO.class |
---|
26 | javah org.zoo_project.ZOO |
---|
27 | |
---|
28 | zoo-api.o: zoo-api.c ZOO.h |
---|
29 | $(CPP) /c $(CFLAGS) zoo-api.c -I../../zoo-kernel/ -I../../../thirds/cgic206/ |
---|
30 | |
---|
31 | libZOO.dll: zoo-api.o |
---|
32 | link /dll /out:libZOO.dll zoo-api.obj ..\..\zoo-kernel\libzoo_service.lib ..\..\zoo-kernel\server_internal.obj ..\..\zoo-kernel\caching.obj ..\..\zoo-kernel\ulinet.obj ..\..\zoo-kernel\response_print.obj ..\..\zoo-kernel\service_json.obj ..\..\zoo-kernel\main_conf_read.tab.obj ..\..\zoo-kernel\service_conf.tab.obj ..\..\zoo-kernel\lex.cr.obj ..\..\zoo-kernel\lex.sr.obj $(JAVA_FILE) $(MS_FILE) $(JS_FILE) $(JSONC_LIB) $(LDFLAGS) /FORCE:MULTIPLE |
---|
33 | |
---|
34 | clean: |
---|
35 | erase -f *dll *lib *o *.h *class |
---|
36 | |
---|
37 | |
---|
Note: See
TracBrowser
for help on using the repository browser.