mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-11-08 22:38:21 +01:00
134 lines
2.4 KiB
Plaintext
134 lines
2.4 KiB
Plaintext
#--------------------------------------------------------------------------
|
|
# Distribution makefile
|
|
#--------------------------------------------------------------------------
|
|
DIST = luasocket-3.0.0
|
|
|
|
TEST = \
|
|
test/README \
|
|
test/hello.lua \
|
|
test/testclnt.lua \
|
|
test/testsrvr.lua \
|
|
test/testsupport.lua
|
|
|
|
SAMPLES = \
|
|
samples/README \
|
|
samples/cddb.lua \
|
|
samples/daytimeclnt.lua \
|
|
samples/echoclnt.lua \
|
|
samples/echosrvr.lua \
|
|
samples/mclisten.lua \
|
|
samples/mcsend.lua \
|
|
samples/listener.lua \
|
|
samples/lpr.lua \
|
|
samples/talker.lua \
|
|
samples/tinyirc.lua
|
|
samples/b64.lua \
|
|
samples/check-links.lua \
|
|
samples/check-memory.lua \
|
|
samples/dict.lua \
|
|
samples/dispatch.lua \
|
|
samples/eol.lua \
|
|
samples/forward.lua \
|
|
samples/get.lua \
|
|
samples/lp.lua \
|
|
samples/qp.lua \
|
|
samples/tftp.lua
|
|
|
|
SRC = \
|
|
src/makefile \
|
|
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 \
|
|
src/serial.c \
|
|
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 \
|
|
src/headers.lua \
|
|
src/tp.lua \
|
|
src/url.lua
|
|
|
|
MAKE = \
|
|
makefile \
|
|
luasocket.sln \
|
|
luasocket-scm-0.rockspec \
|
|
Lua51.props \
|
|
Lua52.props \
|
|
socket.vcxproj.filters \
|
|
mime.vcxproj.filters \
|
|
socket.vcxproj \
|
|
mime.vcxproj
|
|
|
|
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
|
|
|
|
dist:
|
|
mkdir -p $(DIST)
|
|
cp -vf CHANGELOG.md $(DIST)
|
|
cp -vf LICENSE $(DIST)
|
|
cp -vf README.md $(DIST)
|
|
cp -vf $(MAKE) $(DIST)
|
|
|
|
mkdir -p $(DIST)/src
|
|
cp -vf $(SRC) $(DIST)/src
|
|
|
|
mkdir -p $(DIST)/docs
|
|
cp -vf $(DOCS) $(DIST)/docs
|
|
|
|
mkdir -p $(DIST)/samples
|
|
cp -vf $(SAMPLES) $(DIST)/samples
|
|
|
|
mkdir -p $(DIST)/test
|
|
cp -vf $(TEST) $(DIST)/test
|
|
|
|
tar -zcvf $(DIST).tar.gz $(DIST)
|
|
zip -r $(DIST).zip $(DIST)
|
|
|
|
clean:
|
|
\rm -rf $(DIST) $(DIST).tar.gz $(DIST).zip
|