2000-12-29 23:15:09 +01:00
|
|
|
#--------------------------------------------------------------------------
|
2001-01-25 22:49:48 +01:00
|
|
|
# Distribution makefile
|
2000-12-29 23:15:09 +01:00
|
|
|
#--------------------------------------------------------------------------
|
2013-06-12 15:45:15 +02:00
|
|
|
DIST = luasocket-3.0-rc1
|
2005-11-20 09:56:19 +01:00
|
|
|
|
|
|
|
TEST = \
|
2005-11-22 09:33:29 +01:00
|
|
|
test/README \
|
2009-05-27 11:31:38 +02:00
|
|
|
test/hello.lua \
|
2005-11-20 09:56:19 +01:00
|
|
|
test/testclnt.lua \
|
|
|
|
test/testsrvr.lua \
|
|
|
|
test/testsupport.lua
|
|
|
|
|
|
|
|
SAMPLES = \
|
|
|
|
samples/README \
|
|
|
|
samples/cddb.lua \
|
|
|
|
samples/daytimeclnt.lua \
|
|
|
|
samples/echoclnt.lua \
|
|
|
|
samples/echosrvr.lua \
|
2009-05-27 11:31:38 +02:00
|
|
|
samples/mclisten.lua \
|
|
|
|
samples/mcsend.lua \
|
2005-11-20 09:56:19 +01:00
|
|
|
samples/listener.lua \
|
|
|
|
samples/lpr.lua \
|
|
|
|
samples/talker.lua \
|
|
|
|
samples/tinyirc.lua
|
2003-06-09 20:23:40 +02:00
|
|
|
|
|
|
|
ETC = \
|
2005-11-20 09:56:19 +01:00
|
|
|
etc/README \
|
|
|
|
etc/b64.lua \
|
|
|
|
etc/check-links.lua \
|
|
|
|
etc/check-memory.lua \
|
|
|
|
etc/dict.lua \
|
|
|
|
etc/dispatch.lua \
|
|
|
|
etc/eol.lua \
|
|
|
|
etc/forward.lua \
|
|
|
|
etc/get.lua \
|
|
|
|
etc/lp.lua \
|
|
|
|
etc/qp.lua \
|
|
|
|
etc/tftp.lua
|
|
|
|
|
|
|
|
SRC = \
|
2005-11-22 09:33:29 +01:00
|
|
|
src/makefile \
|
2005-11-20 09:56:19 +01:00
|
|
|
src/auxiliar.c \
|
|
|
|
src/auxiliar.h \
|
|
|
|
src/buffer.c \
|
|
|
|
src/buffer.h \
|
|
|
|
src/except.c \
|
|
|
|
src/except.h \
|
|
|
|
src/inet.c \
|
|
|
|
src/inet.h \
|
|
|
|
src/io.c \
|
|
|
|
src/io.h \
|
|
|
|
src/luasocket.c \
|
|
|
|
src/luasocket.h \
|
|
|
|
src/mime.c \
|
|
|
|
src/mime.h \
|
|
|
|
src/options.c \
|
|
|
|
src/options.h \
|
|
|
|
src/select.c \
|
|
|
|
src/select.h \
|
|
|
|
src/socket.h \
|
|
|
|
src/tcp.c \
|
|
|
|
src/tcp.h \
|
|
|
|
src/timeout.c \
|
|
|
|
src/timeout.h \
|
|
|
|
src/udp.c \
|
|
|
|
src/udp.h \
|
|
|
|
src/unix.c \
|
2013-06-14 13:21:27 +02:00
|
|
|
src/serial.c \
|
2005-11-20 09:56:19 +01:00
|
|
|
src/unix.h \
|
|
|
|
src/usocket.c \
|
|
|
|
src/usocket.h \
|
|
|
|
src/wsocket.c \
|
|
|
|
src/wsocket.h \
|
|
|
|
src/ftp.lua \
|
|
|
|
src/http.lua \
|
|
|
|
src/ltn12.lua \
|
|
|
|
src/mime.lua \
|
|
|
|
src/smtp.lua \
|
|
|
|
src/socket.lua \
|
2009-05-27 11:31:38 +02:00
|
|
|
src/headers.lua \
|
2005-11-20 09:56:19 +01:00
|
|
|
src/tp.lua \
|
|
|
|
src/url.lua
|
2000-12-29 23:15:09 +01:00
|
|
|
|
2004-06-17 23:46:22 +02:00
|
|
|
MAKE = \
|
2005-08-23 07:53:14 +02:00
|
|
|
makefile \
|
2004-06-17 23:46:22 +02:00
|
|
|
luasocket.sln \
|
2013-06-14 13:15:37 +02:00
|
|
|
luasocket-scm-0.rockspec \
|
2013-06-12 15:45:15 +02:00
|
|
|
Lua51.props \
|
|
|
|
Lua52.props \
|
2013-06-14 13:21:27 +02:00
|
|
|
socket.vcxproj.filters \
|
|
|
|
mime.vcxproj.filters \
|
|
|
|
socket.vcxproj \
|
|
|
|
mime.vcxproj
|
2004-06-17 23:46:22 +02:00
|
|
|
|
2022-03-22 22:09:53 +01:00
|
|
|
DOCS = \
|
|
|
|
docs/dns.html \
|
|
|
|
docs/ftp.html \
|
|
|
|
docs/index.html \
|
|
|
|
docs/http.html \
|
|
|
|
docs/installation.html \
|
|
|
|
docs/introduction.html \
|
|
|
|
docs/ltn12.html \
|
|
|
|
docs/luasocket.png \
|
|
|
|
docs/mime.html \
|
|
|
|
docs/reference.css \
|
|
|
|
docs/reference.html \
|
|
|
|
docs/smtp.html \
|
|
|
|
docs/socket.html \
|
|
|
|
docs/tcp.html \
|
|
|
|
docs/udp.html \
|
|
|
|
docs/url.html
|
2004-06-17 23:46:22 +02:00
|
|
|
|
2000-12-29 23:15:09 +01:00
|
|
|
dist:
|
2005-11-20 09:56:19 +01:00
|
|
|
mkdir -p $(DIST)
|
2022-03-24 19:52:12 +01:00
|
|
|
cp -vf CHANGELOG.md $(DIST)
|
2004-06-17 23:46:22 +02:00
|
|
|
cp -vf LICENSE $(DIST)
|
2005-11-22 09:33:29 +01:00
|
|
|
cp -vf README $(DIST)
|
2004-06-18 23:41:44 +02:00
|
|
|
cp -vf $(MAKE) $(DIST)
|
2005-11-20 09:56:19 +01:00
|
|
|
|
|
|
|
mkdir -p $(DIST)/etc
|
2003-06-09 20:23:40 +02:00
|
|
|
cp -vf $(ETC) $(DIST)/etc
|
2005-11-20 09:56:19 +01:00
|
|
|
|
|
|
|
mkdir -p $(DIST)/src
|
|
|
|
cp -vf $(SRC) $(DIST)/src
|
|
|
|
|
2022-03-22 22:09:53 +01:00
|
|
|
mkdir -p $(DIST)/docs
|
|
|
|
cp -vf $(DOCS) $(DIST)/docs
|
2005-11-20 09:56:19 +01:00
|
|
|
|
|
|
|
mkdir -p $(DIST)/samples
|
|
|
|
cp -vf $(SAMPLES) $(DIST)/samples
|
|
|
|
|
|
|
|
mkdir -p $(DIST)/test
|
|
|
|
cp -vf $(TEST) $(DIST)/test
|
|
|
|
|
2000-12-29 23:15:09 +01:00
|
|
|
tar -zcvf $(DIST).tar.gz $(DIST)
|
|
|
|
zip -r $(DIST).zip $(DIST)
|
2003-03-29 00:29:45 +01:00
|
|
|
|
|
|
|
clean:
|
|
|
|
\rm -rf $(DIST) $(DIST).tar.gz $(DIST).zip
|