4 INSTALL_TOP_SHARE
=/usr
/local
/share
/lua
/5.1
5 INSTALL_TOP_LIB
=/usr
/local
/lib
/lua
/5.1
9 DEF
= -DLUASOCKET_DEBUG
10 CFLAGS
= $(LUAINC
) $(DEF
) $(XCFLAGS
)
32 $(SOCKET_SO
): $(SOCKET_OBJS
)
33 $(AR
) $(ARFLAGS
) $@
$(SOCKET_OBJS
)
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
46 options.o
: options.c auxiliar.h options.h socket.h io.h timeout.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 \
54 unix.o
: unix.c auxiliar.h socket.h io.h timeout.h usocket.h options.h \
56 usocket.o
: usocket.c socket.h io.h timeout.h usocket.h
59 rm -f
$(SOCKET_SO
) $(SOCKET_OBJS
)
62 # End of makefile configuration