diff options
Diffstat (limited to '')
| -rwxr-xr-x[-rw-r--r--] | makefile | 8 | ||||
| -rw-r--r-- | makefile.dist | 72 |
2 files changed, 40 insertions, 40 deletions
| @@ -10,7 +10,7 @@ | |||
| 10 | # print print the build settings | 10 | # print print the build settings |
| 11 | 11 | ||
| 12 | PLAT?= linux | 12 | PLAT?= linux |
| 13 | PLATS= macosx linux win32 mingw freebsd | 13 | PLATS= macosx linux win32 win64 mingw freebsd solaris |
| 14 | 14 | ||
| 15 | all: $(PLAT) | 15 | all: $(PLAT) |
| 16 | 16 | ||
| @@ -33,6 +33,9 @@ install-both: | |||
| 33 | $(MAKE) clean | 33 | $(MAKE) clean |
| 34 | @cd src; $(MAKE) $(PLAT) LUAV=5.3 | 34 | @cd src; $(MAKE) $(PLAT) LUAV=5.3 |
| 35 | @cd src; $(MAKE) install LUAV=5.3 | 35 | @cd src; $(MAKE) install LUAV=5.3 |
| 36 | $(MAKE) clean | ||
| 37 | @cd src; $(MAKE) $(PLAT) LUAV=5.4 | ||
| 38 | @cd src; $(MAKE) install LUAV=5.4 | ||
| 36 | 39 | ||
| 37 | install-both-unix: | 40 | install-both-unix: |
| 38 | $(MAKE) clean | 41 | $(MAKE) clean |
| @@ -44,6 +47,9 @@ install-both-unix: | |||
| 44 | $(MAKE) clean | 47 | $(MAKE) clean |
| 45 | @cd src; $(MAKE) $(PLAT) LUAV=5.3 | 48 | @cd src; $(MAKE) $(PLAT) LUAV=5.3 |
| 46 | @cd src; $(MAKE) install-unix LUAV=5.3 | 49 | @cd src; $(MAKE) install-unix LUAV=5.3 |
| 50 | $(MAKE) clean | ||
| 51 | @cd src; $(MAKE) $(PLAT) LUAV=5.4 | ||
| 52 | @cd src; $(MAKE) install-unix LUAV=5.4 | ||
| 47 | 53 | ||
| 48 | .PHONY: test | 54 | .PHONY: test |
| 49 | 55 | ||
diff --git a/makefile.dist b/makefile.dist index 45a8866..5ef44d3 100644 --- a/makefile.dist +++ b/makefile.dist | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | #-------------------------------------------------------------------------- | 1 | #-------------------------------------------------------------------------- |
| 2 | # Distribution makefile | 2 | # Distribution makefile |
| 3 | #-------------------------------------------------------------------------- | 3 | #-------------------------------------------------------------------------- |
| 4 | DIST = luasocket-3.0-rc1 | 4 | DIST = luasocket-3.0.0 |
| 5 | 5 | ||
| 6 | TEST = \ | 6 | TEST = \ |
| 7 | test/README \ | 7 | test/README \ |
| @@ -22,20 +22,17 @@ SAMPLES = \ | |||
| 22 | samples/lpr.lua \ | 22 | samples/lpr.lua \ |
| 23 | samples/talker.lua \ | 23 | samples/talker.lua \ |
| 24 | samples/tinyirc.lua | 24 | samples/tinyirc.lua |
| 25 | 25 | samples/b64.lua \ | |
| 26 | ETC = \ | 26 | samples/check-links.lua \ |
| 27 | etc/README \ | 27 | samples/check-memory.lua \ |
| 28 | etc/b64.lua \ | 28 | samples/dict.lua \ |
| 29 | etc/check-links.lua \ | 29 | samples/dispatch.lua \ |
| 30 | etc/check-memory.lua \ | 30 | samples/eol.lua \ |
| 31 | etc/dict.lua \ | 31 | samples/forward.lua \ |
| 32 | etc/dispatch.lua \ | 32 | samples/get.lua \ |
| 33 | etc/eol.lua \ | 33 | samples/lp.lua \ |
| 34 | etc/forward.lua \ | 34 | samples/qp.lua \ |
| 35 | etc/get.lua \ | 35 | samples/tftp.lua |
| 36 | etc/lp.lua \ | ||
| 37 | etc/qp.lua \ | ||
| 38 | etc/tftp.lua | ||
| 39 | 36 | ||
| 40 | SRC = \ | 37 | SRC = \ |
| 41 | src/makefile \ | 38 | src/makefile \ |
| @@ -92,39 +89,36 @@ MAKE = \ | |||
| 92 | socket.vcxproj \ | 89 | socket.vcxproj \ |
| 93 | mime.vcxproj | 90 | mime.vcxproj |
| 94 | 91 | ||
| 95 | DOC = \ | 92 | DOCS = \ |
| 96 | doc/dns.html \ | 93 | docs/dns.html \ |
| 97 | doc/ftp.html \ | 94 | docs/ftp.html \ |
| 98 | doc/index.html \ | 95 | docs/index.html \ |
| 99 | doc/http.html \ | 96 | docs/http.html \ |
| 100 | doc/installation.html \ | 97 | docs/installation.html \ |
| 101 | doc/introduction.html \ | 98 | docs/introduction.html \ |
| 102 | doc/ltn12.html \ | 99 | docs/ltn12.html \ |
| 103 | doc/luasocket.png \ | 100 | docs/luasocket.png \ |
| 104 | doc/mime.html \ | 101 | docs/mime.html \ |
| 105 | doc/reference.css \ | 102 | docs/reference.css \ |
| 106 | doc/reference.html \ | 103 | docs/reference.html \ |
| 107 | doc/smtp.html \ | 104 | docs/smtp.html \ |
| 108 | doc/socket.html \ | 105 | docs/socket.html \ |
| 109 | doc/tcp.html \ | 106 | docs/tcp.html \ |
| 110 | doc/udp.html \ | 107 | docs/udp.html \ |
| 111 | doc/url.html | 108 | docs/url.html |
| 112 | 109 | ||
| 113 | dist: | 110 | dist: |
| 114 | mkdir -p $(DIST) | 111 | mkdir -p $(DIST) |
| 115 | cp -vf NEW $(DIST) | 112 | cp -vf CHANGELOG.md $(DIST) |
| 116 | cp -vf LICENSE $(DIST) | 113 | cp -vf LICENSE $(DIST) |
| 117 | cp -vf README $(DIST) | 114 | cp -vf README.md $(DIST) |
| 118 | cp -vf $(MAKE) $(DIST) | 115 | cp -vf $(MAKE) $(DIST) |
| 119 | 116 | ||
| 120 | mkdir -p $(DIST)/etc | ||
| 121 | cp -vf $(ETC) $(DIST)/etc | ||
| 122 | |||
| 123 | mkdir -p $(DIST)/src | 117 | mkdir -p $(DIST)/src |
| 124 | cp -vf $(SRC) $(DIST)/src | 118 | cp -vf $(SRC) $(DIST)/src |
| 125 | 119 | ||
| 126 | mkdir -p $(DIST)/doc | 120 | mkdir -p $(DIST)/docs |
| 127 | cp -vf $(DOC) $(DIST)/doc | 121 | cp -vf $(DOCS) $(DIST)/docs |
| 128 | 122 | ||
| 129 | mkdir -p $(DIST)/samples | 123 | mkdir -p $(DIST)/samples |
| 130 | cp -vf $(SAMPLES) $(DIST)/samples | 124 | cp -vf $(SAMPLES) $(DIST)/samples |
