📄 makefile.in
字号:
# Makefile for gzip (GNU zip) -*- Indented-Text -*-# Copyright (C) 1992-1993 Jean-loup Gailly and the Free Software Foundation# This program is free software; you can redistribute it and/or modify# it under the terms of the GNU General Public License as published by# the Free Software Foundation; either version 2, or (at your option)# any later version.# This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the# GNU General Public License for more details.# You should have received a copy of the GNU General Public License# along with this program; if not, write to the Free Software# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.# $Id: Makefile.in,v 0.13 1993/02/11 09:47:02 jloup Exp $#### Start of system configuration section. ####srcdir = @srcdir@VPATH = @srcdir@CC = @CC@CPP = @CPP@INSTALL = @INSTALL@INSTALL_PROGRAM = @INSTALL_PROGRAM@INSTALL_DATA = @INSTALL_DATA@# Things you might add to DEFS (configure usually figures out what to do):# -DDIRENT Use <dirent.h> for recursion (-r)# -DSYSDIR Use <sys/dir.h> for recursion (-r)# -DSYSNDIR Use <sys/ndir.h> for recursion (-r)# -DNDIR Use <ndir.h> for recursion (-r)# -DSTDC_HEADERS Use <stdlib.h># -DHAVE_UNISTD_H Use <unistd.h># -DHAVE_UTIME_H Use <utime.h># -DHAVE_SYSUTIME_H Use <sys/utime.h># -DNEED_MEMORY_H Use <memory.h># -DHAVE_STRING_H Use <string.h> (otherwise use strings.h)# -DRETSIGTYPE=int Define this if signal handlers must return an int.# -DNO_SYMLINK OS defines S_IFLNK but does not support symbolic links# -DNO_MULTIPLE_DOTS System does not allow file names with multiple dots# -DNO_UTIME System does not support setting file modification time# -DNO_CHOWN System does not support setting file owner# -DNO_DIR System does not support readdir()# -DPROTO Force function prototypes even if __STDC__ not defined# -DASMV Use asm version match.S# -DMSDOS MSDOS specific# -DOS2 OS/2 specific# -DVMS Vax/VMS specific# -DDEBUG Debug code# -DDYN_ALLOC Use dynamic allocation of large data structures# -DMAXSEG_64K Maximum array size is 64K (for 16 bit system)# -DRECORD_IO read() and write() are rounded to record sizes.# -DNO_STDIN_FSTAT fstat() is not available on stdin# -DNO_SIZE_CHECK stat() does not give a reliable file sizeDEFS = @DEFS@LIBS = @LIBS@ALLOCA = @ALLOCA@ # additional assembly sources for particular systems may be required.OBJA = @OBJA@SEDCMD = @SEDCMD@CFLAGS = -gLDFLAGS = $(CFLAGS)X=# For OS/2 or MSDOS, use: X=.exeO=.o# For OS/2 or MSDOS, use: O=.objprefix = /usr/localexec_prefix = $(prefix)bindir = $(exec_prefix)/bindatadir = $(prefix)/liblibdir = $(prefix)/libinfodir = $(prefix)/info# Extension (not including `.') for the installed manual page filenames.manext = 1# Where to install the manual pages.mandir = $(prefix)/man/man$(manext)#### End of system configuration section. ####SHELL = /bin/shLOADLIBES = $(LIBS)TAR = tarSRCS = gzip.c zip.c deflate.c trees.c bits.c unzip.c inflate.c util.c crypt.c\ lzw.c unlzw.c unpack.c makecrc.c getopt.c alloca.c match.SOBJS = gzip$O zip$O deflate$O trees$O bits$O unzip$O inflate$O util$O \ crypt$O lzw$O unlzw$O unpack$O getopt$O $(OBJA) $(ALLOCA)HDRS = gzip.h lzw.h tailor.h revision.h crypt.h getopt.hGENFILES = README NEWS INSTALL Makefile.in configure.in configure COPYING \ TODO THANKS ChangeLog $(SRCS) $(HDRS) zcmp.in zmore.in znew.in zdiff.in \ gzexe.in gzip.1 gunzip.1 gzcat.1 zcmp.1 zmore.1 znew.1 gzip.doc \ algorithm.doc gzip.texi texinfo.tex gpl.texinfo gzip.info gzip-tar.patchmsdosFILES = msdos/tailor.c msdos/match.asm msdos/gzip.prj msdos/doturboc.bat \ msdos/Makefile.msc msdos/Makefile.boros2FILES = os2/Makefile.os2vmsFILES = vms/Makefile.vms vms/makegzip.com vms/gzip.hlpamigaFILES = amiga/Makefile.sasc amiga/tailor.cDISTFILES = $(GENFILES) $(msdosFILES) $(os2FILES) $(vmsFILES) $(amigaFILES).c$O: $(CC) -c $(DEFS) $(CFLAGS) $(CPPFLAGS) $<.PHONY: default all force test checkdefault: allall: gzip$X zcmp zdiff zmore znew gzexeforce:#### Start of specific targets section. ###### 'configure' works only on Unix systems. For other systems able to make# sense of this makefile, you can define target specific entries here.# For other systems such as MSDOS, separate Makefiles are# provided in subdirectories.# gcc with emx 0.8f kit:os2_gcc: $(MAKE) all CC=gcc CFLAGS="-O -DOS2" X=".exe"# Xenix 2.3.2 for 286:xenix_286: $(MAKE) all CFLAGS="-LARGE -M2l"#### End of specific targets section. ####install: all gzip.info for f in gzip$X zcmp zdiff zmore znew gzexe; do \ $(INSTALL_PROGRAM) $${f} $(bindir)/$${f}; done for f in uncompress$X gunzip$X zcat$X ; do \ rm -f $(bindir)/$${f}; ln $(bindir)/gzip$X $(bindir)/$${f}; done -cd $(srcdir); for f in gzip gunzip gzcat zcmp zmore znew; do \ $(INSTALL_DATA) $${f}.1 $(mandir)/$${f}.$(manext); done -cd $(srcdir); for f in gzip.info* ; do $(INSTALL_DATA) $${f} \ $(infodir)/$${f}; doneuninstall: force -cd $(bindir); \ rm -f gzip$X zcmp zdiff zmore znew uncompress$X gunzip$X zcat$X -for f in gzip gunzip gzcat zcmp zmore znew; do \ rm -f $(mandir)/$${f}.$(manext); done -cd $(infodir); rm -f gzip.info*# install all files and replace compress (not recommended)install_compress: install -test -f $(bindir)/compress.old || \ mv $(bindir)/compress$X $(bindir)/compress.old ln $(bindir)/gzip$X $(bindir)/compress$Xtest: checkcheck: all ./gzip -5 < $(srcdir)/texinfo.tex > _gztest.z @if test `wc -c < _gztest.z` -ne 30890; then \ echo FAILED gzip test: incorrect size; rm -f _gztest*; exit 1; \ else :; fi rm -f _gztest ./gzip -d _gztest.z @if cmp _gztest $(srcdir)/texinfo.tex; then \ echo gzip test OK; else \ echo FAILED gzip test: incorrect decompress; fi rm -f _gztest*TAGS: $(SRCS) $(HDRS) cd $(srcdir); etags $(SRCS) $(HDRS)Makefile: Makefile.in ./config.status ./config.status./config.status: configure $(srcdir)/configure --srcdir=$(srcdir) --no-createconfigure: configure.in @echo Warning: configure is out of date# cd $(srcdir); autoconfclean: rm -f *$O gzip$X gunzip$X zcat$X a.out core rm -f zcmp zdiff zmore znew gzexe _gztest* rm -f *.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.kys *.log rm -f *.pg *.pgs *.toc *.tp *.tps *.vr *.vrsmostlyclean: cleandistclean: clean rm -f Makefile config.statusrealclean: distclean rm -f TAGS gzip.info*dist: $(DISTFILES) Makefile d=gzip-`sed -e '/VERSION/!d' -e 's/[^0-9.]*\([0-9.]*\).*/\1/' \ -e q revision.h` ; \ rm -rf $$d; \ mkdir $$d; chmod 777 $$d; ln $(GENFILES) $$d; \ mkdir $$d/msdos; chmod 777 $$d/msdos; ln $(msdosFILES) $$d/msdos; \ mkdir $$d/os2; chmod 777 $$d/os2; ln $(os2FILES) $$d/os2; \ mkdir $$d/vms; chmod 777 $$d/vms; ln $(vmsFILES) $$d/vms; \ mkdir $$d/amiga; chmod 777 $$d/amiga; ln $(amigaFILES) $$d/amiga; \ $(TAR) chofz $$d.tar.z $$d ; \ rm -rf $$dzipdist: $(DISTFILES) Makefile zip -u9T gzip`sed -e '/VERSION/!d' -e 's/[^0-9.]*\([0-9.]*\).*/\1/' \ -e s/[.]//g -e q revision.h` $(DISTFILES) # Actual build-related targetsgzip$X: Makefile $(OBJS) $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)gzip$O zip$O deflate$O trees$O bits$O unzip$O inflate$O: gzip.h tailor.hutil$O lzw$O unlzw$O unpack$O crypt$O: gzip.h tailor.hgzip$O unlzw$O: revision.h lzw.hbits$O unzip$O util$O zip$O: crypt.hgzip$O getopt$O: getopt.hmatch$O: match.S $(CPP) $(srcdir)/match.S > _match.s $(CC) -c _match.s mv _match$O match$O rm -f _match.szcmp: zcmp.in sed "$(SEDCMD)" $(srcdir)/zcmp.in > zcmp chmod 775 zcmpzdiff: zdiff.in sed "$(SEDCMD)" $(srcdir)/zdiff.in > zdiff chmod 775 zdiffzmore: zmore.in sed "$(SEDCMD)" $(srcdir)/zmore.in > zmore chmod 775 zmoreznew: znew.in sed "$(SEDCMD)" $(srcdir)/znew.in > znew chmod 775 znewgzexe: gzexe.in sed "$(SEDCMD)" $(srcdir)/gzexe.in > gzexe chmod 775 gzexegzip.info: gzip.texi cd $(srcdir); makeinfo gzip.texigzip.dvi: gzip.texi cd $(srcdir); texi2dvi gzip.texigzip.doc: gzip.1 cd $(srcdir); nroff -man gzip.1 | col -b | uniq > gzip.doc# Prevent GNU make v3 from overflowing arg limit on SysV..NOEXPORT:# end of file
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -