Rename PowerPC specific files

This will allow us to filter-out some files more easily
This commit is contained in:
Jeffrey Walton 2022-03-29 22:02:19 -04:00
parent ab7f885c9f
commit 48377cac69
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
6 changed files with 11 additions and 9 deletions

View File

@ -257,9 +257,9 @@ poly1305.cpp
poly1305.h
polynomi.cpp
polynomi.h
ppc_power7.cpp
ppc_power8.cpp
ppc_power9.cpp
power7_ppc.cpp
power8_ppc.cpp
power9_ppc.cpp
ppc_simd.cpp
ppc_simd.h
pssr.cpp

View File

@ -1207,11 +1207,12 @@ endif
# Remove unneeded arch specific files to speed build time.
ifeq ($(IS_PPC32)$(IS_PPC64),00)
SRCS := $(filter-out ppc_%,$(SRCS))
SRCS := $(filter-out %_ppc.cpp,$(SRCS))
endif
ifeq ($(IS_ARM32)$(IS_ARMV8),00)
SRCS := $(filter-out arm_%,$(SRCS))
SRCS := $(filter-out neon_%,$(SRCS))
SRCS := $(filter-out %_armv4.S,$(SRCS))
endif
ifeq ($(IS_X86)$(IS_X64),00)
SRCS := $(filter-out sse_%,$(SRCS))
@ -1227,7 +1228,9 @@ ifneq ($(findstring -DCRYPTOPP_DISABLE_ASM,$(CRYPTOPP_CPPFLAGS)$(CPPFLAGS)$(CXXF
SRCS := $(filter-out sse_%,$(SRCS))
SRCS := $(filter-out %_sse.cpp,$(SRCS))
SRCS := $(filter-out %_avx.cpp,$(SRCS))
SRCS := $(filter-out %_ppc.cpp,$(SRCS))
SRCS := $(filter-out %_simd.cpp,$(SRCS))
SRCS := $(filter-out %_armv4.S,$(SRCS))
endif
# List cryptlib.cpp first, then cpu.cpp, then integer.cpp to tame C++ static initialization problems.

View File

@ -722,11 +722,12 @@ endif
# Remove unneeded arch specific files to speed build time.
ifeq ($(IS_PPC32)$(IS_PPC64),00)
SRCS := $(filter-out ppc_%,$(SRCS))
SRCS := $(filter-out %_ppc.cpp,$(SRCS))
endif
ifeq ($(IS_ARM32)$(IS_ARMV8),00)
SRCS := $(filter-out arm_%,$(SRCS))
SRCS := $(filter-out neon_%,$(SRCS))
SRCS := $(filter-out %_armv4.S,$(SRCS))
endif
ifeq ($(IS_X86)$(IS_X64),00)
SRCS := $(filter-out sse_%,$(SRCS))
@ -742,7 +743,9 @@ ifneq ($(findstring -DCRYPTOPP_DISABLE_ASM,$(CRYPTOPP_CPPFLAGS)$(CPPFLAGS)$(CXXF
SRCS := $(filter-out sse_%,$(SRCS))
SRCS := $(filter-out %_sse.cpp,$(SRCS))
SRCS := $(filter-out %_avx.cpp,$(SRCS))
SRCS := $(filter-out %_ppc.cpp,$(SRCS))
SRCS := $(filter-out %_simd.cpp,$(SRCS))
SRCS := $(filter-out %_armv4.S,$(SRCS))
endif
# List cryptlib.cpp first, then cpu.cpp, then integer.cpp to tame C++ static initialization problems.
@ -993,10 +996,6 @@ chacha_avx.o : chacha_avx.cpp
cham_simd.o : cham_simd.cpp
$(CXX) $(strip $(CPPFLAGS) $(CXXFLAGS) $(CHAM_FLAG) -c) $<
# Power9 available
darn.o : darn.cpp
$(CXX) $(strip $(CPPFLAGS) $(CXXFLAGS) $(DARN_FLAG) -c) $<
# SSE2 on i686
donna_sse.o : donna_sse.cpp
$(CXX) $(strip $(CPPFLAGS) $(CXXFLAGS) $(SSE2_FLAG) -c) $<