aboutsummaryrefslogtreecommitdiffstats
path: root/GNUmakefile
diff options
context:
space:
mode:
authorLibravatarLibravatar daurnimator <quae@daurnimator.com> 2020-07-09 23:00:31 +1000
committerLibravatarLibravatar daurnimator <quae@daurnimator.com> 2020-07-09 23:00:31 +1000
commit03b115b01613c76cc1ee88d9eba806ef5c54281a (patch)
treeb68489fd969b5762e9ebf34b5b9c6076879a8daa /GNUmakefile
parent2ae0a68ef20f638587a9423770e488198d703fd0 (diff)
parent1baeacb17e1dccc843a0f25579a22c68d5a8a1e1 (diff)
downloadluaossl-03b115b01613c76cc1ee88d9eba806ef5c54281a.tar.gz
luaossl-03b115b01613c76cc1ee88d9eba806ef5c54281a.tar.bz2
luaossl-03b115b01613c76cc1ee88d9eba806ef5c54281a.zip
Merge branch '5.4'
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 1893378..0105102 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -12,7 +12,7 @@ all: # default target
#
# G N U M A K E F U N C T I O N S
#
-KNOWN_APIS = 5.1 5.2 5.3
+KNOWN_APIS = 5.1 5.2 5.3 5.4
# template for invoking luapath script
LUAPATH := $(d)/mk/luapath
@@ -40,6 +40,9 @@ lua52cpath ?= $(libdir)/lua/5.2
lua52path ?= $(datadir)/lua/5.2
lua53cpath ?= $(libdir)/lua/5.3
lua53path ?= $(datadir)/lua/5.3
+lua54cpath ?= $(libdir)/lua/5.4
+lua54path ?= $(datadir)/lua/5.4
+
AR ?= ar
RANLIB ?= ranlib
@@ -64,7 +67,7 @@ PRINT_$(d) = printf "%s = %s\n" '$(1)' '$(subst ',\\',$(2))' | $(TEE_A) '$(3)'
LAZY_$(d) = \
prefix includedir libdir datadir bindir \
- lua51cpath lua51path lua52cpath lua52path lua53cpath lua53path \
+ lua51cpath lua51path lua52cpath lua52path lua53cpath lua53path lua54cpath lua54path \
CC ALL_CPPFLAGS CPPFLAGS ALL_CFLAGS CFLAGS ALL_LDFLAGS LDFLAGS \
ALL_SOFLAGS SOFLAGS ALL_LIB LIBS \
$(foreach API,$(KNOWN_APIS),ALL_LUA$(subst .,,$(API))_CPPFLAGS) \
@@ -96,7 +99,7 @@ endif
# set LUA_APIS if empty or "?"
ifeq ($(or $(strip $(LUA_APIS)),?),?)
-override LUA_APIS := $(call HAVE_API_FN,5.1) $(call HAVE_API_FN,5.2) $(call HAVE_API_FN,5.3)
+override LUA_APIS := $(call HAVE_API_FN,5.1) $(call HAVE_API_FN,5.2) $(call HAVE_API_FN,5.3) $(call HAVE_API_FN,5.4)
endif
define LUAXY_template
@@ -131,6 +134,7 @@ endef # LUAXY_template
$(eval $(call LUAXY_template,5.1))
$(eval $(call LUAXY_template,5.2))
$(eval $(call LUAXY_template,5.3))
+$(eval $(call LUAXY_template,5.4))
#
# A U T O D E T E C T C O M P I L A T I O N F L A G S