Home | History | Annotate | Download | only in Console
      1 PROG = 7z.exe
      2 MY_CONSOLE = 1
      3 CFLAGS = $(CFLAGS) -I ../../../  \
      4   -DEXTERNAL_CODECS \
      5 
      6 !IFNDEF UNDER_CE
      7 CFLAGS = $(CFLAGS) -DWIN_LONG_PATH -D_7ZIP_LARGE_PAGES -DSUPPORT_DEVICE_FILE
      8 !ENDIF
      9 
     10 
     11 CONSOLE_OBJS = \
     12   $O\ConsoleClose.obj \
     13   $O\ExtractCallbackConsole.obj \
     14   $O\List.obj \
     15   $O\BenchCon.obj \
     16   $O\Main.obj \
     17   $O\MainAr.obj \
     18   $O\OpenCallbackConsole.obj \
     19   $O\PercentPrinter.obj \
     20   $O\UpdateCallbackConsole.obj \
     21   $O\UserInputUtils.obj \
     22 
     23 COMMON_OBJS = \
     24   $O\CommandLineParser.obj \
     25   $O\CRC.obj \
     26   $O\IntToString.obj \
     27   $O\ListFileUtils.obj \
     28   $O\NewHandler.obj \
     29   $O\StdInStream.obj \
     30   $O\StdOutStream.obj \
     31   $O\MyString.obj \
     32   $O\StringConvert.obj \
     33   $O\StringToInt.obj \
     34   $O\UTFConvert.obj \
     35   $O\MyVector.obj \
     36   $O\Wildcard.obj \
     37 
     38 WIN_OBJS = \
     39   $O\DLL.obj \
     40   $O\Error.obj \
     41   $O\FileDir.obj \
     42   $O\FileFind.obj \
     43   $O\FileIO.obj \
     44   $O\FileName.obj \
     45   $O\MemoryLock.obj \
     46   $O\PropVariant.obj \
     47   $O\PropVariantConversions.obj \
     48   $O\Registry.obj \
     49   $O\System.obj \
     50   $O\Time.obj \
     51 
     52 7ZIP_COMMON_OBJS = \
     53   $O\CreateCoder.obj \
     54   $O\FilePathAutoRename.obj \
     55   $O\FileStreams.obj \
     56   $O\FilterCoder.obj \
     57   $O\ProgressUtils.obj \
     58   $O\StreamUtils.obj \
     59 
     60 UI_COMMON_OBJS = \
     61   $O\ArchiveCommandLine.obj \
     62   $O\ArchiveExtractCallback.obj \
     63   $O\ArchiveOpenCallback.obj \
     64   $O\DefaultName.obj \
     65   $O\EnumDirItems.obj \
     66   $O\Extract.obj \
     67   $O\ExtractingFilePath.obj \
     68   $O\Bench.obj \
     69   $O\LoadCodecs.obj \
     70   $O\OpenArchive.obj \
     71   $O\PropIDUtils.obj \
     72   $O\SetProperties.obj \
     73   $O\SortUtils.obj \
     74   $O\TempFiles.obj \
     75   $O\Update.obj \
     76   $O\UpdateAction.obj \
     77   $O\UpdateCallback.obj \
     78   $O\UpdatePair.obj \
     79   $O\UpdateProduce.obj \
     80   $O\WorkDir.obj \
     81 
     82 AR_COMMON_OBJS = \
     83   $O\OutStreamWithCRC.obj \
     84 
     85 C_OBJS = \
     86   $O\Alloc.obj \
     87   $O\CpuArch.obj \
     88   $O\Threads.obj \
     89 
     90 !include "../../Crc.mak"
     91 
     92 OBJS = \
     93   $O\StdAfx.obj \
     94   $(CONSOLE_OBJS) \
     95   $(COMMON_OBJS) \
     96   $(WIN_OBJS) \
     97   $(7ZIP_COMMON_OBJS) \
     98   $(UI_COMMON_OBJS) \
     99   $(AR_COMMON_OBJS) \
    100   $O\CopyCoder.obj \
    101   $(C_OBJS) \
    102   $(ASM_OBJS) \
    103   $O\resource.res
    104 
    105 !include "../../../Build.mak"
    106 
    107 $(CONSOLE_OBJS): $(*B).cpp
    108 	$(COMPL)
    109 $(COMMON_OBJS): ../../../Common/$(*B).cpp
    110 	$(COMPL)
    111 $(WIN_OBJS): ../../../Windows/$(*B).cpp
    112 	$(COMPL)
    113 $(7ZIP_COMMON_OBJS): ../../Common/$(*B).cpp
    114 	$(COMPL)
    115 $(UI_COMMON_OBJS): ../Common/$(*B).cpp
    116 	$(COMPL)
    117 $(AR_COMMON_OBJS): ../../Archive/Common/$(*B).cpp
    118 	$(COMPL)
    119 $O\CopyCoder.obj: ../../Compress/$(*B).cpp
    120 	$(COMPL)
    121 $(C_OBJS): ../../../../C/$(*B).c
    122 	$(COMPL_O2)
    123 
    124 !include "../../Asm.mak"
    125