mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-23 01:49:41 +00:00
Rename PowerPC specific files
This will allow us to filter-out some files more easily
This commit is contained in:
parent
ab7f885c9f
commit
48377cac69
@ -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
|
||||
|
@ -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.
|
||||
|
@ -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) $<
|
||||
|
Loading…
Reference in New Issue
Block a user