--- truecrypt/boot/windows/makefile 2018/04/24 16:52:00 1.1.1.3 +++ truecrypt/boot/windows/makefile 2018/04/24 16:58:42 1.1.1.5 @@ -1,7 +1,7 @@ # # Copyright (c) 2008 TrueCrypt Foundation. All rights reserved. # -# Governed by the TrueCrypt License 2.4 the full text of which is contained +# Governed by the TrueCrypt License 2.6 the full text of which is contained # in the file License.txt included in TrueCrypt binary and source code # distribution packages. # @@ -27,22 +27,13 @@ CPPFLAGS = $(CPPFLAGS) /D malloc=malloc_ LFLAGS = /NOLOGO /ONERROR:NOEXE /NOI /BATCH - -!ifdef DEBUG - -OBJDIR = Debug -OUTDIR = $(OBJDIR) -TARGETEXT = exe -CPPFLAGS = $(CPPFLAGS) /AM /Zl /G2 /D _DEBUG /D DEBUG /Od /Z7 /D_DOS -LFLAGS = $(LFLAGS) /CO /STACK:32768 -OBJS = -LIBS = mlibce -PROJDIR = .. - -!else - OBJDIR = Release +!ifdef RESCUE_DISK +OBJDIR = Rescue +CPPFLAGS = $(CPPFLAGS) /D TC_WINDOWS_BOOT_RESCUE_DISK_MODE +!endif + !ifdef SINGLE_CIPHER OBJDIR = $(OBJDIR)_$(SINGLE_CIPHER) CPPFLAGS = $(CPPFLAGS) /D TC_WINDOWS_BOOT_SINGLE_CIPHER_MODE /D TC_WINDOWS_BOOT_$(SINGLE_CIPHER) @@ -56,8 +47,6 @@ LFLAGS = $(LFLAGS) /NOD /NOE /TINY OBJS = $(OUTDIR)\BootCrt.obj LIBS = slibce -!endif - !if 1 SRCDIR = .. !else @@ -189,8 +178,6 @@ $(LIBS) $(LD) $(LFLAGS) @$(PROJ).crf del $(PROJ).crf $(PROJ).crf2 -!ifndef DEBUG gzip.exe -c -n --best $(PROJ).$(TARGETEXT) >$(PROJ).$(TARGETEXT).gz -dd.exe conv=notrunc,sync bs=512 seek=5 if=$(PROJ).$(TARGETEXT).gz of=$(PROJ).flp 2>NUL: -!endif cd ..