diff options
author | Daiki Ueno <dueno@redhat.com> | 2019-05-20 18:16:40 +0200 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2019-06-18 14:17:28 +0200 |
commit | 1e8ca781b983cb31d62e21a3a61f25be1fcc694f (patch) | |
tree | a85d0ed83e62fa63a11760fbf83c2b6076cd7455 /p11-kit | |
parent | 045d7546fc317deefc2d84d524a211ce6ab4869b (diff) |
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).
Diffstat (limited to 'p11-kit')
-rw-r--r-- | p11-kit/Makefile.am | 6 | ||||
-rw-r--r-- | p11-kit/virtual.c | 2 |
2 files changed, 4 insertions, 4 deletions
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, |