[216] | 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 | # |
---|
[1] | 7 | |
---|
[216] | 8 | !INCLUDE nmake.opt |
---|
[1] | 9 | |
---|
[216] | 10 | all: zoo_loader.cgi |
---|
[1] | 11 | |
---|
| 12 | main_conf_read.tab.c: main_conf_read.y service.h |
---|
[364] | 13 | bison -p cr -d main_conf_read.y |
---|
[1] | 14 | |
---|
| 15 | main_conf_read.tab.obj: main_conf_read.tab.c service.h |
---|
| 16 | $(CPP) /EHsc $(CFLAGS) main_conf_read.tab.c /c |
---|
| 17 | |
---|
| 18 | lex.cr.c: main_conf_read.y main_conf_read.l main_conf_read.tab.c service.h |
---|
[364] | 19 | flex -Pcr main_conf_read.l |
---|
[1] | 20 | |
---|
| 21 | lex.cr.obj: lex.cr.c service.h |
---|
| 22 | $(CPP) $(CFLAGS) /c lex.cr.c |
---|
| 23 | |
---|
| 24 | service_conf.tab.c: service_conf.y service.h |
---|
[364] | 25 | bison -p sr -d service_conf.y |
---|
[1] | 26 | |
---|
| 27 | service_conf.tab.obj: service_conf.tab.c service.h |
---|
| 28 | $(CPP) $(CFLAGS) service_conf.tab.c /c |
---|
| 29 | |
---|
| 30 | lex.sr.c: service_conf.y service_conf.l service_conf.tab.c service.h |
---|
[364] | 31 | flex -Psr service_conf.l |
---|
[1] | 32 | |
---|
| 33 | lex.sr.obj: lex.sr.c service.h |
---|
| 34 | $(CPP) $(CFLAGS) /c lex.sr.c |
---|
| 35 | |
---|
| 36 | service_internal.obj: service_internal.c |
---|
| 37 | $(CPP) $(CFLAGS) /c service_internal.c |
---|
| 38 | |
---|
[364] | 39 | service_internal_js.obj: service_internal_js.c service.h |
---|
| 40 | $(CPP) /c $(CFLAGS) service_internal_js.c |
---|
| 41 | |
---|
| 42 | service_internal_java.obj: service_internal_java.c service.h |
---|
| 43 | $(CPP) /c $(CFLAGS) service_internal_java.c |
---|
| 44 | |
---|
[1] | 45 | service_internal_python.obj: service_internal_python.c service.h |
---|
| 46 | $(CPP) /c $(CFLAGS) service_internal_python.c |
---|
| 47 | |
---|
[364] | 48 | service_internal_ms.obj: service_internal_ms.c service.h |
---|
| 49 | $(CPP) /c $(CFLAGS) service_internal_ms.c |
---|
| 50 | |
---|
[1] | 51 | service_loader.obj: service_loader.c service.h |
---|
| 52 | $(CPP) /c $(CFLAGS) service_loader.c |
---|
| 53 | |
---|
| 54 | zoo_service_loader.obj: zoo_service_loader.c service.h |
---|
| 55 | $(CPP) /c $(CFLAGS) zoo_service_loader.c |
---|
| 56 | |
---|
| 57 | zoo_loader.obj: zoo_loader.c service.h |
---|
| 58 | $(CPP) /EHsc /c $(CFLAGS) zoo_loader.c |
---|
| 59 | |
---|
[216] | 60 | dirent.obj: |
---|
[304] | 61 | $(CPP) /EHsc /c $(CFLAGS) ..\..\thirds\dirent-win32\dirent.c |
---|
[216] | 62 | |
---|
[364] | 63 | zoo_loader.cgi: zoo_loader.obj zoo_service_loader.obj service_internal.obj $(PY_FILE) $(JAVA_FILE) $(MS_FILE) $(JS_FILE) ulinet.obj lex.cr.obj lex.sr.obj service_conf.tab.obj main_conf_read.tab.obj dirent.obj |
---|
[384] | 64 | link zoo_loader.obj dirent.obj service_internal.obj $(PY_FILE) $(JAVA_FILE) $(MS_FILE) $(JS_FILE) ulinet.obj main_conf_read.tab.obj lex.cr.obj service_conf.tab.obj lex.sr.obj zoo_service_loader.obj /out:zoo_loader.cgi $(LDFLAGS) $(LDFLAGSCGI) |
---|
[1] | 65 | |
---|
| 66 | clean: |
---|
[216] | 67 | erase -f *.cgi *.obj *.tab.c* *.tab.h *.sr.c* lex.* *.lreg *.sibling |
---|