From: Nathan Moinvaziri Date: Thu, 25 Feb 2021 00:52:07 +0000 (-0800) Subject: Rename slide_hash_power8.c to slide_power8.c to be consistent with other slide hash... X-Git-Tag: 2.1.0-beta1~594 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e053d061879e2b56c9395aeea277412033ff1a8;p=thirdparty%2Fzlib-ng.git Rename slide_hash_power8.c to slide_power8.c to be consistent with other slide hash variants. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index d7f892444..e45bdc84e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -742,7 +742,7 @@ if(WITH_OPTIM) add_definitions(-DPOWER8_VSX_SLIDEHASH) list(APPEND ZLIB_ARCH_HDRS ${ARCHDIR}/power.h) list(APPEND ZLIB_ARCH_SRCS ${ARCHDIR}/power.c) - set(POWER8_SRCS ${ARCHDIR}/adler32_power8.c ${ARCHDIR}/slide_hash_power8.c) + set(POWER8_SRCS ${ARCHDIR}/adler32_power8.c ${ARCHDIR}/slide_power8.c) list(APPEND ZLIB_ARCH_SRCS ${POWER8_SRCS}) set_property(SOURCE ${POWER8_SRCS} PROPERTY COMPILE_FLAGS "${POWER8FLAG} ${NOLTOFLAG}") endif() diff --git a/arch/power/Makefile.in b/arch/power/Makefile.in index cf5839b93..e7a2473a3 100644 --- a/arch/power/Makefile.in +++ b/arch/power/Makefile.in @@ -19,8 +19,8 @@ all: power.o \ power.lo \ adler32_power8.o \ adler32_power8.lo \ - slide_hash_power8.o \ - slide_hash_power8.lo + slide_power8.o \ + slide_power8.lo power.o: $(CC) $(CFLAGS) $(INCLUDES) -c -o $@ $(SRCDIR)/power.c @@ -34,11 +34,11 @@ adler32_power8.o: adler32_power8.lo: $(CC) $(SFLAGS) $(P8FLAGS) $(NOLTOFLAG) $(INCLUDES) -c -o $@ $(SRCDIR)/adler32_power8.c -slide_hash_power8.o: - $(CC) $(CFLAGS) $(P8FLAGS) $(NOLTOFLAG) $(INCLUDES) -c -o $@ $(SRCDIR)/slide_hash_power8.c +slide_power8.o: + $(CC) $(CFLAGS) $(P8FLAGS) $(NOLTOFLAG) $(INCLUDES) -c -o $@ $(SRCDIR)/slide_power8.c -slide_hash_power8.lo: - $(CC) $(SFLAGS) $(P8FLAGS) $(NOLTOFLAG) $(INCLUDES) -c -o $@ $(SRCDIR)/slide_hash_power8.c +slide_power8.lo: + $(CC) $(SFLAGS) $(P8FLAGS) $(NOLTOFLAG) $(INCLUDES) -c -o $@ $(SRCDIR)/slide_power8.c mostlyclean: clean clean: diff --git a/arch/power/slide_hash_power8.c b/arch/power/slide_power8.c similarity index 100% rename from arch/power/slide_hash_power8.c rename to arch/power/slide_power8.c diff --git a/configure b/configure index 353cad4d8..339e8fd8c 100755 --- a/configure +++ b/configure @@ -1531,8 +1531,8 @@ EOF CFLAGS="${CFLAGS} -DPOWER8 -DPOWER_FEATURES -DPOWER8_VSX_ADLER32 -DPOWER8_VSX_SLIDEHASH" SFLAGS="${SFLAGS} -DPOWER8 -DPOWER_FEATURES -DPOWER8_VSX_ADLER32 -DPOWER8_VSX_SLIDEHASH" - ARCH_STATIC_OBJS="${ARCH_STATIC_OBJS} power.o adler32_power8.o slide_hash_power8.o" - ARCH_SHARED_OBJS="${ARCH_SHARED_OBJS} power.lo adler32_power8.lo slide_hash_power8.lo" + ARCH_STATIC_OBJS="${ARCH_STATIC_OBJS} power.o adler32_power8.o slide_power8.o" + ARCH_SHARED_OBJS="${ARCH_SHARED_OBJS} power.lo adler32_power8.lo slide_power8.lo" fi fi ;;