aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLibravatarLibravatar William Ahern <william@sjc0.xeraradio.com> 2013-01-06 22:19:57 -0800
committerLibravatarLibravatar William Ahern <william@sjc0.xeraradio.com> 2013-01-06 22:19:57 -0800
commit1e75ef03e99e55650716e29e5ccd8edae5fa940b (patch)
tree4446b294496a4dfe6b942f1c958f7de155bc1f8c /Makefile
parentfde3361cd955f6a66c8e4289e79114a4e9f38c14 (diff)
downloadluaossl-1e75ef03e99e55650716e29e5ccd8edae5fa940b.tar.gz
luaossl-1e75ef03e99e55650716e29e5ccd8edae5fa940b.tar.bz2
luaossl-1e75ef03e99e55650716e29e5ccd8edae5fa940b.zip
-n
fix debian build (file modifications)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile37
1 files changed, 21 insertions, 16 deletions
diff --git a/Makefile b/Makefile
index fe96269..0087323 100644
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,7 @@ VENDOR.OS = $(shell ../mk/vendor.os)
VENDOR.CC = $(shell env CC="${CC}" ../mk/vendor.cc)
-CPPFLAGS = -I$(DESTDIR)$(lua52include)
+CPPFLAGS = -I$(lua52include)
ifeq ($(VENDOR.CC), sunpro)
DFLAGS = -g
@@ -44,49 +44,54 @@ openssl.o: openssl.c compat52.h
$(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
-install: $(lua52cpath)/_openssl.so $(lua52path)/openssl/bignum.lua \
- $(lua52path)/openssl/pubkey.lua $(lua52path)/openssl/x509.lua \
- $(lua52path)/openssl/x509/name.lua $(lua52path)/openssl/x509/altname.lua \
- $(lua52path)/openssl/x509/chain.lua $(lua52path)/openssl/x509/store.lua \
- $(lua52path)/openssl/ssl/context.lua $(lua52path)/openssl/ssl.lua
+install: $(DESTDIR)$(lua52cpath)/_openssl.so \
+ $(DESTDIR)$(lua52path)/openssl/bignum.lua \
+ $(DESTDIR)$(lua52path)/openssl/pubkey.lua \
+ $(DESTDIR)$(lua52path)/openssl/x509.lua \
+ $(DESTDIR)$(lua52path)/openssl/x509/name.lua \
+ $(DESTDIR)$(lua52path)/openssl/x509/altname.lua \
+ $(DESTDIR)$(lua52path)/openssl/x509/chain.lua \
+ $(DESTDIR)$(lua52path)/openssl/x509/store.lua \
+ $(DESTDIR)$(lua52path)/openssl/ssl/context.lua \
+ $(DESTDIR)$(lua52path)/openssl/ssl.lua
-$(lua52cpath)/_openssl.so: openssl.so
+$(DESTDIR)$(lua52cpath)/_openssl.so: openssl.so
mkdir -p $(@D)
cp -p $< $@
-$(lua52path)/openssl/bignum.lua: openssl.bignum.lua
+$(DESTDIR)$(lua52path)/openssl/bignum.lua: openssl.bignum.lua
mkdir -p $(@D)
cp -p $< $@
-$(lua52path)/openssl/pubkey.lua: openssl.pubkey.lua
+$(DESTDIR)$(lua52path)/openssl/pubkey.lua: openssl.pubkey.lua
mkdir -p $(@D)
cp -p $< $@
-$(lua52path)/openssl/x509.lua: openssl.x509.lua
+$(DESTDIR)$(lua52path)/openssl/x509.lua: openssl.x509.lua
mkdir -p $(@D)
cp -p $< $@
-$(lua52path)/openssl/x509/name.lua: openssl.x509.name.lua
+$(DESTDIR)$(lua52path)/openssl/x509/name.lua: openssl.x509.name.lua
mkdir -p $(@D)
cp -p $< $@
-$(lua52path)/openssl/x509/altname.lua: openssl.x509.altname.lua
+$(DESTDIR)$(lua52path)/openssl/x509/altname.lua: openssl.x509.altname.lua
mkdir -p $(@D)
cp -p $< $@
-$(lua52path)/openssl/x509/chain.lua: openssl.x509.chain.lua
+$(DESTDIR)$(lua52path)/openssl/x509/chain.lua: openssl.x509.chain.lua
mkdir -p $(@D)
cp -p $< $@
-$(lua52path)/openssl/x509/store.lua: openssl.x509.store.lua
+$(DESTDIR)$(lua52path)/openssl/x509/store.lua: openssl.x509.store.lua
mkdir -p $(@D)
cp -p $< $@
-$(lua52path)/openssl/ssl/context.lua: openssl.ssl.context.lua
+$(DESTDIR)$(lua52path)/openssl/ssl/context.lua: openssl.ssl.context.lua
mkdir -p $(@D)
cp -p $< $@
-$(lua52path)/openssl/ssl.lua: openssl.ssl.lua
+$(DESTDIR)$(lua52path)/openssl/ssl.lua: openssl.ssl.lua
mkdir -p $(@D)
cp -p $< $@