From: Mark Wooding Date: Wed, 10 May 2017 18:35:59 +0000 (+0100) Subject: symm/Makefile.am: Add a `base' column to the $(STUBS_SRC) list. X-Git-Tag: 2.4.0~23 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/catacomb/commitdiff_plain/e91853c12f63c1e47c2640ac6149177ac77f2041?ds=inline 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. --- 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.