Skip to content

Commit

Permalink
update to 4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuichiro Nakada committed Nov 27, 2023
1 parent 967af13 commit 769aec4
Show file tree
Hide file tree
Showing 34 changed files with 26,712 additions and 4,476 deletions.
13 changes: 10 additions & 3 deletions Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
## Process this file with automake to produce Makefile.in
AM_CFLAGS = -Wall -Os
AM_LDFLAGS = -lpthread
AM_CXXFLAGS = -Wall -Os

bin_PROGRAMS = mksquashfs2

Expand All @@ -7,11 +10,17 @@ mksquashfs2_SOURCES = \
mksquashfs.h \
read_fs.h \
squashfs_fs.h \
sort.h \
pseudo.h \
squashfs_compat.h \
squashfs_swap.h \
mycompress2.h \
mksquashfs.c \
mycompress2.cc \
read_fs.c \
sort.c \
swap.c \
pseudo.c \
redef.cc \
file.cc \
data.cc \
Expand Down Expand Up @@ -220,7 +229,7 @@ DISTDOS_DOC = \
doc/advdef.txt doc/advzip.txt doc/advpng.txt doc/advmng.txt \
doc/readme.txt doc/authors.txt doc/history.txt \
doc/advdef.html doc/advzip.html doc/advpng.html doc/advmng.html \
doc/readme.html doc/authors.html doc/history.html
doc/readme.html doc/authors.html doc/history.html

distdos: $(DISTDOS_ROOT) $(DISTDOS_DOC)
i586-pc-msdosdjgpp-strip advdef.exe
Expand Down Expand Up @@ -253,5 +262,3 @@ DISTWEB = \
doc/advdef.hh doc/advzip.hh doc/advpng.hh doc/advmng.hh doc/history.hh

web: $(DISTWEB)


121 changes: 75 additions & 46 deletions Makefile.in
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Makefile.in generated by automake 1.9.5 from Makefile.am.
# Makefile.in generated by automake 1.10 from Makefile.am.
# @configure_input@

# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005 Free Software Foundation, Inc.
# 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
Expand All @@ -15,17 +15,11 @@
@SET_MAKE@


SOURCES = $(mksquashfs2_SOURCES)

srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = .
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = @INSTALL@
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
Expand All @@ -40,29 +34,29 @@ POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
bin_PROGRAMS = mksquashfs2$(EXEEXT)
subdir = .
DIST_COMMON = README $(am__configure_deps) $(noinst_HEADERS) \
$(srcdir)/Makefile.am $(srcdir)/Makefile.in \
$(srcdir)/config.h.in $(top_srcdir)/configure AUTHORS COPYING \
INSTALL config.guess config.sub install-sh missing
subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
configure.lineno configure.status.lineno
configure.lineno config.status.lineno
mkinstalldirs = $(install_sh) -d
CONFIG_HEADER = config.h
CONFIG_CLEAN_FILES =
am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"
binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
PROGRAMS = $(bin_PROGRAMS)
am_mksquashfs2_OBJECTS = mksquashfs.$(OBJEXT) mycompress2.$(OBJEXT) \
read_fs.$(OBJEXT) sort.$(OBJEXT) redef.$(OBJEXT) \
file.$(OBJEXT) data.$(OBJEXT) siglock.$(OBJEXT) \
compress.$(OBJEXT) getopt.$(OBJEXT) snprintf.$(OBJEXT) \
pngex.$(OBJEXT) fz.$(OBJEXT) error.$(OBJEXT) \
snstring.$(OBJEXT) png.$(OBJEXT) mng.$(OBJEXT) \
read_fs.$(OBJEXT) sort.$(OBJEXT) swap.$(OBJEXT) \
pseudo.$(OBJEXT) redef.$(OBJEXT) file.$(OBJEXT) data.$(OBJEXT) \
siglock.$(OBJEXT) compress.$(OBJEXT) getopt.$(OBJEXT) \
snprintf.$(OBJEXT) pngex.$(OBJEXT) fz.$(OBJEXT) \
error.$(OBJEXT) snstring.$(OBJEXT) png.$(OBJEXT) mng.$(OBJEXT) \
7zdeflate.$(OBJEXT) 7zlzma.$(OBJEXT) AriBitCoder.$(OBJEXT) \
CRC.$(OBJEXT) DeflateDecoder.$(OBJEXT) \
DeflateEncoder.$(OBJEXT) HuffmanEncoder.$(OBJEXT) \
Expand All @@ -73,7 +67,7 @@ am_mksquashfs2_OBJECTS = mksquashfs.$(OBJEXT) mycompress2.$(OBJEXT) \
WindowOut.$(OBJEXT)
mksquashfs2_OBJECTS = $(am_mksquashfs2_OBJECTS)
mksquashfs2_LDADD = $(LDADD)
DEFAULT_INCLUDES = -I. -I$(srcdir) -I.
DEFAULT_INCLUDES = -I.@am__isrc@
depcomp =
am__depfiles_maybe =
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
Expand Down Expand Up @@ -124,8 +118,10 @@ ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
EXEEXT = @EXEEXT@
GREP = @GREP@
GROFF = @GROFF@
GZIP = @GZIP@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
Expand All @@ -135,6 +131,7 @@ LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LTLIBOBJS = @LTLIBOBJS@
MAKEINFO = @MAKEINFO@
MKDIR_P = @MKDIR_P@
OBJEXT = @OBJEXT@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
Expand All @@ -148,9 +145,12 @@ SHELL = @SHELL@
STRIP = @STRIP@
TAR = @TAR@
VERSION = @VERSION@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
ac_ct_CC = @ac_ct_CC@
ac_ct_CXX = @ac_ct_CXX@
ac_ct_STRIP = @ac_ct_STRIP@
am__leading_dot = @am__leading_dot@
am__tar = @am__tar@
am__untar = @am__untar@
Expand All @@ -160,38 +160,58 @@ build_alias = @build_alias@
build_cpu = @build_cpu@
build_os = @build_os@
build_vendor = @build_vendor@
builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
exec_prefix = @exec_prefix@
host = @host@
host_alias = @host_alias@
host_cpu = @host_cpu@
host_os = @host_os@
host_vendor = @host_vendor@
htmldir = @htmldir@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
AM_CFLAGS = -Wall -Os
AM_LDFLAGS = -lpthread
AM_CXXFLAGS = -Wall -Os
mksquashfs2_SOURCES = \
global.h \
mksquashfs.h \
read_fs.h \
squashfs_fs.h \
sort.h \
pseudo.h \
squashfs_compat.h \
squashfs_swap.h \
mycompress2.h \
mksquashfs.c \
mycompress2.cc \
read_fs.c \
sort.c \
swap.c \
pseudo.c \
redef.cc \
file.cc \
data.cc \
Expand Down Expand Up @@ -314,7 +334,7 @@ DISTDOS_DOC = \
doc/advdef.txt doc/advzip.txt doc/advpng.txt doc/advmng.txt \
doc/readme.txt doc/authors.txt doc/history.txt \
doc/advdef.html doc/advzip.html doc/advpng.html doc/advmng.html \
doc/readme.html doc/authors.html doc/history.html
doc/readme.html doc/authors.html doc/history.html

DISTWEB = \
doc/advdef.hh doc/advzip.hh doc/advpng.hh doc/advmng.hh doc/history.hh
Expand Down Expand Up @@ -361,7 +381,7 @@ $(ACLOCAL_M4): $(am__aclocal_m4_deps)
config.h: stamp-h1
@if test ! -f $@; then \
rm -f stamp-h1; \
$(MAKE) stamp-h1; \
$(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
else :; fi

stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
Expand All @@ -376,7 +396,7 @@ distclean-hdr:
-rm -f config.h stamp-h1
install-binPROGRAMS: $(bin_PROGRAMS)
@$(NORMAL_INSTALL)
test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
@list='$(bin_PROGRAMS)'; for p in $$list; do \
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
if test -f $$p \
Expand All @@ -399,7 +419,7 @@ clean-binPROGRAMS:
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
mksquashfs2$(EXEEXT): $(mksquashfs2_OBJECTS) $(mksquashfs2_DEPENDENCIES)
@rm -f mksquashfs2$(EXEEXT)
$(CXXLINK) $(mksquashfs2_LDFLAGS) $(mksquashfs2_OBJECTS) $(mksquashfs2_LDADD) $(LIBS)
$(CXXLINK) $(mksquashfs2_OBJECTS) $(mksquashfs2_LDADD) $(LIBS)

mostlyclean-compile:
-rm -f *.$(OBJEXT)
Expand Down Expand Up @@ -562,10 +582,9 @@ WindowOut.o: 7z/WindowOut.cc

WindowOut.obj: 7z/WindowOut.cc
$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o WindowOut.obj `if test -f '7z/WindowOut.cc'; then $(CYGPATH_W) '7z/WindowOut.cc'; else $(CYGPATH_W) '$(srcdir)/7z/WindowOut.cc'; fi`
uninstall-info-am:
install-man1: $(man1_MANS) $(man_MANS)
@$(NORMAL_INSTALL)
test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(man1dir)"
test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)"
@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
for i in $$l2; do \
Expand Down Expand Up @@ -659,24 +678,22 @@ distclean-tags:

