diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-05-24 16:56:53 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-05-30 17:49:40 +0200 |
commit | 8aa0366b85ce621ec54637ab4f9d37ad1e636e8f (patch) | |
tree | e92f60bbb761211363005386f16d254d46a19120 /bin/Makemodule.am | |
parent | 59631ccfde23d175e97bda016923bf9cbabbd92a (diff) |
Cleanup: try to split sqfs2tar.c in a reasonable way
This comit breaks sqfs2tar into multiple files:
- options.c contains the command line argument processing
- write_tree.c contains the code for generating the actual tar archive
- sqfs2tar.c contains what is left
- A header is added for glueing it all together.
No actual code is changed.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'bin/Makemodule.am')
-rw-r--r-- | bin/Makemodule.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/Makemodule.am b/bin/Makemodule.am index 778636c..3e32308 100644 --- a/bin/Makemodule.am +++ b/bin/Makemodule.am @@ -1,4 +1,5 @@ -sqfs2tar_SOURCES = bin/sqfs2tar.c +sqfs2tar_SOURCES = bin/sqfs2tar/sqfs2tar.c bin/sqfs2tar/sqfs2tar.h +sqfs2tar_SOURCES += bin/sqfs2tar/options.c bin/sqfs2tar/write_tree.c sqfs2tar_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS) sqfs2tar_LDADD = libcommon.a libutil.a libsquashfs.la libtar.a libcompat.a sqfs2tar_LDADD += libfstree.a $(LZO_LIBS) $(PTHREAD_LIBS) |