⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 完整的解压zip文件的源码。包含密码功能
💻
字号:
#------------------------------------------------------------------------------# Makefile for UnZip 5.2 and later                             Derek Fawcus# Version:  MetaWare High C with PAMAKE                        3 Jun 96##############################################################################  Alter the first two macros to change the model#MODEL		= bigM		= b##############################################################################  These two sets of prefixes are changed when swapping between the master#  and my machine.#FL_PREFIX	= d:/flexos		# Where FlexOS is rooted#FL_PREFIX	= c:/.##############################################################################  The following should not have to be changed - they should be automatic#  given correct values for the above.#HC_LIB		= $(FL_PREFIX)/highc/$(MODEL)/hc$(M)e.l86PORT_LIB	= $(FL_PREFIX)/usr/portlib/$(MODEL)/prtlbhc$(M).l86PORT_OBJ	= $(FL_PREFIX)/usr/portlib/$(MODEL)/prtlbhc$(M).objHC_INC		= $(FL_PREFIX)/highc/incPORT_INC	= $(FL_PREFIX)/usr/portlib/incFLEX_INC	= $(FL_PREFIX)/usr/inc+IPATH		= $(PORT_INC)/;$(FLEX_INC)/;#+IPATH		= $(PORT_INC)/;$(HC_INC)/;$(FLEX_INC)/;##############################################################################  The programs to do the work.#CC		= hcAS		= rasm86LD		= link86#HCOPTS=-mm $(MODEL) -debug -pr flexos/hc.proHCOPTS=-mm $(MODEL) -pr flexos/hc.pro##############################################################################  The file extensions to build from#.SUFFIXES:.SUFFIXES: .c .h .a86############################################################################## Type for CPU required: 0: 8086, 1: 80186, 2: 80286, 3: 80386, etc.CPU_TYP = 2# Uncomment the following three macros to use the optimized CRC32 assembler# routine in UnZip and UnZipSFX:#ASMFLG = -DASM_CRC#ASMOBJS = crc_i86.obj#ASMOBJF = crc_i86_.objASCPUFLAG = __$(CPU_TYP)86UNZIP_H = unzip.h unzpriv.h globals.h flexos/flxcfg.hdefault:        unzip.286#default:        unzip.286 funzip.286 unzipsfx.286clean:	del *.ob?	del unzip.286	del funzip.286	del unzipsfx.*	del *.map	del *.lin	del *.sym	del *.dbg#############################################################################.asm.obj:	$(AS) $(ASFLAGS) -D$(ASUNMODEL) $*.asm.c.obj:	$(CC) $< $(HCOPTS) -ob $@.c.obf:	$(CC) $< $(HCOPTS) -def FUNZIP -ob $@.c.obs:	$(CC) $< $(HCOPTS) -def SFX -ob $@#############################################################################crc_i86.obj: flexos/crc_i86.a86	$(AS) $(ASFLAGS) -D$(ASUNMODEL) flexos/crc_i86.a86, $*.obj ;############################################################################  The objects to build from#UNZIP_OBJS =	unzip.obj crc32.obj crctab.obj crypt.obj envargs.obj \		explode.obj extract.obj fileio.obj globals.obj inflate.obj \		list.obj match.obj process.obj ttyio.obj unreduce.obj \		unshrink.obj zipinfo.obj flexos.obj $(ASMOBJS)unzip.286: $(UNZIP_OBJS)	$(LD) $@[st[add[17e]]] = $-[input]$(PORT_OBJ),$+(${UNZIP_OBJS}),$(PORT_LIB),$(HC_LIB)<UNZIPSFX_OBJS =	unzip.obs crc32.obj crctab.obj crypt.obj extract.obs \		fileio.obj globals.obj inflate.obj match.obj process.obs \		ttyio.obj flexos.obs $(ASMOBJS)unzipsfx.286: $(UNZIPSFX_OBJS)	$(LD) $@[dbi,map[all],st[add[17e]]] = $-[input]$(PORT_OBJ),$+(${UNZIPSFX_OBJS}),$(PORT_LIB),$(HC_LIB)<FUNZIP_OBJS =	funzip.obj crc32.obf crypt.obf globals.obf inflate.obf \		ttyio.obf $(ASMOBJF)funzip.286: $(FUNZIP_OBJS)	$(LD) $@[dbi,map[all],st[add[17e]]] = $-[input]$(PORT_OBJ),$+(${FUNZIP_OBJS}),$(PORT_LIB),$(HC_LIB)<#############################################################################unreduce.obj:	unreduce.c $(UNZIP_H)unshrink.obj:	unshrink.c $(UNZIP_H)unzip.obj:	unzip.c $(UNZIP_H) crypt.h version.h consts.hzipinfo.obj:	zipinfo.c $(UNZIP_H)process.obj:	process.c $(UNZIP_H)list.obj:	list.c $(UNZIP_H)match.obj:	match.c $(UNZIP_H)fileio.obj:	fileio.c $(UNZIP_H) crypt.h ttyio.h ebcdic.henvargs.obj:	envargs.c $(UNZIP_H)explode.obj:	explode.c $(UNZIP_H)extract.obj:	extract.c $(UNZIP_H) crypt.hcrctab.obj:	crctab.c $(UNZIP_H) zip.hflexos.obj:	flexos/flexos.c $(UNZIP_H)crc32.obj:	crc32.c $(UNZIP_H) zip.hcrypt.obj:	crypt.c $(UNZIP_H) crypt.h ttyio.h zip.hglobals.obj:	globals.c $(UNZIP_H)inflate.obj:	inflate.c inflate.h $(UNZIP_H)ttyio.obj:	ttyio.c $(UNZIP_H) crypt.h ttyio.h zip.hfunzip.obj:	funzip.c $(UNZIP_H) crypt.h ttyio.h tables.hcrc32.obf:	crc32.c $(UNZIP_H) zip.hcrypt.obf:	crypt.c $(UNZIP_H) crypt.h ttyio.h zip.hglobals.obf:	globals.c $(UNZIP_H)inflate.obf:	inflate.c inflate.h $(UNZIP_H) crypt.httyio.obf:	ttyio.c $(UNZIP_H) crypt.h ttyio.h zip.hflexos.obs:	flexos/flexos.c $(UNZIP_H)extract.obs:	extract.c $(UNZIP_H) crypt.hprocess.obs:	process.c $(UNZIP_H)unzip.obs:	unzip.c $(UNZIP_H) crypt.h version.h consts.h

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -