1370b324cSopenharmony_ciPROG = 7zr 2370b324cSopenharmony_ci 3370b324cSopenharmony_ciCONSOLE_VARIANT_FLAGS=-DZ7_PROG_VARIANT_R 4370b324cSopenharmony_ci 5370b324cSopenharmony_ci# IS_X64 = 1 6370b324cSopenharmony_ci# USE_ASM = 1 7370b324cSopenharmony_ci# ST_MODE = 1 8370b324cSopenharmony_ci 9370b324cSopenharmony_ciifdef SystemDrive 10370b324cSopenharmony_ciIS_MINGW = 1 11370b324cSopenharmony_cielse 12370b324cSopenharmony_ciifdef SYSTEMDRIVE 13370b324cSopenharmony_ci# ifdef OS 14370b324cSopenharmony_ciIS_MINGW = 1 15370b324cSopenharmony_ciendif 16370b324cSopenharmony_ciendif 17370b324cSopenharmony_ci 18370b324cSopenharmony_ciinclude ../../LzmaDec_gcc.mak 19370b324cSopenharmony_ci 20370b324cSopenharmony_ci 21370b324cSopenharmony_ciLOCAL_FLAGS_ST = 22370b324cSopenharmony_ciMT_OBJS = 23370b324cSopenharmony_ci 24370b324cSopenharmony_ci 25370b324cSopenharmony_ciifdef ST_MODE 26370b324cSopenharmony_ci 27370b324cSopenharmony_ciLOCAL_FLAGS_ST = -DZ7_ST 28370b324cSopenharmony_ci 29370b324cSopenharmony_ciifdef IS_MINGW 30370b324cSopenharmony_ciMT_OBJS = \ 31370b324cSopenharmony_ci $O/Threads.o \ 32370b324cSopenharmony_ci 33370b324cSopenharmony_ciendif 34370b324cSopenharmony_ci 35370b324cSopenharmony_cielse 36370b324cSopenharmony_ci 37370b324cSopenharmony_ciMT_OBJS = \ 38370b324cSopenharmony_ci $O/LzFindMt.o \ 39370b324cSopenharmony_ci $O/LzFindOpt.o \ 40370b324cSopenharmony_ci $O/StreamBinder.o \ 41370b324cSopenharmony_ci $O/VirtThread.o \ 42370b324cSopenharmony_ci $O/Threads.o \ 43370b324cSopenharmony_ci 44370b324cSopenharmony_ci 45370b324cSopenharmony_ci 46370b324cSopenharmony_ciendif 47370b324cSopenharmony_ci 48370b324cSopenharmony_ci 49370b324cSopenharmony_ci 50370b324cSopenharmony_ciLOCAL_FLAGS_SYS = 51370b324cSopenharmony_ci 52370b324cSopenharmony_ciifdef IS_MINGW 53370b324cSopenharmony_ci 54370b324cSopenharmony_ciLOCAL_FLAGS_SYS = \ 55370b324cSopenharmony_ci -DZ7_LARGE_PAGES \ 56370b324cSopenharmony_ci -DZ7_LONG_PATH \ 57370b324cSopenharmony_ci -DZ7_DEVICE_FILE \ 58370b324cSopenharmony_ci 59370b324cSopenharmony_ciSYS_OBJS = \ 60370b324cSopenharmony_ci $O/FileSystem.o \ 61370b324cSopenharmony_ci $O/Registry.o \ 62370b324cSopenharmony_ci $O/MemoryLock.o \ 63370b324cSopenharmony_ci $O/DLL.o \ 64370b324cSopenharmony_ci $O/DllSecur.o \ 65370b324cSopenharmony_ci $O/resource.o \ 66370b324cSopenharmony_ci 67370b324cSopenharmony_cielse 68370b324cSopenharmony_ci 69370b324cSopenharmony_ciSYS_OBJS = \ 70370b324cSopenharmony_ci $O/MyWindows.o \ 71370b324cSopenharmony_ci 72370b324cSopenharmony_ciendif 73370b324cSopenharmony_ci 74370b324cSopenharmony_ciLOCAL_FLAGS = \ 75370b324cSopenharmony_ci $(LOCAL_FLAGS_ST) \ 76370b324cSopenharmony_ci $(LOCAL_FLAGS_SYS) \ 77370b324cSopenharmony_ci 78370b324cSopenharmony_ci 79370b324cSopenharmony_ciCONSOLE_OBJS = \ 80370b324cSopenharmony_ci $O/BenchCon.o \ 81370b324cSopenharmony_ci $O/ConsoleClose.o \ 82370b324cSopenharmony_ci $O/DynLimBuf.o \ 83370b324cSopenharmony_ci $O/ExtractCallbackConsole.o \ 84370b324cSopenharmony_ci $O/HashCon.o \ 85370b324cSopenharmony_ci $O/List.o \ 86370b324cSopenharmony_ci $O/Main.o \ 87370b324cSopenharmony_ci $O/MainAr.o \ 88370b324cSopenharmony_ci $O/OpenCallbackConsole.o \ 89370b324cSopenharmony_ci $O/PercentPrinter.o \ 90370b324cSopenharmony_ci $O/UpdateCallbackConsole.o \ 91370b324cSopenharmony_ci $O/UserInputUtils.o \ 92370b324cSopenharmony_ci 93370b324cSopenharmony_ciUI_COMMON_OBJS = \ 94370b324cSopenharmony_ci $O/ArchiveCommandLine.o \ 95370b324cSopenharmony_ci $O/ArchiveExtractCallback.o \ 96370b324cSopenharmony_ci $O/ArchiveOpenCallback.o \ 97370b324cSopenharmony_ci $O/Bench.o \ 98370b324cSopenharmony_ci $O/DefaultName.o \ 99370b324cSopenharmony_ci $O/EnumDirItems.o \ 100370b324cSopenharmony_ci $O/Extract.o \ 101370b324cSopenharmony_ci $O/ExtractingFilePath.o \ 102370b324cSopenharmony_ci $O/HashCalc.o \ 103370b324cSopenharmony_ci $O/LoadCodecs.o \ 104370b324cSopenharmony_ci $O/OpenArchive.o \ 105370b324cSopenharmony_ci $O/PropIDUtils.o \ 106370b324cSopenharmony_ci $O/SetProperties.o \ 107370b324cSopenharmony_ci $O/SortUtils.o \ 108370b324cSopenharmony_ci $O/TempFiles.o \ 109370b324cSopenharmony_ci $O/Update.o \ 110370b324cSopenharmony_ci $O/UpdateAction.o \ 111370b324cSopenharmony_ci $O/UpdateCallback.o \ 112370b324cSopenharmony_ci $O/UpdatePair.o \ 113370b324cSopenharmony_ci $O/UpdateProduce.o \ 114370b324cSopenharmony_ci 115370b324cSopenharmony_ciCOMMON_OBJS = \ 116370b324cSopenharmony_ci $O/CommandLineParser.o \ 117370b324cSopenharmony_ci $O/CRC.o \ 118370b324cSopenharmony_ci $O/CrcReg.o \ 119370b324cSopenharmony_ci $O/IntToString.o \ 120370b324cSopenharmony_ci $O/ListFileUtils.o \ 121370b324cSopenharmony_ci $O/LzFindPrepare.o \ 122370b324cSopenharmony_ci $O/MyString.o \ 123370b324cSopenharmony_ci $O/MyVector.o \ 124370b324cSopenharmony_ci $O/NewHandler.o \ 125370b324cSopenharmony_ci $O/Sha256Prepare.o \ 126370b324cSopenharmony_ci $O/Sha256Reg.o \ 127370b324cSopenharmony_ci $O/StringConvert.o \ 128370b324cSopenharmony_ci $O/StringToInt.o \ 129370b324cSopenharmony_ci $O/StdInStream.o \ 130370b324cSopenharmony_ci $O/StdOutStream.o \ 131370b324cSopenharmony_ci $O/UTFConvert.o \ 132370b324cSopenharmony_ci $O/Wildcard.o \ 133370b324cSopenharmony_ci $O/XzCrc64Init.o \ 134370b324cSopenharmony_ci $O/XzCrc64Reg.o \ 135370b324cSopenharmony_ci 136370b324cSopenharmony_ciWIN_OBJS = \ 137370b324cSopenharmony_ci $O/ErrorMsg.o \ 138370b324cSopenharmony_ci $O/FileDir.o \ 139370b324cSopenharmony_ci $O/FileFind.o \ 140370b324cSopenharmony_ci $O/FileIO.o \ 141370b324cSopenharmony_ci $O/FileLink.o \ 142370b324cSopenharmony_ci $O/FileName.o \ 143370b324cSopenharmony_ci $O/PropVariant.o \ 144370b324cSopenharmony_ci $O/PropVariantConv.o \ 145370b324cSopenharmony_ci $O/System.o \ 146370b324cSopenharmony_ci $O/SystemInfo.o \ 147370b324cSopenharmony_ci $O/TimeUtils.o \ 148370b324cSopenharmony_ci 149370b324cSopenharmony_ci7ZIP_COMMON_OBJS = \ 150370b324cSopenharmony_ci $O/CreateCoder.o \ 151370b324cSopenharmony_ci $O/CWrappers.o \ 152370b324cSopenharmony_ci $O/FilePathAutoRename.o \ 153370b324cSopenharmony_ci $O/FileStreams.o \ 154370b324cSopenharmony_ci $O/InBuffer.o \ 155370b324cSopenharmony_ci $O/InOutTempBuffer.o \ 156370b324cSopenharmony_ci $O/FilterCoder.o \ 157370b324cSopenharmony_ci $O/LimitedStreams.o \ 158370b324cSopenharmony_ci $O/MethodId.o \ 159370b324cSopenharmony_ci $O/MethodProps.o \ 160370b324cSopenharmony_ci $O/MultiOutStream.o \ 161370b324cSopenharmony_ci $O/OffsetStream.o \ 162370b324cSopenharmony_ci $O/OutBuffer.o \ 163370b324cSopenharmony_ci $O/ProgressUtils.o \ 164370b324cSopenharmony_ci $O/PropId.o \ 165370b324cSopenharmony_ci $O/StreamObjects.o \ 166370b324cSopenharmony_ci $O/StreamUtils.o \ 167370b324cSopenharmony_ci $O/UniqBlocks.o \ 168370b324cSopenharmony_ci 169370b324cSopenharmony_ciAR_OBJS = \ 170370b324cSopenharmony_ci $O/LzmaHandler.o \ 171370b324cSopenharmony_ci $O/SplitHandler.o \ 172370b324cSopenharmony_ci $O/XzHandler.o \ 173370b324cSopenharmony_ci 174370b324cSopenharmony_ciAR_COMMON_OBJS = \ 175370b324cSopenharmony_ci $O/CoderMixer2.o \ 176370b324cSopenharmony_ci $O/DummyOutStream.o \ 177370b324cSopenharmony_ci $O/HandlerOut.o \ 178370b324cSopenharmony_ci $O/InStreamWithCRC.o \ 179370b324cSopenharmony_ci $O/ItemNameUtils.o \ 180370b324cSopenharmony_ci $O/MultiStream.o \ 181370b324cSopenharmony_ci $O/OutStreamWithCRC.o \ 182370b324cSopenharmony_ci $O/ParseProperties.o \ 183370b324cSopenharmony_ci 184370b324cSopenharmony_ci7Z_OBJS = \ 185370b324cSopenharmony_ci $O/7zCompressionMode.o \ 186370b324cSopenharmony_ci $O/7zDecode.o \ 187370b324cSopenharmony_ci $O/7zEncode.o \ 188370b324cSopenharmony_ci $O/7zExtract.o \ 189370b324cSopenharmony_ci $O/7zFolderInStream.o \ 190370b324cSopenharmony_ci $O/7zHandler.o \ 191370b324cSopenharmony_ci $O/7zHandlerOut.o \ 192370b324cSopenharmony_ci $O/7zHeader.o \ 193370b324cSopenharmony_ci $O/7zIn.o \ 194370b324cSopenharmony_ci $O/7zOut.o \ 195370b324cSopenharmony_ci $O/7zProperties.o \ 196370b324cSopenharmony_ci $O/7zRegister.o \ 197370b324cSopenharmony_ci $O/7zSpecStream.o \ 198370b324cSopenharmony_ci $O/7zUpdate.o \ 199370b324cSopenharmony_ci 200370b324cSopenharmony_ciCOMPRESS_OBJS = \ 201370b324cSopenharmony_ci $O/Bcj2Coder.o \ 202370b324cSopenharmony_ci $O/Bcj2Register.o \ 203370b324cSopenharmony_ci $O/BcjCoder.o \ 204370b324cSopenharmony_ci $O/BcjRegister.o \ 205370b324cSopenharmony_ci $O/BranchMisc.o \ 206370b324cSopenharmony_ci $O/BranchRegister.o \ 207370b324cSopenharmony_ci $O/ByteSwap.o \ 208370b324cSopenharmony_ci $O/CopyCoder.o \ 209370b324cSopenharmony_ci $O/CopyRegister.o \ 210370b324cSopenharmony_ci $O/DeltaFilter.o \ 211370b324cSopenharmony_ci $O/Lzma2Decoder.o \ 212370b324cSopenharmony_ci $O/Lzma2Encoder.o \ 213370b324cSopenharmony_ci $O/Lzma2Register.o \ 214370b324cSopenharmony_ci $O/LzmaDecoder.o \ 215370b324cSopenharmony_ci $O/LzmaEncoder.o \ 216370b324cSopenharmony_ci $O/LzmaRegister.o \ 217370b324cSopenharmony_ci $O/XzDecoder.o \ 218370b324cSopenharmony_ci $O/XzEncoder.o \ 219370b324cSopenharmony_ci 220370b324cSopenharmony_ciCRYPTO_OBJS = \ 221370b324cSopenharmony_ci $O/7zAes.o \ 222370b324cSopenharmony_ci $O/7zAesRegister.o \ 223370b324cSopenharmony_ci $O/MyAes.o \ 224370b324cSopenharmony_ci $O/MyAesReg.o \ 225370b324cSopenharmony_ci $O/RandGen.o \ 226370b324cSopenharmony_ci 227370b324cSopenharmony_ciC_OBJS = \ 228370b324cSopenharmony_ci $O/7zStream.o \ 229370b324cSopenharmony_ci $O/Alloc.o \ 230370b324cSopenharmony_ci $O/Bcj2.o \ 231370b324cSopenharmony_ci $O/Bcj2Enc.o \ 232370b324cSopenharmony_ci $O/Bra.o \ 233370b324cSopenharmony_ci $O/Bra86.o \ 234370b324cSopenharmony_ci $O/BraIA64.o \ 235370b324cSopenharmony_ci $O/CpuArch.o \ 236370b324cSopenharmony_ci $O/Delta.o \ 237370b324cSopenharmony_ci $O/LzFind.o \ 238370b324cSopenharmony_ci $O/Lzma2Dec.o \ 239370b324cSopenharmony_ci $O/Lzma2DecMt.o \ 240370b324cSopenharmony_ci $O/Lzma2Enc.o \ 241370b324cSopenharmony_ci $O/LzmaDec.o \ 242370b324cSopenharmony_ci $O/LzmaEnc.o \ 243370b324cSopenharmony_ci $O/MtCoder.o \ 244370b324cSopenharmony_ci $O/MtDec.o \ 245370b324cSopenharmony_ci $O/Sha256.o \ 246370b324cSopenharmony_ci $O/Sha256Opt.o \ 247370b324cSopenharmony_ci $O/SwapBytes.o \ 248370b324cSopenharmony_ci $O/Xz.o \ 249370b324cSopenharmony_ci $O/XzDec.o \ 250370b324cSopenharmony_ci $O/XzEnc.o \ 251370b324cSopenharmony_ci $O/XzIn.o \ 252370b324cSopenharmony_ci $O/XzCrc64.o \ 253370b324cSopenharmony_ci $O/XzCrc64Opt.o \ 254370b324cSopenharmony_ci $O/7zCrc.o \ 255370b324cSopenharmony_ci $O/7zCrcOpt.o \ 256370b324cSopenharmony_ci $O/Aes.o \ 257370b324cSopenharmony_ci $O/AesOpt.o \ 258370b324cSopenharmony_ci 259370b324cSopenharmony_ci 260370b324cSopenharmony_ciOBJS = \ 261370b324cSopenharmony_ci $(LZMA_DEC_OPT_OBJS) \ 262370b324cSopenharmony_ci $(C_OBJS) \ 263370b324cSopenharmony_ci $(MT_OBJS) \ 264370b324cSopenharmony_ci $(SYS_OBJS) \ 265370b324cSopenharmony_ci $(COMMON_OBJS) \ 266370b324cSopenharmony_ci $(WIN_OBJS) \ 267370b324cSopenharmony_ci $(COMPRESS_OBJS) \ 268370b324cSopenharmony_ci $(CRYPTO_OBJS) \ 269370b324cSopenharmony_ci $(7ZIP_COMMON_OBJS) \ 270370b324cSopenharmony_ci $(AR_OBJS) \ 271370b324cSopenharmony_ci $(AR_COMMON_OBJS) \ 272370b324cSopenharmony_ci $(7Z_OBJS) \ 273370b324cSopenharmony_ci $(UI_COMMON_OBJS) \ 274370b324cSopenharmony_ci $(CONSOLE_OBJS) \ 275370b324cSopenharmony_ci 276370b324cSopenharmony_ciinclude ../../7zip_gcc.mak 277