📄 makefile.in
字号:
# Makefile template for GNU indent# Copyright (C) 1992, Free Software Foundation, Inc.## This file is part of GNU indent.## GNU indent 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.# # GNU indent 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 GNU indent; see the file COPYING. If not, write to# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.#### Start of system configuration section. ####srcdir = @srcdir@VPATH = @srcdir@CC = @CC@INSTALL = @INSTALL@INSTALL_PROGRAM = @INSTALL_PROGRAM@INSTALL_DATA = @INSTALL_DATA@AWK = awkMAKEINFO = makeinfo# Used in making distributions. GNU now uses the utility `gzip'# form compaction.TAR = tarZIP = gzipDVITOGHOSTSCRIPT = dvi2ps indent.dvi > indent.psCTAGS = etagsCFLAGS = -O -gLDFLAGS = -g# C compiler -D options.DEFS = @DEFS@# Where to install indent and its documentation.prefix = /usr/localexec_prefix = ${prefix}bindir = $(exec_prefix)/bininfodir = ${prefix}/info#### End of system configuration section. ####SHELL = /bin/shSRC = indent.c io.c lexi.c parse.c pr_comment.c args.c globs.c \ backup.c memcpy.cOBJ = indent.o io.o lexi.o parse.o pr_comment.o args.o globs.o \ backup.o @LIBOBJS@HEADERS = indent.h sys.h version.h backup.hMAN = indent.texinfo texinfo.texNOTES = ChangeLog OChangeLog ProjectsVMSFILES= VMS-README gnuc-make.com vaxc-make.comCONFIG = configure.in configure CONF-READMEMANJUNK = indent.dvi indent.cp indent.cps indent.aux indent.dlog \indent.fn indent.fns indent.ky indent.kys indent.log indent.pg \indent.pgs indent.toc indent.tp indent.tps indent.vr indent.vrs indent.ps # What to put in a distributionTARFILES = ${SRC} Makefile makefile.in ${MAN} indent.info ${HEADERS} \${NOTES} indent.gperf ${CONFIG} indent.1 ${VMSFILES}RELEASEFILES = RELEASE-NOTES README# Make the program and documentation#all: indent indent.infoindent: ${OBJ} ${CC} -o indent ${LDFLAGS} ${OBJ}.c.o: ${CC} -c ${CFLAGS} ${CPPFLAGS} ${DEFS} $<backup.o: backup.c backup.h sys.h makefileglobs.o: globs.c sys.h makefileindent.o: indent.c indent.h sys.h makefileargs.o: args.c version.h indent.h sys.h makefileio.o: io.c indent.h sys.h makefilelexi.o: lexi.c indent.h sys.h makefileparse.o: parse.c indent.h sys.h makefilepr_comment.o: pr_comment.c indent.h sys.h makefilememcpy.o: memcpy.c indent.h sys.h makefile# Build tag tablestags: ${SRC} ${CTAGS} -t ${SRC} ${HEADERS}TAGS: tags# Documents#indent.ps: indent.dvi ${DVITOGHOSTSCRIPT}indent.dvi: indent.toc tex ${srcdir}/indent.texinfoindent.toc: ${MAN} tex ${srcdir}/indent.texinfoindent.info: ${MAN} ${MAKEINFO} ${srcdir}/indent.texinfo# Installation of indent#install: all ${INSTALL_PROGRAM} indent ${bindir}/indent ${INSTALL_DATA} ${srcdir}/indent.info ${infodir}/indent.info# Cleaning up## Delete all files generated by building indent or making the manualclean: mostlyclean rm -f ${MANJUNK}# Delete all files created by configuring or building indentdistclean: clean rm -f makefile indent-*.tar* rm -rf indent-*# Clean up the .o files, leaving the man stuffmostlyclean: rm -f ${OBJ} indent# Clean up tar files, indent-generated backup files, and indent# subdirectoriesrealclean: distclean rm -f indent.info TAGS core# Create a distribution file#DISTDIR = indent-${VERSION}TARFILE = indent-${VERSION}.tarDISTFILE = ${TARFILE}.gzAWKVERSION = ${AWK} '/define VERSION_STRING/ {printf "%s", \ substr($$NF, 1, length($$NF) - 1)}' version.hdist: ${TARFILES} @export VERSION ; VERSION=`${AWKVERSION}` ; \ ${MAKE} tarfile# @unset VERSIONtar: dist# NOTE: GNU tar has a compress option, -z, which used to be used below.# However, GNU is now using `gzip' as it's compaction utility, and this# function has not yet been integrated into GNU `tar'.# tar -c -h -f ${TARFILE} ${DISTDIR}# compress ${TARFILE}tarfile: @test -f README-${VERSION} || (echo Missing file README-${VERSION}; exit 1) @test -f RELEASE-NOTES-${VERSION} || (echo Missing file RELEASE-NOTES-${VERSION}; exit 1) @echo Making compressed tar file, indent ${VERSION} @echo @rm -f README @ln -s README-${VERSION} README @rm -f RELEASE-NOTES @ln -s RELEASE-NOTES-${VERSION} RELEASE-NOTES @rm -rf ${DISTDIR} @rm -f ${DISTFILE} @mkdir ${DISTDIR} @cd ${DISTDIR} ; for i in ${TARFILES} ${RELEASEFILES} ; do ln -s ../$$i . ; done @${TAR} -c -v -h -f ${TARFILE} ${DISTDIR} ${ZIP} --verbose --best ${TARFILE} @rm -rf ${DISTDIR}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -