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 | |||
8 | 8 | ||
9 | LUAC = $(prefix)/bin/luac | 9 | LUAC = $(prefix)/bin/luac |
10 | 10 | ||
11 | # backwards compatibile install paths | ||
12 | ifneq ($(origin lua52include), undefined) | ||
13 | luainclude = $(lua52include) | ||
14 | endif | ||
15 | |||
16 | ifneq ($(origin lua52path), undefined) | ||
17 | luapath = $(lua52path) | ||
18 | endif | ||
19 | |||
20 | ifneq ($(origin lua52cpath), undefined) | ||
21 | luacpath = $(lua52cpath) | ||
22 | endif | ||
23 | |||
24 | |||
11 | VENDOR.OS = $(shell ../mk/vendor.os) | 25 | VENDOR.OS = $(shell ../mk/vendor.os) |
12 | VENDOR.CC = $(shell env CC="${CC}" ../mk/vendor.cc) | 26 | VENDOR.CC = $(shell env CC="${CC}" ../mk/vendor.cc) |
13 | 27 | ||
14 | |||
15 | CPPFLAGS = -I$(luainclude) | 28 | CPPFLAGS = -I$(luainclude) |
16 | 29 | ||
17 | ifeq ($(VENDOR.CC), sunpro) | 30 | ifeq ($(VENDOR.CC), sunpro) |