Adapt Makefiles for VeraCrypt. Use PKCS#11 headers from source tree is not specified elsewhere.
This commit is contained in:
parent
084a8ee85c
commit
4d12001e10
|
@ -64,7 +64,7 @@ RESOURCES += ../License.txt.h
|
|||
RESOURCES += ../Common/Language.xml.h
|
||||
ifndef TC_NO_GUI
|
||||
RESOURCES += ../Common/Textual_logo_96dpi.bmp.h
|
||||
RESOURCES += ../Format/TrueCrypt_Wizard.bmp.h
|
||||
RESOURCES += ../Format/VeraCrypt_Wizard.bmp.h
|
||||
RESOURCES += ../Mount/Drive_icon_96dpi.bmp.h
|
||||
RESOURCES += ../Mount/Drive_icon_mask_96dpi.bmp.h
|
||||
RESOURCES += ../Mount/Logo_96dpi.bmp.h
|
||||
|
@ -131,7 +131,7 @@ else
|
|||
-ln -sf $(PWD)/Main/$(APPNAME) $(APPNAME).app/Contents/MacOS/$(APPNAME)
|
||||
endif
|
||||
|
||||
cp $(PWD)/Resources/Icons/TrueCrypt.icns $(APPNAME).app/Contents/Resources
|
||||
cp $(PWD)/Resources/Icons/VeraCrypt.icns $(APPNAME).app/Contents/Resources
|
||||
|
||||
echo -n APPLTRUE >$(APPNAME).app/Contents/PkgInfo
|
||||
sed -e 's/_VERSION_/$(patsubst %a,%.1,$(patsubst %b,%.2,$(TC_VERSION)))/' ../Build/Resources/MacOSX/Info.plist.xml >$(APPNAME).app/Contents/Info.plist
|
||||
|
|
|
@ -67,6 +67,8 @@ endif
|
|||
|
||||
ifdef PKCS11_INC
|
||||
C_CXX_FLAGS += -I$(PKCS11_INC)
|
||||
+else
|
||||
C_CXX_FLAGS += -I$(CURDIR)/PKCS11
|
||||
endif
|
||||
|
||||
ifeq "$(origin RESOURCEDIR)" "command line"
|
||||
|
@ -171,7 +173,7 @@ endif
|
|||
ifeq "$(shell uname -s)" "Darwin"
|
||||
|
||||
PLATFORM := MacOSX
|
||||
APPNAME := TrueCrypt
|
||||
APPNAME := VeraCrypt
|
||||
|
||||
TC_OSX_SDK ?= /Developer/SDKs/MacOSX10.4u.sdk
|
||||
CC := gcc-4.0
|
||||
|
|
Loading…
Reference in New Issue