diff options
author | daurnimator <quae@daurnimator.com> | 2017-08-26 22:00:08 +1000 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2017-08-30 23:34:48 +1000 |
commit | 71c54169bb96543a50f90767d351702f63fa0220 (patch) | |
tree | 426b26a2a73747e457c1947d143b6dc55d4fe0e0 /src/GNUmakefile | |
parent | b8e3766294b6bf11d70a8a202e633b2569675e77 (diff) | |
download | luaossl-71c54169bb96543a50f90767d351702f63fa0220.tar.gz luaossl-71c54169bb96543a50f90767d351702f63fa0220.tar.bz2 luaossl-71c54169bb96543a50f90767d351702f63fa0220.zip |
Move over to using lua-compat-5.3
Diffstat (limited to 'src/GNUmakefile')
-rw-r--r-- | src/GNUmakefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/GNUmakefile b/src/GNUmakefile index 4bf5f8d..e257ba6 100644 --- a/src/GNUmakefile +++ b/src/GNUmakefile | |||
@@ -16,7 +16,7 @@ include $(d)/../GNUmakefile | |||
16 | # | 16 | # |
17 | # C O M P I L A T I O N F L A G S | 17 | # C O M P I L A T I O N F L A G S |
18 | # | 18 | # |
19 | CPPFLAGS_$(d) = $(ALL_CPPFLAGS) -DHAVE_CONFIG_H | 19 | CPPFLAGS_$(d) = $(ALL_CPPFLAGS) -DHAVE_CONFIG_H -DCOMPAT53_PREFIX=luaossl |
20 | CFLAGS_$(d) = $(ALL_CFLAGS) | 20 | CFLAGS_$(d) = $(ALL_CFLAGS) |
21 | SOFLAGS_$(d) = $(ALL_SOFLAGS) | 21 | SOFLAGS_$(d) = $(ALL_SOFLAGS) |
22 | LDFLAGS_$(d) = $(ALL_LDFLAGS) | 22 | LDFLAGS_$(d) = $(ALL_LDFLAGS) |
@@ -25,7 +25,7 @@ LIBS_$(d) = $(ALL_LIBS) | |||
25 | # | 25 | # |
26 | # C O M P I L A T I O N R U L E S | 26 | # C O M P I L A T I O N R U L E S |
27 | # | 27 | # |
28 | OBJS_$(d) = openssl.o | 28 | OBJS_$(d) = openssl.o ../vendor/compat53/c-api/compat-5.3.o |
29 | 29 | ||
30 | $(d)/config.h: $(abspath $(d)/..)/config.h | 30 | $(d)/config.h: $(abspath $(d)/..)/config.h |
31 | $(CP) $< $@ | 31 | $(CP) $< $@ |
@@ -35,7 +35,7 @@ define BUILD_$(d) | |||
35 | $$(d)/$(1)/openssl.so: $$(addprefix $$(d)/$(1)/, $$(OBJS_$(d))) | 35 | $$(d)/$(1)/openssl.so: $$(addprefix $$(d)/$(1)/, $$(OBJS_$(d))) |
36 | $$(CC) -o $$@ $$^ $$(SOFLAGS_$$(abspath $$(@D)/..)) $$(LDFLAGS_$$(abspath $$(@D)/..)) $$(LIBS_$$(abspath $$(@D)/..)) | 36 | $$(CC) -o $$@ $$^ $$(SOFLAGS_$$(abspath $$(@D)/..)) $$(LDFLAGS_$$(abspath $$(@D)/..)) $$(LIBS_$$(abspath $$(@D)/..)) |
37 | 37 | ||
38 | $$(d)/$(1)/%.o: $$(d)/%.c $$(d)/compat52.h $$(d)/config.h | 38 | $$(d)/$(1)/%.o: $$(d)/%.c $$(d)/../vendor/compat53/c-api/compat-5.3.h $$(d)/config.h |
39 | $$(MKDIR) -p $$(@D) | 39 | $$(MKDIR) -p $$(@D) |
40 | $$(CC) $$(CFLAGS_$$(<D)) $$(ALL_LUA$(subst .,,$(1))_CPPFLAGS) $$(CPPFLAGS_$$(<D)) -c -o $$@ $$< | 40 | $$(CC) $$(CFLAGS_$$(<D)) $$(ALL_LUA$(subst .,,$(1))_CPPFLAGS) $$(CPPFLAGS_$$(<D)) -c -o $$@ $$< |
41 | 41 | ||