beta-0.89.2
[luatex.git] / source / texk / web2c / luatexdir / luasocket / src / Makefile
blobf42d62047c5d039094739b900e2f40e287a68f25
2 SOCKET_SO=socket.a
4 INSTALL_TOP_SHARE=/usr/local/share/lua/5.1
5 INSTALL_TOP_LIB=/usr/local/lib/lua/5.1
7 LUAINC = -I../../lua51
9 DEF = -DLUASOCKET_DEBUG
10 CFLAGS = $(LUAINC) $(DEF) $(XCFLAGS)
11 AR=ar
12 ARFLAGS=rc
14 SOCKET_OBJS:= \
15 luasocket.o \
16 timeout.o \
17 buffer.o \
18 io.o \
19 auxiliar.o \
20 options.o \
21 inet.o \
22 tcp.o \
23 udp.o \
24 except.o \
25 select.o \
26 socket.o \
27 mime.o \
28 lua_preload.o
30 all: $(SOCKET_SO)
32 $(SOCKET_SO): $(SOCKET_OBJS)
33 $(AR) $(ARFLAGS) $@ $(SOCKET_OBJS)
35 #------
36 # List of dependencies
38 auxiliar.o: auxiliar.c auxiliar.h
39 buffer.o: buffer.c buffer.h io.h timeout.h
40 except.o: except.c except.h
41 inet.o: inet.c inet.h socket.h io.h timeout.h usocket.h
42 io.o: io.c io.h timeout.h
43 luasocket.o: luasocket.c luasocket.h auxiliar.h except.h timeout.h \
44 buffer.h io.h inet.h socket.h usocket.h tcp.h udp.h select.h
45 mime.o: mime.c mime.h
46 options.o: options.c auxiliar.h options.h socket.h io.h timeout.h \
47 usocket.h inet.h
48 select.o: select.c socket.h io.h timeout.h usocket.h select.h
49 tcp.o: tcp.c auxiliar.h socket.h io.h timeout.h usocket.h inet.h \
50 options.h tcp.h buffer.h
51 timeout.o: timeout.c auxiliar.h timeout.h
52 udp.o: udp.c auxiliar.h socket.h io.h timeout.h usocket.h inet.h \
53 options.h udp.h
54 unix.o: unix.c auxiliar.h socket.h io.h timeout.h usocket.h options.h \
55 unix.h buffer.h
56 usocket.o: usocket.c socket.h io.h timeout.h usocket.h
58 clean:
59 rm -f $(SOCKET_SO) $(SOCKET_OBJS)
61 #------
62 # End of makefile configuration