From 3b9acd41e0ed7efccb423ea50a4a14822fb5cd0d Mon Sep 17 00:00:00 2001 From: William Ahern Date: Tue, 9 Oct 2012 18:20:38 -0700 Subject: -n install new modules --- Makefile | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 481174e..d860856 100644 --- a/Makefile +++ b/Makefile @@ -36,12 +36,48 @@ openssl.o: openssl.c $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $< -install: $(lua52cpath)/_openssl.so +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 $(lua52cpath)/_openssl.so: openssl.so mkdir -p $(@D) cp -p $< $@ +$(lua52path)/openssl/bignum.lua: openssl.bignum.lua + mkdir -p $(@D) + cp -p $< $@ + +$(lua52path)/openssl/pubkey.lua: openssl.pubkey.lua + mkdir -p $(@D) + cp -p $< $@ + +$(lua52path)/openssl/x509.lua: openssl.x509.lua + mkdir -p $(@D) + cp -p $< $@ + +$(lua52path)/openssl/x509/name.lua: openssl.x509.name.lua + mkdir -p $(@D) + cp -p $< $@ + +$(lua52path)/openssl/x509/altname.lua: openssl.x509.altname.lua + mkdir -p $(@D) + cp -p $< $@ + +$(lua52path)/openssl/x509/chain.lua: openssl.x509.chain.lua + mkdir -p $(@D) + cp -p $< $@ + +$(lua52path)/openssl/x509/store.lua: openssl.x509.store.lua + mkdir -p $(@D) + cp -p $< $@ + +$(lua52path)/openssl/ssl/context.lua: openssl.ssl.context.lua + mkdir -p $(@D) + cp -p $< $@ + .PHONY: clean clean~ -- cgit v1.2.3-59-g8ed1b