3rdparty: build lua for other platform than Win32

This commit is contained in:
Thomas Bernard 2019-01-22 22:19:25 +01:00
parent bff60b3f61
commit a09165eeb9
No known key found for this signature in database
GPG Key ID: 0FF11B67A5C0863C

14
3rdparty/Makefile vendored
View File

@ -156,6 +156,20 @@ ifdef WIN32
echo "License : http://www.lua.org/license.html" >> ../doc/README-lua.txt
# extract license from readme.html
awk '/BLOCKQUOTE/{flag=1-flag;next}flag' $(LUA)/doc/readme.html | grep -v '<P>' | tail --lines +2 >> ../doc/README-lua.txt
else
ifeq ($(PLATFORM), FreeBSD)
cd $(LUA) && $(MAKE) freebsd install INSTALL_TOP=$(PREFIX)
else
ifeq ($(PLATFORM), Darwin)
cd $(LUA) && $(MAKE) macosx install INSTALL_TOP=$(PREFIX)
else
ifeq ($(PLATFORM), Linux)
cd $(LUA) && $(MAKE) linux install INSTALL_TOP=$(PREFIX)
else
cd $(LUA) && $(MAKE) posix install INSTALL_TOP=$(PREFIX)
endif
endif
endif
endif
$(LUA)/.ok: archives/$(LUAARCH)