etc/services - sync with NetBSD-8
[minix.git] / external / bsd / libevent / dist / test / Makefile.nmake
bloba899941ff4317b82df69c92fa5ab8cf42247413c
2 CFLAGS=/I.. /I../WIN32-Code /I../include /I../compat /DWIN32 /DHAVE_CONFIG_H /DTINYTEST_LOCAL
4 CFLAGS=$(CFLAGS) /Ox /W3 /wd4996 /nologo
6 REGRESS_OBJS=regress.obj regress_buffer.obj regress_http.obj regress_dns.obj \
7         regress_testutils.obj \
8         regress_rpc.obj regress.gen.obj \
9         regress_et.obj regress_bufferevent.obj \
10         regress_listener.obj regress_util.obj tinytest.obj \
11         regress_main.obj regress_minheap.obj regress_iocp.obj \
12         regress_thread.obj
14 OTHER_OBJS=test-init.obj test-eof.obj test-weof.obj test-time.obj \
15         bench.obj bench_cascade.obj bench_http.obj bench_httpclient.obj \
16         test-changelist.obj
18 PROGRAMS=regress.exe \
19         test-init.exe test-eof.exe test-weof.exe test-time.exe \
20         test-changelist.exe
22 # Disabled for now:
23 #       bench.exe bench_cascade.exe bench_http.exe bench_httpclient.exe
26 LIBS=..\libevent.lib ws2_32.lib shell32.lib advapi32.lib
28 all: $(PROGRAMS)
30 regress.exe: $(REGRESS_OBJS)
31         $(CC) $(CFLAGS) $(LIBS) $(REGRESS_OBJS)
33 test-init.exe: test-init.obj
34         $(CC) $(CFLAGS) $(LIBS) test-init.obj
35 test-eof.exe: test-eof.obj
36         $(CC) $(CFLAGS) $(LIBS) test-eof.obj
37 test-changelist.exe: test-changelist.obj
38         $(CC) $(CFLAGS) $(LIBS) test-changelist.obj
39 test-weof.exe: test-weof.obj
40         $(CC) $(CFLAGS) $(LIBS) test-weof.obj
41 test-time.exe: test-time.obj
42         $(CC) $(CFLAGS) $(LIBS) test-time.obj
44 bench.exe: bench.obj
45         $(CC) $(CFLAGS) $(LIBS) bench.obj
46 bench_cascade.exe: bench_cascade.obj
47         $(CC) $(CFLAGS) $(LIBS) bench_cascade.obj
48 bench_http.exe: bench_http.obj
49         $(CC) $(CFLAGS) $(LIBS) bench_http.obj
50 bench_httpclient.exe: bench_httpclient.obj
51         $(CC) $(CFLAGS) $(LIBS) bench_httpclient.obj
53 regress.gen.c regress.gen.h: regress.rpc ../event_rpcgen.py
54         echo // > regress.gen.c
55         echo #define NO_PYTHON_EXISTS > regress.gen.h
56         -python ..\event_rpcgen.py regress.rpc
58 clean:
59         -del $(REGRESS_OBJS)
60         -del $(OTHER_OBJS)
61         -del regress.exe