📄 makefile.in
字号:
## -*- text -*- ### Master Makefile for the GNU readline library.# Copyright (C) 1994-2004 Free Software Foundation, Inc.# 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., 59 Temple Place, Suite 330, Boston, MA 02111 USA.RL_LIBRARY_VERSION = @LIBVERSION@RL_LIBRARY_NAME = readlinePACKAGE = @PACKAGE_NAME@VERSION = @PACKAGE_VERSION@PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@PACKAGE_NAME = @PACKAGE_NAME@PACKAGE_STRING = @PACKAGE_STRING@PACKAGE_VERSION = @PACKAGE_VERSION@srcdir = @srcdir@VPATH = .:@srcdir@top_srcdir = @top_srcdir@BUILD_DIR = @BUILD_DIR@INSTALL = @INSTALL@INSTALL_PROGRAM = @INSTALL_PROGRAM@INSTALL_DATA = @INSTALL_DATA@CC = @CC@RANLIB = @RANLIB@AR = @AR@ARFLAGS = @ARFLAGS@RM = rm -fCP = cpMV = mv@SET_MAKE@SHELL = @MAKE_SHELL@prefix = @prefix@exec_prefix = @exec_prefix@bindir = @bindir@libdir = @libdir@mandir = @mandir@includedir = @includedir@datadir = @datadir@localedir = $(datadir)/localeinfodir = @infodir@man3dir = $(mandir)/man3# Support an alternate destination root directory for package buildingDESTDIR =# Programs to make tags files.ETAGS = etags -twCTAGS = ctags -twCFLAGS = @CFLAGS@LOCAL_CFLAGS = @LOCAL_CFLAGS@ -DRL_LIBRARY_VERSION='"$(RL_LIBRARY_VERSION)"'CPPFLAGS = @CPPFLAGS@DEFS = @DEFS@LOCAL_DEFS = @LOCAL_DEFS@TERMCAP_LIB = @TERMCAP_LIB@# For libraries which include headers from other libraries.INCLUDES = -I. -I$(srcdir)XCCFLAGS = $(DEFS) $(LOCAL_DEFS) $(CPPFLAGS) $(INCLUDES)CCFLAGS = $(XCCFLAGS) $(LOCAL_CFLAGS) $(CFLAGS)# could add -Werror hereGCC_LINT_FLAGS = -ansi -Wall -Wshadow -Wpointer-arith -Wcast-qual \ -Wwrite-strings -Wstrict-prototypes \ -Wmissing-prototypes -Wno-implicit -pedanticGCC_LINT_CFLAGS = $(XCCFLAGS) $(GCC_LINT_FLAGS) @CFLAGS@ @LOCAL_CFLAGS@.c.o: ${RM} $@ $(CC) -c $(CCFLAGS) $<# The name of the main library target.LIBRARY_NAME = libreadline.aSTATIC_LIBS = libreadline.a libhistory.a# The C code source files for this library.CSOURCES = $(srcdir)/readline.c $(srcdir)/funmap.c $(srcdir)/keymaps.c \ $(srcdir)/vi_mode.c $(srcdir)/parens.c $(srcdir)/rltty.c \ $(srcdir)/complete.c $(srcdir)/bind.c $(srcdir)/isearch.c \ $(srcdir)/display.c $(srcdir)/signals.c $(srcdir)/emacs_keymap.c \ $(srcdir)/vi_keymap.c $(srcdir)/util.c $(srcdir)/kill.c \ $(srcdir)/undo.c $(srcdir)/macro.c $(srcdir)/input.c \ $(srcdir)/callback.c $(srcdir)/terminal.c $(srcdir)/xmalloc.c \ $(srcdir)/history.c $(srcdir)/histsearch.c $(srcdir)/histexpand.c \ $(srcdir)/histfile.c $(srcdir)/nls.c $(srcdir)/search.c \ $(srcdir)/shell.c $(srcdir)/savestring.c $(srcdir)/tilde.c \ $(srcdir)/text.c $(srcdir)/misc.c $(srcdir)/compat.c \ $(srcdir)/mbutil.c# The header files for this library.HSOURCES = readline.h rldefs.h chardefs.h keymaps.h history.h histlib.h \ posixstat.h posixdir.h posixjmp.h tilde.h rlconf.h rltty.h \ ansi_stdlib.h tcap.h rlstdc.h xmalloc.h rlprivate.h rlshell.h \ rltypedefs.h rlmbutil.hHISTOBJ = history.o histexpand.o histfile.o histsearch.o shell.o mbutil.oTILDEOBJ = tilde.oOBJECTS = readline.o vi_mode.o funmap.o keymaps.o parens.o search.o \ rltty.o complete.o bind.o isearch.o display.o signals.o \ util.o kill.o undo.o macro.o input.o callback.o terminal.o \ text.o nls.o misc.o compat.o xmalloc.o $(HISTOBJ) $(TILDEOBJ)# The texinfo files which document this library.DOCSOURCE = doc/rlman.texinfo doc/rltech.texinfo doc/rluser.texinfoDOCOBJECT = doc/readline.dviDOCSUPPORT = doc/MakefileDOCUMENTATION = $(DOCSOURCE) $(DOCOBJECT) $(DOCSUPPORT)CREATED_MAKEFILES = Makefile doc/Makefile examples/Makefile shlib/MakefileCREATED_CONFIGURE = config.status config.h config.cache config.log \ stamp-config stamp-hCREATED_TAGS = TAGS tagsINSTALLED_HEADERS = readline.h chardefs.h keymaps.h history.h tilde.h \ rlstdc.h rlconf.h rltypedefs.h##########################################################################TARGETS = @STATIC_TARGET@ @SHARED_TARGET@INSTALL_TARGETS = @STATIC_INSTALL_TARGET@ @SHARED_INSTALL_TARGET@all: $(TARGETS)everything: all examplesstatic: $(STATIC_LIBS)libreadline.a: $(OBJECTS) $(RM) $@ $(AR) $(ARFLAGS) $@ $(OBJECTS) -test -n "$(RANLIB)" && $(RANLIB) $@libhistory.a: $(HISTOBJ) xmalloc.o $(RM) $@ $(AR) $(ARFLAGS) $@ $(HISTOBJ) xmalloc.o -test -n "$(RANLIB)" && $(RANLIB) $@# Since tilde.c is shared between readline and bash, make sure we compile# it with the right flags when it's built as part of readlinetilde.o: tilde.c rm -f $@ $(CC) $(CCFLAGS) -DREADLINE_LIBRARY -c $(srcdir)/tilde.creadline: $(OBJECTS) readline.h rldefs.h chardefs.h ./libreadline.a $(CC) $(CCFLAGS) -o $@ ./examples/rl.c ./libreadline.a ${TERMCAP_LIB}lint: force $(MAKE) $(MFLAGS) CCFLAGS='$(GCC_LINT_CFLAGS)' staticMakefile makefile: config.status $(srcdir)/Makefile.in CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.statusMakefiles makefiles: config.status $(srcdir)/Makefile.in @for mf in $(CREATED_MAKEFILES); do \ CONFIG_FILES=$$mf CONFIG_HEADERS= $(SHELL) ./config.status ; \ doneconfig.status: configure $(SHELL) ./config.status --recheckconfig.h: stamp-hstamp-h: config.status $(srcdir)/config.h.in CONFIG_FILES= CONFIG_HEADERS=config.h ./config.status echo > $@#$(srcdir)/configure: $(srcdir)/configure.in ## Comment-me-out in distribution# cd $(srcdir) && autoconf ## Comment-me-out in distributionshared: force -test -d shlib || mkdir shlib -( cd shlib ; ${MAKE} ${MFLAGS} all )documentation: force -test -d doc || mkdir doc -( cd doc && $(MAKE) $(MFLAGS) )examples: force -test -d examples || mkdir examples -(cd examples && ${MAKE} ${MFLAGS} all )force:install-headers: installdirs ${INSTALLED_HEADERS} for f in ${INSTALLED_HEADERS}; do \ $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(includedir)/readline ; \ doneuninstall-headers: -test -n "$(includedir)" && cd $(DESTDIR)$(includedir)/readline && \ ${RM} ${INSTALLED_HEADERS}maybe-uninstall-headers: uninstall-headersinstall: $(INSTALL_TARGETS)install-static: installdirs $(STATIC_LIBS) install-headers install-doc -$(MV) $(DESTDIR)$(libdir)/libreadline.a $(DESTDIR)$(libdir)/libreadline.old $(INSTALL_DATA) libreadline.a $(DESTDIR)$(libdir)/libreadline.a -test -n "$(RANLIB)" && $(RANLIB) $(DESTDIR)$(libdir)/libreadline.a -$(MV) $(DESTDIR)$(libdir)/libhistory.a $(DESTDIR)$(libdir)/libhistory.old $(INSTALL_DATA) libhistory.a $(DESTDIR)$(libdir)/libhistory.a -test -n "$(RANLIB)" && $(RANLIB) $(DESTDIR)$(libdir)/libhistory.ainstalldirs: $(srcdir)/support/mkinstalldirs -$(SHELL) $(srcdir)/support/mkinstalldirs $(DESTDIR)$(includedir) \ $(DESTDIR)$(includedir)/readline $(DESTDIR)$(libdir) \ $(DESTDIR)$(infodir) $(DESTDIR)$(man3dir)uninstall: uninstall-headers uninstall-doc -test -n "$(DESTDIR)$(libdir)" && cd $(DESTDIR)$(libdir) && \ ${RM} libreadline.a libreadline.old libhistory.a libhistory.old $(SHARED_LIBS) -( cd shlib; ${MAKE} ${MFLAGS} DESTDIR=${DESTDIR} uninstall )install-shared: installdirs install-headers shared install-doc -( cd shlib ; ${MAKE} ${MFLAGS} DESTDIR=${DESTDIR} install ) uninstall-shared: maybe-uninstall-headers -( cd shlib; ${MAKE} ${MFLAGS} DESTDIR=${DESTDIR} uninstall )install-doc: installdirs -( if test -d doc ; then \ cd doc && \ ${MAKE} ${MFLAGS} infodir=$(infodir) DESTDIR=${DESTDIR} install; \ fi )uninstall-doc: -( if test -d doc ; then \ cd doc && \ ${MAKE} ${MFLAGS} infodir=$(infodir) DESTDIR=${DESTDIR} uninstall; \ fi )TAGS: force $(ETAGS) $(CSOURCES) $(HSOURCES)tags: force $(CTAGS) $(CSOURCES) $(HSOURCES)clean: force $(RM) $(OBJECTS) $(STATIC_LIBS) $(RM) readline readline.exe -( cd shlib && $(MAKE) $(MFLAGS) $@ ) -( cd doc && $(MAKE) $(MFLAGS) $@ ) -( cd examples && $(MAKE) $(MFLAGS) $@ )
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -