Add TestScripts to GNUmakefile
parent
1b5f1b6cf9
commit
b5b8dc86bd
24
GNUmakefile
24
GNUmakefile
|
|
@ -665,21 +665,31 @@ dlltest.exe: cryptopp.dll $(DLLTESTOBJS)
|
||||||
$(CXX) -o $@ $(CXXFLAGS) $(DLLTESTOBJS) -L. -lcryptopp.dll $(LDFLAGS) $(LDLIBS)
|
$(CXX) -o $@ $(CXXFLAGS) $(DLLTESTOBJS) -L. -lcryptopp.dll $(LDFLAGS) $(LDLIBS)
|
||||||
|
|
||||||
# This recipe prepares the distro files
|
# This recipe prepares the distro files
|
||||||
TEXT_FILES := *.h *.cpp adhoc.cpp.proto License.txt Readme.txt Install.txt Filelist.txt CMakeLists.txt config.compat Doxyfile cryptest* cryptlib* dlltest* cryptdll* *.sln *.vcxproj *.filters cryptopp.rc TestVectors/*.txt TestData/*.dat
|
TEXT_FILES := *.h *.cpp adhoc.cpp.proto License.txt Readme.txt Install.txt Filelist.txt CMakeLists.txt config.compat Doxyfile cryptest* cryptlib* dlltest* cryptdll* *.sln *.vcxproj *.filters cryptopp.rc TestVectors/*.txt TestData/*.dat TestScripts/*.sh TestScripts/*.pl
|
||||||
EXEC_FILES := GNUmakefile GNUmakefile-cross TestData/ TestVectors/
|
EXEC_FILES := GNUmakefile GNUmakefile-cross TestData/ TestVectors/ TestScripts/
|
||||||
|
|
||||||
ifeq ($(wildcard Filelist.txt),Filelist.txt)
|
ifeq ($(wildcard Filelist.txt),Filelist.txt)
|
||||||
DIST_FILES := $(shell cat Filelist.txt)
|
DIST_FILES := $(shell cat Filelist.txt)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
.PHONY: trim
|
||||||
|
trim:
|
||||||
|
ifneq ($(IS_DARWIN),0)
|
||||||
|
sed -i '' -e's/[[:space:]]*$$//' *.compat *.sh *.h *.cpp GNUmakefile GNUmakefile-cross
|
||||||
|
make convert
|
||||||
|
else
|
||||||
|
sed -i -e's/[[:space:]]*$$//' *.compat *.sh *.h *.cpp GNUmakefile GNUmakefile-cross
|
||||||
|
make convert
|
||||||
|
endif
|
||||||
|
|
||||||
.PHONY: convert
|
.PHONY: convert
|
||||||
convert:
|
convert:
|
||||||
-$(CHMOD) 0700 TestVectors/ TestData/
|
-$(CHMOD) 0700 TestVectors/ TestData/ TestScripts/
|
||||||
-$(CHMOD) 0600 $(TEXT_FILES) *.asm *.S *.zip *.cmake
|
-$(CHMOD) 0600 $(TEXT_FILES) *.asm *.S *.zip *.cmake TestVectors/*.txt TestData/*.dat
|
||||||
-$(CHMOD) 0700 $(EXEC_FILES) *.sh *.cmd
|
-$(CHMOD) 0700 $(EXEC_FILES) *.sh *.cmd TestScripts/*.sh TestScripts/cryptest-win.pl
|
||||||
-$(CHMOD) 0700 *.cmd *.sh GNUmakefile GNUmakefile-cross
|
-$(CHMOD) 0700 *.cmd *.sh GNUmakefile GNUmakefile-cross
|
||||||
-unix2dos --keepdate --quiet $(TEXT_FILES) *.asm *.cmd *.cmake
|
-unix2dos --keepdate --quiet $(TEXT_FILES) *.asm *.cmd *.cmake TestScripts/cryptest-win.pl
|
||||||
-dos2unix --keepdate --quiet GNUmakefile GNUmakefile-cross *.S *.sh
|
-dos2unix --keepdate --quiet GNUmakefile GNUmakefile-cross *.S *.sh TestScripts/*.sh
|
||||||
ifneq ($(IS_DARWIN),0)
|
ifneq ($(IS_DARWIN),0)
|
||||||
-xattr -c *
|
-xattr -c *
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue