diff options
author | William Ahern <william@server.local> | 2013-02-27 11:43:34 -0800 |
---|---|---|
committer | William Ahern <william@server.local> | 2013-02-27 11:43:34 -0800 |
commit | f9c6bc791e165cf0695e707633e022aa76b8310a (patch) | |
tree | 8da4e29f46ecd740c0e8abf2bbf1abd0591fd93f | |
parent | 5992af860900214bbb7427fc3ce2ae90d539cc5a (diff) | |
download | luaossl-f9c6bc791e165cf0695e707633e022aa76b8310a.tar.gz luaossl-f9c6bc791e165cf0695e707633e022aa76b8310a.tar.bz2 luaossl-f9c6bc791e165cf0695e707633e022aa76b8310a.zip |
-n
more Makefile work
-rw-r--r-- | Makefile | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -8,10 +8,23 @@ luacpath = $(libdir)/lua/5.2 LUAC = $(prefix)/bin/luac +# backwards compatibile install paths +ifneq ($(origin lua52include), undefined) +luainclude = $(lua52include) +endif + +ifneq ($(origin lua52path), undefined) +luapath = $(lua52path) +endif + +ifneq ($(origin lua52cpath), undefined) +luacpath = $(lua52cpath) +endif + + VENDOR.OS = $(shell ../mk/vendor.os) VENDOR.CC = $(shell env CC="${CC}" ../mk/vendor.cc) - CPPFLAGS = -I$(luainclude) ifeq ($(VENDOR.CC), sunpro) |