1 1.1 christos 2 1.1 christos CFLAGS=/I.. /I../WIN32-Code /I../include /I../compat /DWIN32 /DHAVE_CONFIG_H /DTINYTEST_LOCAL 3 1.1 christos 4 1.1 christos CFLAGS=$(CFLAGS) /Ox /W3 /wd4996 /nologo 5 1.1 christos 6 1.1 christos REGRESS_OBJS=regress.obj regress_buffer.obj regress_http.obj regress_dns.obj \ 7 1.1 christos regress_testutils.obj \ 8 1.1 christos regress_rpc.obj regress.gen.obj \ 9 1.1 christos regress_et.obj regress_bufferevent.obj \ 10 1.1 christos regress_listener.obj regress_util.obj tinytest.obj \ 11 1.1 christos regress_main.obj regress_minheap.obj regress_iocp.obj \ 12 1.1 christos regress_thread.obj 13 1.1 christos 14 1.1 christos OTHER_OBJS=test-init.obj test-eof.obj test-weof.obj test-time.obj \ 15 1.1 christos bench.obj bench_cascade.obj bench_http.obj bench_httpclient.obj \ 16 1.1 christos test-changelist.obj 17 1.1 christos 18 1.1 christos PROGRAMS=regress.exe \ 19 1.1 christos test-init.exe test-eof.exe test-weof.exe test-time.exe \ 20 1.1 christos test-changelist.exe 21 1.1 christos 22 1.1 christos # Disabled for now: 23 1.1 christos # bench.exe bench_cascade.exe bench_http.exe bench_httpclient.exe 24 1.1 christos 25 1.1 christos 26 1.1 christos LIBS=..\libevent.lib ws2_32.lib shell32.lib advapi32.lib 27 1.1 christos 28 1.1 christos all: $(PROGRAMS) 29 1.1 christos 30 1.1 christos regress.exe: $(REGRESS_OBJS) 31 1.1 christos $(CC) $(CFLAGS) $(LIBS) $(REGRESS_OBJS) 32 1.1 christos 33 1.1 christos test-init.exe: test-init.obj 34 1.1 christos $(CC) $(CFLAGS) $(LIBS) test-init.obj 35 1.1 christos test-eof.exe: test-eof.obj 36 1.1 christos $(CC) $(CFLAGS) $(LIBS) test-eof.obj 37 1.1 christos test-changelist.exe: test-changelist.obj 38 1.1 christos $(CC) $(CFLAGS) $(LIBS) test-changelist.obj 39 1.1 christos test-weof.exe: test-weof.obj 40 1.1 christos $(CC) $(CFLAGS) $(LIBS) test-weof.obj 41 1.1 christos test-time.exe: test-time.obj 42 1.1 christos $(CC) $(CFLAGS) $(LIBS) test-time.obj 43 1.1 christos 44 1.1 christos bench.exe: bench.obj 45 1.1 christos $(CC) $(CFLAGS) $(LIBS) bench.obj 46 1.1 christos bench_cascade.exe: bench_cascade.obj 47 1.1 christos $(CC) $(CFLAGS) $(LIBS) bench_cascade.obj 48 1.1 christos bench_http.exe: bench_http.obj 49 1.1 christos $(CC) $(CFLAGS) $(LIBS) bench_http.obj 50 1.1 christos bench_httpclient.exe: bench_httpclient.obj 51 1.1 christos $(CC) $(CFLAGS) $(LIBS) bench_httpclient.obj 52 1.1 christos 53 1.1 christos regress.gen.c regress.gen.h: regress.rpc ../event_rpcgen.py 54 1.1 christos echo // > regress.gen.c 55 1.1 christos echo #define NO_PYTHON_EXISTS > regress.gen.h 56 1.1 christos -python ..\event_rpcgen.py regress.rpc 57 1.1 christos 58 1.1 christos clean: 59 1.1 christos -del $(REGRESS_OBJS) 60 1.1 christos -del $(OTHER_OBJS) 61 1.1 christos -del regress.exe 62