From 1e8ca781b983cb31d62e21a3a61f25be1fcc694f Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Mon, 20 May 2019 18:16:40 +0200 Subject: virtual: Rename virtual-fixed.c to virtual-fixed-generated.h Previously the generated .c file was included in another source file, which is not supported in some build systems (e.g., meson). --- p11-kit/Makefile.am | 6 +++--- p11-kit/virtual.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'p11-kit') diff --git a/p11-kit/Makefile.am b/p11-kit/Makefile.am index 09a068e..7f4ce44 100644 --- a/p11-kit/Makefile.am +++ b/p11-kit/Makefile.am @@ -29,14 +29,14 @@ COMMON_SRCS = \ $(inc_HEADERS) BUILT_SOURCES += \ - p11-kit/virtual-fixed.c \ + p11-kit/virtual-fixed-generated.h \ $(NULL) CLEANFILES += \ - p11-kit/virtual-fixed.c \ + p11-kit/virtual-fixed-generated.h \ $(NULL) -p11-kit/virtual-fixed.c: Makefile +p11-kit/virtual-fixed-generated.h: Makefile $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ echo; \ diff --git a/p11-kit/virtual.c b/p11-kit/virtual.c index 338239f..a7bca48 100644 --- a/p11-kit/virtual.c +++ b/p11-kit/virtual.c @@ -3056,7 +3056,7 @@ CK_X_FUNCTION_LIST p11_virtual_base = { base_C_WaitForSlotEvent }; -#include "p11-kit/virtual-fixed.c" +#include "p11-kit/virtual-fixed-generated.h" static CK_FUNCTION_LIST * p11_virtual_wrap_fixed (p11_virtual *virt, -- cgit v1.1