aboutsummaryrefslogtreecommitdiffstats
path: root/src/GNUmakefile
diff options
context:
space:
mode:
authorLibravatarLibravatar william <william@25tandclement.com> 2014-09-22 15:03:08 -0700
committerLibravatarLibravatar william <william@25tandclement.com> 2014-09-22 15:03:08 -0700
commitd4914b31664e771ae93b88f6f83fb24c616b20fd (patch)
treeed9e8b545d096cb97a7864d1aa95b5e3a804c338 /src/GNUmakefile
parenta5d3fa1f606facb9d169b0821172e4a0e416386f (diff)
downloadluaossl-d4914b31664e771ae93b88f6f83fb24c616b20fd.tar.gz
luaossl-d4914b31664e771ae93b88f6f83fb24c616b20fd.tar.bz2
luaossl-d4914b31664e771ae93b88f6f83fb24c616b20fd.zip
bind opensslv.h and opensslconf.h macros
Diffstat (limited to 'src/GNUmakefile')
-rw-r--r--src/GNUmakefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/GNUmakefile b/src/GNUmakefile
index 6a0bb3c..1b77d43 100644
--- a/src/GNUmakefile
+++ b/src/GNUmakefile
@@ -87,6 +87,7 @@ LUAC$(1)_$(d) = $$(or $$(call LUAPATH_$(d), $(1), luac), true)
MODS$(1)_$(d) = \
$$(DESTDIR)$(2)/_openssl.so \
+ $$(DESTDIR)$(3)/openssl.lua \
$$(DESTDIR)$(3)/openssl/bignum.lua \
$$(DESTDIR)$(3)/openssl/pkey.lua \
$$(DESTDIR)$(3)/openssl/pubkey.lua \
@@ -111,6 +112,11 @@ $$(DESTDIR)$(2)/_openssl.so: $$(d)/$(1)/openssl.so
$$(MKDIR) -p $$(@D)
$$(CP) -fp $$< $$@
+$$(DESTDIR)$(3)/openssl.lua: $$(d)/openssl.lua
+ $$(LUAC$(1)_$(d)) -p $$<
+ $$(MKDIR) -p $$(@D)
+ $$(CP) -p $$< $$@
+
$$(DESTDIR)$(3)/openssl/%.lua: $$(d)/openssl.%.lua
$$(LUAC$(1)_$(d)) -p $$<
$$(MKDIR) -p $$(@D)