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

📄 makefile.old

📁 完整的解压zip文件的源码。包含密码功能
💻 OLD
字号:
#==============================================================================# Makefile for UnZip, UnZipSFX & fUnZip:  Atari ST               Chris Herborth# Version:  UnZip 5.20+, MiNT, GNU C                           11 February 1996#==============================================================================# Based on the original unix Makefile and modified by Chris Herborth# (cherborth@semprini.waterloo-rdp.on.ca), Nov.13/93.# Be sure to test your new UnZip (and UnZipSFX and fUnZip); successful com-# pilation does not always imply a working program.###################### MACRO DEFINITIONS ####################### Defaults most systems use (use LOCAL_UNZIP in environment to add flags, # such as -DDOSWILD).# UnZip flags# NOTE: 'cgcc' is my cross-compiler; you'll probably use 'gcc' instead.CC = cgccLD = cgccLOC = $(LOCAL_UNZIP) -ansi -D__MINT__ -U__STRICT_ANSI__CF = -mbaserel -mpcrel -O2 -fomit-frame-pointer -I. $(LOC)# CF = -O -I. $(LOC)# CF = -mbaserel -O -I. $(LOC)LF = -mbaserel -mpcrel -o unzip.ttpLF2 = -s -lbiio# UnZipSFX flagsXC = -DSFXXL = -mbaserel -mpcrel -o unzipsfx.ttpXL2 = $(LF2)# fUnZip flagsFC = -DFUNZIPFL = -mbaserel -mpcrel -o funzip.ttpFL2 = $(LF2)# general-purpose stuffCP = cpLN = ln -sRM = rm -fE = .ttpO = .oM = atariSHELL = /bin/sh# object filesOBJS1 = unzip$O crc32$O crctab$O crypt$O envargs$O explode$OOBJS2 = extract$O fileio$O globals$O inflate$O list$O match$OOBJS3 = process$O ttyio$O unreduce$O unshrink$O zipinfo$OOBJS = $(OBJS1) $(OBJS2) $(OBJS3) $M$OLOBJS = $(OBJS)OBJX = unzipsfx$O crc32$O crctab$O crypt$O extract_$O fileio$O globals$O \	inflate$O match$O process_$O ttyio$O $M_$OOBJF = funzip$O crc32$O crypt_$O globals_$O inflate_$O ttyio_$OUNZIP_H = unzip.h unzpriv.h globals.h# installationINSTALL = cp#	probably can change this to 'install' if you have it# on some systems, manext=l and MANDIR=/usr/man/man$(manext) may be appropriatemanext = 1MANDIR = /usr/local/man/man$(manext)#	where to install man pagesBINDIR = /usr/local/bin#		where to install executables#UNZIPS = unzip$E funzip$E unzipsfx$E zipinfo$EMANS = unzip.$(manext) unzipsfx.$(manext) zipinfo.$(manext) funzip.$(manext)DOCS = unzip.doc unzipsfx.doc zipinfo.doc funzip.doc# this is a little ugly...INSTALLED = $(BINDIR)/unzip$E $(BINDIR)/zipinfo$E $(BINDIR)/funzip$E \	$(BINDIR)/unzipsfx$E $(MANDIR)/unzipsfx.$(manext) \	$(MANDIR)/unzip.$(manext) $(MANDIR)/zipinfo.$(manext) \	$(MANDIR)/funzip.$(manext)################################################ BASIC COMPILE INSTRUCTIONS AND DEPENDENCIES ################################################.c$O:	$(CC) -c $(CF) $*.call:		unzipsunzips:		$(UNZIPS)docs:		$(DOCS)unzipsman:	unzips docsunzipsdocs:	unzips docsclean:	rm -f $(OBJS) $(OBJF) $(OBJX) $(UNZIPS)install:	$(UNZIPS) $(MANS)	$(INSTALL) $(UNZIPS) $(BINDIR)	$(LN) $(BINDIR)/unzip$E $(BINDIR)/zipinfo$E	$(INSTALL) unix/unzip.1 $(MANDIR)/unzip.$(manext)	$(INSTALL) unix/unzipsfx.1 $(MANDIR)/unzipsfx.$(manext)	$(INSTALL) unix/zipinfo.1 $(MANDIR)/zipinfo.$(manext)	$(INSTALL) unix/funzip.1 $(MANDIR)/funzip.$(manext)# alternatively, could use zip method:  -cd $(BINDIR); rm -f $(UNZIPS)  [etc.]uninstall:	rm -f $(INSTALLED)unzip$E:	$(OBJS)			# add `&' if parallel makes supported	$(LD) $(LF) $(LOBJS) $(LF2)unzipsfx$E:	$(OBJX)			# add `&' if parallel makes supported	$(LD) $(XL) $(OBJX) $(XL2)funzip$E:	$(OBJF)			# add `&' if parallel makes supported	$(LD) $(FL) $(OBJF) $(FL2)zipinfo$E:	unzip$E	@echo\ '  This is a Unix-inspired target.  If your filesystem does not support'	@echo\ '  symbolic links, copy unzip.ttp to zipinfo.ttp rather than linking it,'	@echo\ '  or else invoke as "unzip -Z".'	$(LN) unzip$E zipinfo$Ecrc32$O:	crc32.c $(UNZIP_H) zip.hcrctab$O:	crctab.c $(UNZIP_H) zip.hcrypt$O:	crypt.c $(UNZIP_H) zip.h crypt.h ttyio.henvargs$O:	envargs.c $(UNZIP_H)explode$O:	explode.c $(UNZIP_H)extract$O:	extract.c $(UNZIP_H) crypt.hfileio$O:	fileio.c $(UNZIP_H) crypt.h ttyio.h ebcdic.hfunzip$O:	funzip.c $(UNZIP_H) crypt.h ttyio.h tables.hglobals$O:	globals.c $(UNZIP_H)inflate$O:	inflate.c inflate.h $(UNZIP_H)list$O:		list.c $(UNZIP_H)match$O:	match.c $(UNZIP_H)process$O:	process.c $(UNZIP_H)ttyio$O:	ttyio.c $(UNZIP_H) zip.h crypt.h ttyio.hunreduce$O:	unreduce.c $(UNZIP_H)unshrink$O:	unshrink.c $(UNZIP_H)unzip$O:	unzip.c $(UNZIP_H) crypt.h version.h consts.hzipinfo$O:	zipinfo.c $(UNZIP_H)crypt_$O:	crypt.c $(UNZIP_H) zip.h crypt.h ttyio.h	# funzip only	$(CP) crypt.c crypt_.c	$(CC) -c $(CF) $(FC) crypt_.c	$(RM) crypt_.cglobals_$O:	globals.c $(UNZIP_H)	$(CP) globals.c globals_.c	$(CC) -c $(CF) $(FC) globals_.c	$(RM) globals_.cinflate_$O:	inflate.c inflate.h $(UNZIP_H) crypt.h	# funzip only	$(CP) inflate.c inflate_.c	$(CC) -c $(CF) $(FC) inflate_.c	$(RM) inflate_.cttyio_$O:	ttyio.c $(UNZIP_H) zip.h crypt.h ttyio.h	# funzip only	$(CP) ttyio.c ttyio_.c	$(CC) -c $(CF) $(FC) ttyio_.c	$(RM) ttyio_.cunzipsfx$O:	unzip.c $(UNZIP_H) crypt.h version.h consts.h	# unzipsfx only	$(CP) unzip.c unzip_.c	$(CC) -c $(CF) $(XC) unzip_.c	$(RM) unzip_.cextract_$O:	extract.c $(UNZIP_H) crypt.h		# unzipsfx only	$(CP) extract.c extract_.c	$(CC) -c $(CF) $(XC) extract_.c	$(RM) extract_.cprocess_$O:	process.c $(UNZIP_H)			# unzipsfx only	$(CP) process.c process_.c	$(CC) -c $(CF) $(XC) process_.c	$(RM) process_.c# atari$O:	atari/atari.c $(UNZIP_H)		# Atari only#	$(CC) -c $(CF) atari/atari.catari$O:	atari.c $(UNZIP_H)atari_$O:	atari.c $(UNZIP_H)			# unzipsfx only	$(CP) atari.c atari_.c	$(CC) -c $(CF) $(XC) atari_.c	$(RM) atari_.c

⌨️ 快捷键说明

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