aboutsummaryrefslogtreecommitdiffstats
path: root/src/GNUmakefile
diff options
context:
space:
mode:
authorLibravatarLibravatar william <william@25tandclement.com> 2014-03-22 22:02:22 -0700
committerLibravatarLibravatar william <william@25tandclement.com> 2014-03-22 22:02:22 -0700
commit0779edda662fb82d619a9d1aa31999bbac03a98b (patch)
tree62118ae9a90089ab07fee21f2e3440e6becb9771 /src/GNUmakefile
parent4f07ddbd2e1ab71a6ae9e4c6a06a181e24dc653f (diff)
downloadluaossl-0779edda662fb82d619a9d1aa31999bbac03a98b.tar.gz
luaossl-0779edda662fb82d619a9d1aa31999bbac03a98b.tar.bz2
luaossl-0779edda662fb82d619a9d1aa31999bbac03a98b.zip
add Lua 5.3 support
Diffstat (limited to 'src/GNUmakefile')
-rw-r--r--src/GNUmakefile25
1 files changed, 20 insertions, 5 deletions
diff --git a/src/GNUmakefile b/src/GNUmakefile
index a0c2f00..f329539 100644
--- a/src/GNUmakefile
+++ b/src/GNUmakefile
@@ -55,6 +55,8 @@ $(eval $(call BUILD_$(d),5.1))
$(eval $(call BUILD_$(d),5.2))
+$(eval $(call BUILD_$(d),5.3))
+
ifneq "$(filter $(abspath $(d)/..)/%, $(abspath $(firstword $(MAKEFILE_LIST))))" ""
.SECONDARY: all5.1 all5.2 all
@@ -62,6 +64,8 @@ all5.1: liblua5.1-openssl
all5.2: liblua5.2-openssl
+all5.3: liblua5.3-openssl
+
all: all5.1 all5.2
endif
@@ -132,21 +136,27 @@ $(eval $(call INSTALL_$(d),5.1,$$(lua51cpath),$$(lua51path)))
$(eval $(call INSTALL_$(d),5.2,$$(lua52cpath),$$(lua52path)))
+$(eval $(call INSTALL_$(d),5.3,$$(lua53cpath),$$(lua53path)))
+
ifneq "$(filter $(abspath $(d)/..)/%, $(abspath $(firstword $(MAKEFILE_LIST))))" ""
-.SECONDARY: install5.1 install5.2 install
+.SECONDARY: install5.1 install5.2 install5.3 install
install5.1: liblua5.1-openssl-install
install5.2: liblua5.2-openssl-install
+install5.3: liblua5.3-openssl-install
+
install: install5.1 install5.2
-.PHONY: uninstall5.1 uninstall5.2 uninstall
+.PHONY: uninstall5.1 uninstall5.2 uninstall5.3 uninstall
uninstall5.1: liblua5.1-openssl-uninstall
uninstall5.2: liblua5.2-openssl-uninstall
+uninstall5.3: liblua5.3-openssl-uninstall
+
uninstall: uninstall5.1 uninstall5.2
endif
@@ -158,7 +168,7 @@ endif
.PHONY: $(d)/clean $(d)/clean~ clean clean~
$(d)/clean:
- $(RM) -fr $(@D)/*.so $(@D)/*.o $(@D)/*.dSYM $(@D)/5.1 $(@D)/5.2
+ $(RM) -fr $(@D)/*.so $(@D)/*.o $(@D)/*.dSYM $(@D)/5.1 $(@D)/5.2 $(@D)/5.3
$(d)/clean~: $(d)/clean
$(RM) -f $(@D)/*~
@@ -181,12 +191,15 @@ $(d)/help:
@echo "openssl - invokes openssl5.1 and openssl5.2"
@echo "openssl5.1 - build 5.1/openssl.so"
@echo "openssl5.2 - build 5.2/openssl.so"
+ @echo "openssl5.3 - build 5.3/openssl.so"
@echo "install - invokes install5.1 and install5.2"
@echo "install5.1 - install openssl Lua 5.1 modules"
@echo "install5.2 - install openssl Lua 5.2 modules"
+ @echo "install5.3 - install openssl Lua 5.3 modules"
@echo "uninstall - invokes uninstall5.1 and uninstall5.2"
@echo "uninstall5.1 - uninstall openssl Lua 5.1 modules"
@echo "uninstall5.2 - uninstall openssl Lua 5.2 modules"
+ @echo "uninstall5.3 - uninstall openssl Lua 5.3 modules"
@echo " clean - rm binary targets, object files, debugging symbols, etc"
@echo " clean~ - clean + rm *~"
@echo " help - echo this help message"
@@ -196,8 +209,10 @@ $(d)/help:
@echo " prefix - path to install root"
@echo ' lua51path - install path for Lua 5.1 modules ($$(lua51path))'
@echo 'lua51cpath - install path for Lua 5.1 C modules ($$(lua51cpath))'
- @echo ' lua52path - install path for Lua 5.1 modules ($$(lua51path))'
- @echo 'lua52cpath - install path for Lua 5.1 C modules ($$(lua51cpath))'
+ @echo ' lua52path - install path for Lua 5.2 modules ($$(lua52path))'
+ @echo 'lua52cpath - install path for Lua 5.2 C modules ($$(lua52cpath))'
+ @echo ' lua53path - install path for Lua 5.3 modules ($$(lua53path))'
+ @echo 'lua53cpath - install path for Lua 5.3 C modules ($$(lua53cpath))'
@echo ""
@echo "(NOTE: all the common GNU-style paths are supported, including"
@echo "prefix, bindir, libdir, datadir, includedir, and DESTDIR.)"