blob: 0bbabf80ab4fcd0233a7739484656963b7975a80 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
SOCKETS = ..
PLATFORM = linux-x86-32
LIBS = -L$(SOCKETS) -lSockets
INCLUDE = -I$(SOCKETS)
include $(SOCKETS)/Makefile.version
include $(SOCKETS)/Makefile.Defines.$(PLATFORM)
CPPFLAGS = $(CFLAGS)
#LIBS += -lsctp
PROGS = events resolve sockets_test base64 semtest \
echoserver stressclient http httpd retry resume \
http_post x copy crlf https sloppy_http
all: $(PROGS)
events: events.o
$(CXX) -o $@ $^ $(LIBS)
resolve: resolve.o
$(CXX) -o $@ $^ $(LIBS)
sockets_test: sockets_test.o
$(CXX) -o $@ $^ $(LIBS)
base64: base64.o
$(CXX) -o $@ $^ $(LIBS)
semtest: semtest.o
$(CXX) -o $@ $^ $(LIBS)
echoserver: echoserver.o
$(CXX) -o $@ $^ $(LIBS)
stressclient: stressclient.o
$(CXX) -o $@ $^ $(LIBS)
http: http.o
$(CXX) -o $@ $^ $(LIBS)
httpd: httpd.o
$(CXX) -o $@ $^ $(LIBS)
retry: retry.o
$(CXX) -o $@ $^ $(LIBS)
resume: resume.o
$(CXX) -o $@ $^ $(LIBS)
http_post: http_post.o
$(CXX) -o $@ $^ $(LIBS)
x: x.o
$(CXX) -o $@ $^ $(LIBS)
copy: copy.o
$(CXX) -o $@ $^ $(LIBS)
crlf: crlf.o
$(CXX) -o $@ $^ $(LIBS)
https: https.o
$(CXX) -o $@ $^ $(LIBS)
sloppy_http: sloppy_http.o
$(CXX) -o $@ $^ $(LIBS)
clean:
rm -f *.o *~ slask *.d $(PROGS)
-include *.d
|