distdir: $(DISTFILES)
$(am__remove_distdir)
mkdir $(distdir)
$(mkdir_p) $(distdir)/7z $(distdir)/doc $(distdir)/lib $(distdir)/test
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
list='$(DISTFILES)'; for file in $$list; do \
case $$file in \
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
esac; \
test -d $(distdir) || mkdir $(distdir)
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \
dist_files=`for file in $$list; do echo $$file; done | \
sed -e "s|^$$srcdirstrip/||;t" \
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
case $$dist_files in \
*/*) $(MKDIR_P) `echo "$$dist_files" | \
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
sort -u` ;; \
esac; \
for file in $$dist_files; do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
dir="/$$dir"; \
$(mkdir_p) "$(distdir)$$dir"; \
else \
dir=''; \
fi; \
if test -d $$d/$$file; then \
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
fi; \
Expand All @@ -690,7 +707,7 @@ distdir: $(DISTFILES)
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
|| chmod -R a+r $(distdir)
dist-gzip: distdir
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
Expand Down Expand Up @@ -765,7 +782,7 @@ distcheck: dist
$(am__remove_distdir)
@(echo "$(distdir) archives ready for distribution: "; \
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
distuninstallcheck:
@cd $(distuninstallcheck_dir) \
&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
Expand All @@ -790,7 +807,7 @@ check: check-am
all-am: Makefile $(PROGRAMS) $(MANS) $(HEADERS) config.h
installdirs:
for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \
test -z "$$dir" || $(mkdir_p) "$$dir"; \
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
done
install: install-am
install-exec: install-exec-am
Expand Down Expand Up @@ -838,12 +855,20 @@ info-am:

install-data-am: install-man

install-dvi: install-dvi-am

install-exec-am: install-binPROGRAMS

install-html: install-html-am

install-info: install-info-am

install-man: install-man1

install-pdf: install-pdf-am

install-ps: install-ps-am

installcheck-am:

maintainer-clean: maintainer-clean-am
Expand All @@ -865,24 +890,28 @@ ps: ps-am

ps-am:

uninstall-am: uninstall-binPROGRAMS uninstall-info-am uninstall-man
uninstall-am: uninstall-binPROGRAMS uninstall-man

uninstall-man: uninstall-man1

.MAKE: install-am install-strip

.PHONY: CTAGS GTAGS all all-am am--refresh check check-am check-local \
clean clean-binPROGRAMS clean-generic clean-local ctags dist \
dist-all dist-bzip2 dist-gzip dist-shar dist-tarZ dist-zip \
distcheck distclean distclean-compile distclean-generic \
distclean-hdr distclean-tags distcleancheck distdir \
distuninstallcheck dvi dvi-am html html-am info info-am \
install install-am install-binPROGRAMS install-data \
install-data-am install-exec install-exec-am install-info \
install-info-am install-man install-man1 install-strip \
install-data-am install-dvi install-dvi-am install-exec \
install-exec-am install-html install-html-am install-info \
install-info-am install-man install-man1 install-pdf \
install-pdf-am install-ps install-ps-am install-strip \
installcheck installcheck-am installdirs maintainer-clean \
maintainer-clean-generic maintainer-clean-local mostlyclean \
mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
tags uninstall uninstall-am uninstall-binPROGRAMS \
uninstall-info-am uninstall-man uninstall-man1
uninstall-man uninstall-man1


clean-local:
Expand Down
Loading

0 comments on commit 769aec4

Please sign in to comment.