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

📄 makefile.emx

📁 完整的解压zip文件的源码。包含密码功能
💻 EMX
字号:
# Makefile for UnZip, fUnZip and UnZipSFX# for emx 0.9c + rsxnt 1.4 / gcc under WIN32. Derived from makefile.os2# By E-Yen Tan and Christian Spieler. Last updated 24 November 1998.## This makefile should work fine with GNU make and hopefully some others.# Tested with Spieler's special GNU make 3.74 gnuish 16-bit version.## If make does not support long command-line passing to gcc, the link step# will fail. In this case, you have to edit the link commands to use the# commented-out alternative that creates a link response file "by hand".#ifdef NOASM#AS_FLAGS =#elseAS_FLAGS = -DASM_CRC#endifCP=copyRM=delCC=gcc -O2 -I. -m486 -Zwin32CFLAGS=-Wall -DWIN32 $(AS_FLAGS) $(LOCAL_UNZIP)DLLFLAG=AS=gccASFLAGS=-Di386LDFLAGS=-Zsys -o ./LDFLAGS2=-ladvapi32 -Zsmall-conv -sOUT=-oOBJ=.o#ifdef NOASM#CRC32=crc32#CRC32F=crc32f#CRC32X=crc32_#elseCRC32=crc_gccCRC32F=crc_gccCRC32X=crc_gcc#endifOBJUS=win32$(OBJ) nt$(OBJ)OBJXS=win32_$(OBJ) nt_$(OBJ)OBJFS=win32f$(OBJ)OSDEP_H=win32/w32cfg.h# default settings for target dependent macros:DIRSEP = /AS_DIRSEP = /OBJU1 = unzip$(OBJ) $(CRC32)$(OBJ) crctab$(OBJ) crypt$(OBJ) envargs$(OBJ)OBJU2 = explode$(OBJ) extract$(OBJ) fileio$(OBJ) globals$(OBJ)OBJU3 = inflate$(OBJ) list$(OBJ) match$(OBJ) process$(OBJ) ttyio$(OBJ)OBJU4 = unreduce$(OBJ) unshrink$(OBJ) zipinfo$(OBJ)OBJU  = $(OBJU1) $(OBJU2) $(OBJU3) $(OBJU4) $(OBJUS)OBJX1 = unzipsf_$(OBJ) $(CRC32X)$(OBJ) crctab_$(OBJ) crypt_$(OBJ)OBJX2 = extract_$(OBJ) fileio_$(OBJ) globals_$(OBJ) inflate_$(OBJ)OBJX3 = match_$(OBJ) process_$(OBJ) ttyio_$(OBJ)OBJX  = $(OBJX1) $(OBJX2) $(OBJX3) $(OBJXS)OBJF  = funzip$(OBJ) $(CRC32F)$(OBJ) cryptf$(OBJ) inflatef$(OBJ) \	globalsf$(OBJ) ttyiof$(OBJ) $(OBJFS)UNZIP_H = unzip.h unzpriv.h globals.h $(OSDEP_H)# rules.SUFFIXES:	.c $(OBJ).c$(OBJ):	$(CC) -c $(CFLAGS) $(DLLFLAG) $(OUT)$@ $<# targetsall:	unzip.exe funzip.exe unzipsfx.exe# This next bit is nasty, but is needed to overcome the MS-DOS command# line limit as response files for emx's gcc seem to only work if each# file is on a different line. DJGPP doesn't do this (if you are at all# interested).unzip.exe: $(OBJU)#	@ echo off#	-@ $(RM) unzip.rsp#	@ for %f in ($(OBJU1)) do echo %f >> unzip.rsp#	@ for %f in ($(OBJU2)) do echo %f >> unzip.rsp#	@ for %f in ($(OBJU3)) do echo %f >> unzip.rsp#	@ for %f in ($(OBJU4) $(OBJUS)) do echo %f >> unzip.rsp#	$(CC) $(LDFLAGS)$@ $(DEF) @unzip.rsp $(LDFLAGS2)	$(CC) $(LDFLAGS)$@ $(DEF) $(OBJU) $(LDFLAGS2)#	@ $(RM) unzip.rspfunzip.exe: $(OBJF)	$(CC) $(LDFLAGS)$@ $(DEF) $(OBJF) $(LDFLAGS2)unzipsfx.exe:	$(OBJX)#	@ echo off#	-@ $(RM) unzipsfx.rsp#	@ for %f in ($(OBJX1)) do echo %f >> unzipsfx.rsp#	@ for %f in ($(OBJX2)) do echo %f >> unzipsfx.rsp#	@ for %f in ($(OBJX3)) do echo %f >> unzipsfx.rsp#	@ for %f in ($(OBJXS)) do echo %f >> unzipsfx.rsp#	$(CC) $(LDFLAGS)$@ $(DEF) @unzipsfx.rsp $(LDFLAGS2)	$(CC) $(LDFLAGS)$@ $(DEF) $(OBJX) $(LDFLAGS2)#	@ $(RM) unzipsfx.rsp# dependenciesapihelp$(OBJ):	apihelp.c $(UNZIP_H) version.hcrc32$(OBJ):	crc32.c $(UNZIP_H) zip.hcrctab$(OBJ):	crctab.c $(UNZIP_H) zip.henvargs$(OBJ):	envargs.c $(UNZIP_H)explode$(OBJ):	explode.c $(UNZIP_H)extract$(OBJ):	extract.c $(UNZIP_H) crypt.hfileio$(OBJ):	fileio.c $(UNZIP_H) crypt.h ttyio.h ebcdic.hglobals$(OBJ):	globals.c $(UNZIP_H)inflate$(OBJ):	inflate.c $(UNZIP_H)list$(OBJ):	list.c $(UNZIP_H)match$(OBJ):	match.c $(UNZIP_H)process$(OBJ):	process.c $(UNZIP_H)ttyio$(OBJ):	ttyio.c $(UNZIP_H) zip.h crypt.h ttyio.hunreduce$(OBJ):	unreduce.c $(UNZIP_H)unshrink$(OBJ):	unshrink.c $(UNZIP_H)unzip$(OBJ):	unzip.c $(UNZIP_H) crypt.h version.h consts.hapi$(OBJ):	api.c $(UNZIP_H) version.hzipinfo$(OBJ):	zipinfo.c $(UNZIP_H)funzip$(OBJ):	funzip.c $(UNZIP_H) crypt.h ttyio.h tables.h	# funzip only	$(CC) -c $(CFLAGS) $(OUT)$@ funzip.cunzipstb$(OBJ):	unzipstb.c					# DLL version	$(CC) -c $(CFLAGS) $(OUT)$@ unzipstb.cwin32$(OBJ):	win32/win32.c $(UNZIP_H) win32/nt.h version.h	# win32 only	$(CC) -c $(CFLAGS) $(OUT)$@ win32$(DIRSEP)win32.cwin32f$(OBJ):	win32/win32.c $(UNZIP_H) win32/nt.h		# win32 funzip	$(CC) -c $(CFLAGS) -DFUNZIP $(OUT)$@ win32$(DIRSEP)win32.cwin32_$(OBJ):	win32/win32.c $(UNZIP_H) win32/nt.h		# win32 unzipsfx	$(CC) -c $(CFLAGS) -DSFX $(OUT)$@ win32$(DIRSEP)win32.cnt$(OBJ):	win32/nt.c $(UNZIP_H) win32/nt.h		# win32 only	$(CC) -c $(CFLAGS) $(OUT)$@ win32$(DIRSEP)nt.cnt_$(OBJ):	win32/nt.c $(UNZIP_H) win32/nt.h		# win32 only	$(CC) -c $(CFLAGS) -DSFX $(OUT)$@ win32$(DIRSEP)nt.cos2$(OBJ):	os2/os2.c $(UNZIP_H) version.h			# OS/2 only	$(CC) -c $(CFLAGS) $(DLLFLAG) $(OUT)$@ os2$(DIRSEP)os2.cos2_$(OBJ):	os2/os2.c $(UNZIP_H)				# OS/2 unzipsfx	$(CC) -c $(CFLAGS) -DSFX $(OUT)$@ os2$(DIRSEP)os2.cos2acl$(OBJ):	os2/os2acl.c $(UNZIP_H) version.h		# OS/2 only	$(CC) -c $(CFLAGS) $(DLLFLAG) $(OUT)$@ os2$(DIRSEP)os2acl.crexxhelp$(OBJ):	os2/rexxhelp.c					# OS/2 DLL only	$(CC) -c $(CFLAGS) $(DLLFLAG) $(OUT)$@ os2$(DIRSEP)rexxhelp.crexxapi$(OBJ):	os2/rexxapi.c					# OS/2 DLL only	$(CC) -c $(CFLAGS) $(DLLFLAG) $(OUT)$@ os2$(DIRSEP)rexxapi.ccrc_i86$(OBJ):	msdos/crc_i86.asm				# 16bit only	$(AS) $(ASFLAGS) msdos$(AS_DIRSEP)crc_i86.asm $(ASEOL)crc_i386$(OBJ):	win32/crc_i386.asm				# 32bit, MASM	$(AS) $(ASFLAGS) win32$(AS_DIRSEP)crc_i386.asm $(ASEOL)crc_gcc$(OBJ):	crc_i386.S					# 32bit, GNU AS	$(AS) $(ASFLAGS) -x assembler-with-cpp -c -o $@ crc_i386.Scrypt$(OBJ):	crypt.c $(UNZIP_H) zip.h crypt.h ttyio.h	$(CC) -c $(CFLAGS) $(DLLFLAG) $(OUT)$@ crypt.ccryptf$(OBJ):	crypt.c $(UNZIP_H) zip.h crypt.h ttyio.h	# funzip only	$(CC) -c $(CFLAGS) -DFUNZIP $(OUT)$@ crypt.ccrc32f$(OBJ):	crc32.c $(UNZIP_H) zip.h			# funzip only	$(CC) -c $(CFLAGS) -DFUNZIP $(OUT)$@ crc32.cglobalsf$(OBJ):	globals.c $(UNZIP_H)				# funzip only	$(CC) -c $(CFLAGS) -DFUNZIP $(OUT)$@ globals.cinflatef$(OBJ):	inflate.c inflate.h $(UNZIP_H) crypt.h		# funzip only	$(CC) -c $(CFLAGS) -DFUNZIP $(OUT)$@ inflate.cttyiof$(OBJ):	ttyio.c $(UNZIP_H) zip.h crypt.h ttyio.h	# funzip only	$(CC) -c $(CFLAGS) -DFUNZIP $(OUT)$@ ttyio.ccrc32_$(OBJ):	crc32.c $(UNZIP_H) zip.h			# unzipsfx only	$(CC) -c $(CFLAGS) -DSFX $(OUT)$@ crc32.ccrctab_$(OBJ):	crctab.c $(UNZIP_H) zip.h			# unzipsfx only	$(CC) -c $(CFLAGS) -DSFX $(OUT)$@ crctab.ccrypt_$(OBJ):	crypt.c $(UNZIP_H) zip.h crypt.h ttyio.h	# unzipsfx only	$(CC) -c $(CFLAGS) -DSFX $(OUT)$@ crypt.cextract_$(OBJ):	extract.c $(UNZIP_H) crypt.h			# unzipsfx only	$(CC) -c $(CFLAGS) -DSFX $(OUT)$@ extract.cfileio_$(OBJ):	fileio.c $(UNZIP_H) crypt.h ttyio.h ebcdic.h	# unzipsfx only	$(CC) -c $(CFLAGS) -DSFX $(OUT)$@ fileio.cglobals_$(OBJ):	globals.c $(UNZIP_H)				# unzipsfx only	$(CC) -c $(CFLAGS) -DSFX $(OUT)$@ globals.cinflate_$(OBJ):	inflate.c inflate.h $(UNZIP_H) crypt.h		# unzipsfx only	$(CC) -c $(CFLAGS) -DSFX $(OUT)$@ inflate.cmatch_$(OBJ):	match.c $(UNZIP_H)				# unzipsfx only	$(CC) -c $(CFLAGS) -DSFX $(OUT)$@ match.cprocess_$(OBJ):	process.c $(UNZIP_H)				# unzipsfx only	$(CC) -c $(CFLAGS) -DSFX $(OUT)$@ process.cttyio_$(OBJ):	ttyio.c $(UNZIP_H) zip.h crypt.h ttyio.h	# unzipsfx only	$(CC) -c $(CFLAGS) -DSFX $(OUT)$@ ttyio.cunzipsf_$(OBJ):	unzip.c $(UNZIP_H) crypt.h version.h consts.h	# unzipsfx only	$(CC) -c $(CFLAGS) -DSFX $(OUT)$@ unzip.c

⌨️ 快捷键说明

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