Revert "transmission: update from 2.13 to 2.22"
[tomato.git] / release / src / router / libevent / test / Makefile.nmake
blob320abe701655b26049d78a04064c31faf7dfdc15
2 CFLAGS=/I.. /I../include /I../WIN32-Code /I../compat /DWIN32 /DHAVE_CONFIG_H
4 CFLAGS=$(CFLAGS) /Ox /W3 /wd4996 /nologo
6 REGRESS_OBJS=regress.obj regress_http.obj regress_dns.obj \
7         regress_rpc.obj regress.gen.obj \
9 OTHER_OBJS=test-init.obj test-eof.obj test-weof.obj test-time.obj \
10         bench.obj bench_cascade.obj bench_http.obj bench_httpclient.obj
12 PROGRAMS=regress.exe \
13         test-init.exe test-eof.exe test-weof.exe test-time.exe
15 # Disabled for now:
16 #       bench.exe bench_cascade.exe bench_http.exe bench_httpclient.exe
19 LIBS=..\libevent.lib ws2_32.lib advapi32.lib
21 all: $(PROGRAMS)
23 regress.exe: $(REGRESS_OBJS)
24         $(CC) $(CFLAGS) $(LIBS) $(REGRESS_OBJS)
26 test-init.exe: test-init.obj
27         $(CC) $(CFLAGS) $(LIBS) test-init.obj
28 test-eof.exe: test-eof.obj
29         $(CC) $(CFLAGS) $(LIBS) test-eof.obj
30 test-weof.exe: test-weof.obj
31         $(CC) $(CFLAGS) $(LIBS) test-weof.obj
32 test-time.exe: test-time.obj
33         $(CC) $(CFLAGS) $(LIBS) test-time.obj
35 bench.exe: bench.obj
36         $(CC) $(CFLAGS) $(LIBS) bench.obj
37 bench_cascade.exe: bench_cascade.obj
38         $(CC) $(CFLAGS) $(LIBS) bench_cascade.obj
39 bench_http.exe: bench_http.obj
40         $(CC) $(CFLAGS) $(LIBS) bench_http.obj
41 bench_httpclient.exe: bench_httpclient.obj
42         $(CC) $(CFLAGS) $(LIBS) bench_httpclient.obj
44 clean:
45         -del $(REGRESS_OBJS)
46         -del $(OTHER_OBJS)
47         -del regress.exe