Mercurial > luasocket
comparison src/makefile @ 0:4b915342e2a8
LuaSocket 2.0.2 + CMake build description.
author | Eric Wing <ewing . public |-at-| gmail . com> |
---|---|
date | Tue, 26 Aug 2008 18:40:01 -0700 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4b915342e2a8 |
---|---|
1 #------ | |
2 # Load configuration | |
3 # | |
4 include ../config | |
5 | |
6 #------ | |
7 # Hopefully no need to change anything below this line | |
8 # | |
9 | |
10 #------ | |
11 # Modules belonging to socket-core | |
12 # | |
13 | |
14 #$(COMPAT)/compat-5.1.o \ | |
15 | |
16 SOCKET_OBJS:= \ | |
17 luasocket.o \ | |
18 timeout.o \ | |
19 buffer.o \ | |
20 io.o \ | |
21 auxiliar.o \ | |
22 options.o \ | |
23 inet.o \ | |
24 tcp.o \ | |
25 udp.o \ | |
26 except.o \ | |
27 select.o \ | |
28 usocket.o | |
29 | |
30 #------ | |
31 # Modules belonging mime-core | |
32 # | |
33 #$(COMPAT)/compat-5.1.o \ | |
34 | |
35 MIME_OBJS:=\ | |
36 mime.o | |
37 | |
38 #------ | |
39 # Modules belonging unix (local domain sockets) | |
40 # | |
41 UNIX_OBJS:=\ | |
42 buffer.o \ | |
43 auxiliar.o \ | |
44 options.o \ | |
45 timeout.o \ | |
46 io.o \ | |
47 usocket.o \ | |
48 unix.o | |
49 | |
50 all: $(SOCKET_SO) $(MIME_SO) | |
51 | |
52 $(SOCKET_SO): $(SOCKET_OBJS) | |
53 $(LD) $(LDFLAGS) -o $@ $(SOCKET_OBJS) | |
54 | |
55 $(MIME_SO): $(MIME_OBJS) | |
56 $(LD) $(LDFLAGS) -o $@ $(MIME_OBJS) | |
57 | |
58 $(UNIX_SO): $(UNIX_OBJS) | |
59 $(LD) $(LDFLAGS) -o $@ $(UNIX_OBJS) | |
60 | |
61 #------ | |
62 # List of dependencies | |
63 # | |
64 auxiliar.o: auxiliar.c auxiliar.h | |
65 buffer.o: buffer.c buffer.h io.h timeout.h | |
66 except.o: except.c except.h | |
67 inet.o: inet.c inet.h socket.h io.h timeout.h usocket.h | |
68 io.o: io.c io.h timeout.h | |
69 luasocket.o: luasocket.c luasocket.h auxiliar.h except.h timeout.h \ | |
70 buffer.h io.h inet.h socket.h usocket.h tcp.h udp.h select.h | |
71 mime.o: mime.c mime.h | |
72 options.o: options.c auxiliar.h options.h socket.h io.h timeout.h \ | |
73 usocket.h inet.h | |
74 select.o: select.c socket.h io.h timeout.h usocket.h select.h | |
75 tcp.o: tcp.c auxiliar.h socket.h io.h timeout.h usocket.h inet.h \ | |
76 options.h tcp.h buffer.h | |
77 timeout.o: timeout.c auxiliar.h timeout.h | |
78 udp.o: udp.c auxiliar.h socket.h io.h timeout.h usocket.h inet.h \ | |
79 options.h udp.h | |
80 unix.o: unix.c auxiliar.h socket.h io.h timeout.h usocket.h options.h \ | |
81 unix.h buffer.h | |
82 usocket.o: usocket.c socket.h io.h timeout.h usocket.h | |
83 | |
84 clean: | |
85 rm -f $(SOCKET_SO) $(SOCKET_OBJS) | |
86 rm -f $(MIME_SO) $(UNIX_SO) $(MIME_OBJS) $(UNIX_OBJS) | |
87 | |
88 #------ | |
89 # End of makefile configuration | |
90 # |