From e91853c12f63c1e47c2640ac6149177ac77f2041 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Wed, 10 May 2017 19:35:59 +0100 Subject: [PATCH] symm/Makefile.am: Add a `base' column to the $(STUBS_SRC) list. The list is currently empty, so this is just a matter of fiddling with the bits of Makefile which process it. But it means that we can add things to `stub.c.in' which refer to the base C file, for example to tell a reader where the real thing is. --- symm/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/symm/Makefile.am b/symm/Makefile.am index 3cd98cf1..ceefff27 100644 --- a/symm/Makefile.am +++ b/symm/Makefile.am @@ -69,7 +69,7 @@ $(srcdir)/modes.am: modes.am.in Makefile.am hashmacmode="$(HASHMACMODES)" $(srcdir)/stubs.am: stubs.am.in Makefile.am $(AM_V_GEN)$(multigen) -g $(srcdir)/stubs.am.in $(srcdir)/stubs.am \ - descr,hname,base="$(STUBS_HDR)" cname="$(STUBS_SRC)" + descr,hname,base="$(STUBS_HDR)" cname,cbase="$(STUBS_SRC)" ## Initialize lists of known classes. ALL_CIPHERS = $(CIPHER_MODES) @@ -526,7 +526,7 @@ stubs.gen-stamp: Makefile.am $(AM_V_GEN)$(multigen) -g $(srcdir)/stub.h.in \ $(srcdir)/@name.h descr,name,base="$(STUBS_HDR)" $(AM_V_GEN)$(multigen) -g $(srcdir)/stub.c.in \ - $(srcdir)/@name.c name="$(STUBS_SRC)" + $(srcdir)/@name.c name,base="$(STUBS_SRC)" $(AM_V_at)touch $(srcdir)/stubs.gen-stamp ## Generated stub headers. -- 2.11.0