diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-11-12 12:56:39 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-11-12 13:40:25 +0000 |
commit | 02ecd048d3caf7804361bb0f5dca071f97aefaa1 (patch) | |
tree | 2b17e6b2037297bc1bc93b4371be15a3b9d3aef6 /src/Makefile.am | |
parent | f9ab256f0e4c1197b505b0249e66e7614644bd0b (diff) | |
download | libguestfs-02ecd048d3caf7804361bb0f5dca071f97aefaa1.tar.gz libguestfs-02ecd048d3caf7804361bb0f5dca071f97aefaa1.tar.xz libguestfs-02ecd048d3caf7804361bb0f5dca071f97aefaa1.zip |
lib: Split up huge src/guestfs.c into logical compilation units.
This file had grown by accretion to include:
- code related to handles (now in src/handle.c)
- safe allocation (src/alloc.c)
- debug, errors, warnings (src/errors.c)
- private data (src/private-data.c)
- miscellaneous functions (src/canonical-name.c, src/utils.c)
This commit also removes about a dozen #include files which were
probably not really used.
This is just code motion.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 7b7f6065..d979e251 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -126,7 +126,6 @@ libguestfs_la_LDFLAGS = -version-info $(MAX_PROC_NR):0:$(MAX_PROC_NR) libguestfs_la_LDFLAGS += $(VERSION_SCRIPT_FLAGS)$(srcdir)/libguestfs.syms libguestfs_la_SOURCES = \ - guestfs.c \ guestfs.h \ guestfs-internal.h \ guestfs_protocol.h \ @@ -139,15 +138,19 @@ libguestfs_la_SOURCES = \ actions-6.c \ actions-support.c \ actions-variants.c \ + alloc.c \ appliance.c \ bindtests.c \ command.c \ + canonical-name.c \ dbdump.c \ + errors.c \ events.c \ file.c \ filearch.c \ free-structs.c \ fuse.c \ + handle.c \ info.c \ inspect.c \ inspect-apps.c \ @@ -164,8 +167,10 @@ libguestfs_la_SOURCES = \ libvirt-domain.c \ listfs.c \ match.c \ + private-data.c \ proto.c \ tmpdirs.c \ + utils.c \ libguestfs.syms libguestfs_la_LIBADD = \ |