From 9a1a0c67ac6cb4e13d361c116e5e70dfc22d9c17 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Fri, 2 Nov 2012 12:08:38 +0000 Subject: generator: Split up huge src/actions.c into separate files. Split the functions according to a simple hash across C.nr_actions_files files (this number can be increased later if necessary). This is just code motion. --- src/Makefile.am | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index 3eeb4dc4..d3755beb 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -23,7 +23,13 @@ generator_built = \ guestfs_protocol.x \ guestfs.h \ guestfs-internal-actions.h \ - actions.c \ + actions-0.c \ + actions-1.c \ + actions-2.c \ + actions-3.c \ + actions-4.c \ + actions-5.c \ + actions-6.c \ actions-variants.c \ bindtests.c \ errnostring-gperf.gperf \ @@ -124,7 +130,13 @@ libguestfs_la_SOURCES = \ guestfs.h \ guestfs-internal.h \ guestfs_protocol.h \ - actions.c \ + actions-0.c \ + actions-1.c \ + actions-2.c \ + actions-3.c \ + actions-4.c \ + actions-5.c \ + actions-6.c \ actions-support.c \ actions-variants.c \ appliance.c \ -- cgit