📄 makefile.in
字号:
## -*- text -*- ### Makefile for the GNU readline library shared library support.## Copyright (C) 1998-2003 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.PACKAGE = @PACKAGE_NAME@VERSION = @PACKAGE_VERSION@PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@PACKAGE_NAME = @PACKAGE_NAME@PACKAGE_STRING = @PACKAGE_STRING@PACKAGE_VERSION = @PACKAGE_VERSION@RL_LIBRARY_VERSION = @LIBVERSION@RL_LIBRARY_NAME = readlinesrcdir = @srcdir@VPATH = .:@top_srcdir@topdir = @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 = mvLN = lnSHELL = @MAKE_SHELL@host_os = @host_os@prefix = @prefix@exec_prefix = @exec_prefix@includedir = @includedir@libdir = @libdir@datadir = @datadir@localedir = $(datadir)/locale# Support an alternate destination root directory for package buildingDESTDIR =CFLAGS = @CFLAGS@LOCAL_CFLAGS = @LOCAL_CFLAGS@ -DRL_LIBRARY_VERSION='"$(RL_LIBRARY_VERSION)"'CPPFLAGS = @CPPFLAGS@LDFLAGS = @LDFLAGS@ @LOCAL_LDFLAGS@ @CFLAGS@DEFS = @DEFS@LOCAL_DEFS = @LOCAL_DEFS@## These values are generated for configure by ${topdir}/support/shobj-conf.# If your system is not supported by that script, but includes facilities for# dynamic loading of shared objects, please update the script and send the# changes to bash-maintainers@gnu.org.#SHOBJ_CC = @SHOBJ_CC@SHOBJ_CFLAGS = @SHOBJ_CFLAGS@SHOBJ_LD = @SHOBJ_LD@SHOBJ_LDFLAGS = @SHOBJ_LDFLAGS@SHOBJ_XLDFLAGS = @SHOBJ_XLDFLAGS@SHOBJ_LIBS = @SHOBJ_LIBS@SHLIB_XLDFLAGS = @LDFLAGS@ @SHLIB_XLDFLAGS@SHLIB_LIBS = @SHLIB_LIBS@SHLIB_LIBSUFF = @SHLIB_LIBSUFF@SHLIB_LIBVERSION = @SHLIB_LIBVERSION@SHLIB_STATUS = @SHLIB_STATUS@# shared library versioningSHLIB_MAJOR= @SHLIB_MAJOR@# shared library systems like SVR4's do not use minor versionsSHLIB_MINOR= .@SHLIB_MINOR@# For libraries which include headers from other libraries.INCLUDES = -I. -I.. -I$(topdir)CCFLAGS = $(DEFS) $(LOCAL_DEFS) $(CPPFLAGS) $(INCLUDES) $(LOCAL_CFLAGS) $(CFLAGS).SUFFIXES: .so.c.so: ${RM} $@ $(SHOBJ_CC) -c $(CCFLAGS) $(SHOBJ_CFLAGS) -o $*.o $< $(MV) $*.o $@# The name of the main library target.SHARED_READLINE = libreadline.$(SHLIB_LIBVERSION)SHARED_HISTORY = libhistory.$(SHLIB_LIBVERSION)SHARED_LIBS = $(SHARED_READLINE) $(SHARED_HISTORY)# The C code source files for this library.CSOURCES = $(topdir)/readline.c $(topdir)/funmap.c $(topdir)/keymaps.c \ $(topdir)/vi_mode.c $(topdir)/parens.c $(topdir)/rltty.c \ $(topdir)/complete.c $(topdir)/bind.c $(topdir)/isearch.c \ $(topdir)/display.c $(topdir)/signals.c $(topdir)/emacs_keymap.c \ $(topdir)/vi_keymap.c $(topdir)/util.c $(topdir)/kill.c \ $(topdir)/undo.c $(topdir)/macro.c $(topdir)/input.c \ $(topdir)/callback.c $(topdir)/terminal.c $(topdir)/xmalloc.c \ $(topdir)/history.c $(topdir)/histsearch.c $(topdir)/histexpand.c \ $(topdir)/histfile.c $(topdir)/nls.c $(topdir)/search.c \ $(topdir)/shell.c $(topdir)/savestring.c $(topdir)/tilde.c \ $(topdir)/text.c $(topdir)/misc.c $(topdir)/compat.c \ $(topdir)/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 xmalloc.h rlprivate.h rlshell.h rlmbutil.hSHARED_HISTOBJ = history.so histexpand.so histfile.so histsearch.so shell.so \ mbutil.soSHARED_TILDEOBJ = tilde.soSHARED_OBJ = readline.so vi_mode.so funmap.so keymaps.so parens.so search.so \ rltty.so complete.so bind.so isearch.so display.so signals.so \ util.so kill.so undo.so macro.so input.so callback.so terminal.so \ text.so nls.so misc.so xmalloc.so $(SHARED_HISTOBJ) $(SHARED_TILDEOBJ) \ compat.so##########################################################################all: $(SHLIB_STATUS)supported: $(SHARED_LIBS)unsupported: @echo "Your system and compiler (${host_os}-${CC}) are not supported by the" @echo "${topdir}/support/shobj-conf script." @echo "If your operating system provides facilities for creating" @echo "shared libraries, please update the script and re-run configure." @echo "Please send the changes you made to bash-maintainers@gnu.org" @echo "for inclusion in future bash and readline releases."$(SHARED_READLINE): $(SHARED_OBJ) $(RM) $@ $(SHOBJ_LD) ${SHOBJ_LDFLAGS} ${SHLIB_XLDFLAGS} -o $@ $(SHARED_OBJ) $(SHLIB_LIBS)$(SHARED_HISTORY): $(SHARED_HISTOBJ) xmalloc.so $(RM) $@ $(SHOBJ_LD) ${SHOBJ_LDFLAGS} ${SHLIB_XLDFLAGS} -o $@ $(SHARED_HISTOBJ) xmalloc.so $(SHLIB_LIBS)# 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.so: tilde.c ${RM} $@ $(SHOBJ_CC) -c $(CCFLAGS) $(SHOBJ_CFLAGS) -DREADLINE_LIBRARY -c -o tilde.o $(topdir)/tilde.c $(MV) tilde.o $@installdirs: $(topdir)/support/mkdirs -$(SHELL) $(topdir)/support/mkdirs $(DESTDIR)$(libdir)install: installdirs $(SHLIB_STATUS) $(SHELL) $(topdir)/support/shlib-install -O $(host_os) -d $(DESTDIR)$(libdir) -i "$(INSTALL_DATA)" $(SHARED_HISTORY) $(SHELL) $(topdir)/support/shlib-install -O $(host_os) -d $(DESTDIR)$(libdir) -i "$(INSTALL_DATA)" $(SHARED_READLINE) @echo install: you may need to run ldconfiguninstall: $(SHELL) $(topdir)/support/shlib-install -O $(host_os) -d $(DESTDIR)$(libdir) -U $(SHARED_HISTORY) $(SHELL) $(topdir)/support/shlib-install -O $(host_os) -d $(DESTDIR)$(libdir) -U $(SHARED_READLINE) @echo uninstall: you may need to run ldconfigclean mostlyclean: force $(RM) $(SHARED_OBJ) $(SHARED_LIBS)distclean maintainer-clean: clean $(RM) Makefileforce:# Tell versions [3.59,3.63) of GNU make not to export all variables.# Otherwise a system limit (for SysV at least) may be exceeded..NOEXPORT:# Dependenciesbind.so: $(topdir)/ansi_stdlib.h $(topdir)/posixstat.hbind.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.hbind.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.hbind.so: $(topdir)/rltypedefs.hbind.so: $(topdir)/tilde.h $(topdir)/history.hcompat.so: $(topdir)/rlstdc.hcallback.so: $(topdir)/rlconf.hcallback.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.hcallback.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.hcallback.so: $(topdir)/rltypedefs.hcallback.so: $(topdir)/tilde.hcomplete.so: $(topdir)/ansi_stdlib.h posixdir.h $(topdir)/posixstat.hcomplete.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.hcomplete.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.hcomplete.so: $(topdir)/rltypedefs.hcomplete.so: $(topdir)/tilde.hdisplay.so: $(topdir)/ansi_stdlib.h $(topdir)/posixstat.hdisplay.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.hdisplay.so: $(topdir)/tcap.hdisplay.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.hdisplay.so: $(topdir)/rltypedefs.hdisplay.so: $(topdir)/tilde.h $(topdir)/history.hfunmap.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.hfunmap.so: $(topdir)/rltypedefs.hfunmap.so: $(topdir)/rlconf.h $(topdir)/ansi_stdlib.hfunmap.so: ${BUILD_DIR}/config.h $(topdir)/tilde.h
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -