URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [readline/] [Makefile.in] - Rev 294
Go to most recent revision | Compare with Previous | Blame | View Log
## -*- 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 = mvPURIFY = @PURIFY@@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@ @CROSS_COMPILE@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.aWCWIDTH_OBJ = @WCWIDTH_OBJ@# 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 $(srcdir)/support/wcwidth.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) \$(WCWIDTH_OBJ)# 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) $@wcwidth.o: $(srcdir)/support/wcwidth.c$(RM) $@$(CC) $(CCFLAGS) -c $(srcdir)/support/wcwidth.c# 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.crm -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.inCONFIG_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.inCONFIG_FILES= CONFIG_HEADERS=config.h ./config.statusecho > $@#$(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-headers## GDB LOCAL## Don't mess with people's installed readline's.## This tries to install this version of readline over whatever## version is already installed on the system (which could be a## newer version). There is no real reason for us to install## readline along with GDB. GDB links statically against readline,## so it doesn't depend on us installing it on the system.install:#install: $(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) $@ )mostlyclean: clean-( cd shlib && $(MAKE) $(MFLAGS) $@ )-( cd doc && $(MAKE) $(MFLAGS) $@ )-( cd examples && $(MAKE) $(MFLAGS) $@ )distclean maintainer-clean: clean-( cd shlib && $(MAKE) $(MFLAGS) $@ )-( cd doc && $(MAKE) $(MFLAGS) $@ )-( cd examples && $(MAKE) $(MFLAGS) $@ )$(RM) Makefile$(RM) $(CREATED_CONFIGURE)$(RM) $(CREATED_TAGS)info dvi pdf:-( cd doc && $(MAKE) $(MFLAGS) $@ )install-info:check:installcheck:dist: force@echo Readline distributions are created using $(srcdir)/support/mkdist.@echo Here is a sample of the necessary commands:@echo bash $(srcdir)/support/mkdist -m $(srcdir)/MANIFEST -s $(srcdir) -r $(RL_LIBRARY_NAME) $(RL_LIBRARY_VERSION)@echo tar cf $(RL_LIBRARY_NAME)-${RL_LIBRARY_VERSION}.tar ${RL_LIBRARY_NAME}-$(RL_LIBRARY_VERSION)@echo gzip $(RL_LIBRARY_NAME)-$(RL_LIBRARY_VERSION).tar# 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.o: ansi_stdlib.h posixstat.hbind.o: rldefs.h ${BUILD_DIR}/config.h rlconf.hbind.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h rlstdc.hbind.o: history.hcallback.o: rlconf.hcallback.o: rldefs.h ${BUILD_DIR}/config.h rlconf.hcallback.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h rlstdc.hcompat.o: rlstdc.hcomplete.o: ansi_stdlib.h posixdir.h posixstat.hcomplete.o: rldefs.h ${BUILD_DIR}/config.h rlconf.hcomplete.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h rlstdc.hdisplay.o: ansi_stdlib.h posixstat.hdisplay.o: rldefs.h ${BUILD_DIR}/config.h rlconf.hdisplay.o: tcap.hdisplay.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.hdisplay.o: history.h rlstdc.hfunmap.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.hfunmap.o: rlconf.h ansi_stdlib.h rlstdc.hfunmap.o: ${BUILD_DIR}/config.hhistexpand.o: ansi_stdlib.hhistexpand.o: history.h histlib.h rlstdc.h rltypedefs.hhistexpand.o: ${BUILD_DIR}/config.hhistfile.o: ansi_stdlib.hhistfile.o: history.h histlib.h rlstdc.h rltypedefs.hhistfile.o: ${BUILD_DIR}/config.hhistory.o: ansi_stdlib.hhistory.o: history.h histlib.h rlstdc.h rltypedefs.hhistory.o: ${BUILD_DIR}/config.hhistsearch.o: ansi_stdlib.hhistsearch.o: history.h histlib.h rlstdc.h rltypedefs.hhistsearch.o: ${BUILD_DIR}/config.hinput.o: ansi_stdlib.hinput.o: rldefs.h ${BUILD_DIR}/config.h rlconf.hinput.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h rlstdc.hisearch.o: rldefs.h ${BUILD_DIR}/config.h rlconf.hisearch.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.hisearch.o: ansi_stdlib.h history.h rlstdc.hkeymaps.o: emacs_keymap.c vi_keymap.ckeymaps.o: keymaps.h rltypedefs.h chardefs.h rlconf.h ansi_stdlib.hkeymaps.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.hkeymaps.o: ${BUILD_DIR}/config.h rlstdc.hkill.o: ansi_stdlib.hkill.o: rldefs.h ${BUILD_DIR}/config.h rlconf.hkill.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.hkill.o: history.h rlstdc.hmacro.o: ansi_stdlib.hmacro.o: rldefs.h ${BUILD_DIR}/config.h rlconf.hmacro.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.hmacro.o: history.h rlstdc.hmbutil.o: rldefs.h ${BUILD_DIR}/config.h rlconf.hmbutil.o: readline.h keymaps.h rltypedefs.h chardefs.h rlstdc.hmisc.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.hmisc.o: rldefs.h ${BUILD_DIR}/config.h rlconf.hmisc.o: history.h rlstdc.h ansi_stdlib.hnls.o: ansi_stdlib.hnls.o: rldefs.h ${BUILD_DIR}/config.h rlconf.hnls.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.hnls.o: history.h rlstdc.hparens.o: rlconf.hparens.o: ${BUILD_DIR}/config.hparens.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h rlstdc.hreadline.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.hreadline.o: rldefs.h ${BUILD_DIR}/config.h rlconf.hreadline.o: history.h rlstdc.hreadline.o: posixstat.h ansi_stdlib.h posixjmp.hrltty.o: rldefs.h ${BUILD_DIR}/config.h rlconf.hrltty.o: rltty.hrltty.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h rlstdc.hsearch.o: rldefs.h ${BUILD_DIR}/config.h rlconf.hsearch.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.hsearch.o: ansi_stdlib.h history.h rlstdc.hshell.o: ${BUILD_DIR}/config.hshell.o: ansi_stdlib.hsignals.o: rldefs.h ${BUILD_DIR}/config.h rlconf.hsignals.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.hsignals.o: history.h rlstdc.hterminal.o: rldefs.h ${BUILD_DIR}/config.h rlconf.hterminal.o: tcap.hterminal.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.hterminal.o: history.h rlstdc.htext.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.htext.o: rldefs.h ${BUILD_DIR}/config.h rlconf.htext.o: history.h rlstdc.h ansi_stdlib.htilde.o: ansi_stdlib.htilde.o: ${BUILD_DIR}/config.htilde.o: tilde.hundo.o: ansi_stdlib.hundo.o: rldefs.h ${BUILD_DIR}/config.h rlconf.hundo.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.hundo.o: history.h rlstdc.hutil.o: posixjmp.h ansi_stdlib.hutil.o: rldefs.h ${BUILD_DIR}/config.h rlconf.hutil.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h rlstdc.hvi_mode.o: rldefs.h ${BUILD_DIR}/config.h rlconf.hvi_mode.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.hvi_mode.o: history.h ansi_stdlib.h rlstdc.hxmalloc.o: ${BUILD_DIR}/config.hxmalloc.o: ansi_stdlib.hbind.o: rlshell.hhistfile.o: rlshell.hnls.o: rlshell.hreadline.o: rlshell.hshell.o: rlshell.hterminal.o: rlshell.hhistexpand.o: rlshell.hbind.o: rlprivate.hcallback.o: rlprivate.hcomplete.o: rlprivate.hdisplay.o: rlprivate.hinput.o: rlprivate.hisearch.o: rlprivate.hkill.o: rlprivate.hmacro.o: rlprivate.hmbutil.o: rlprivate.hmisc.o: rlprivate.hnls.o: rlprivate.hparens.o: rlprivate.hreadline.o: rlprivate.hrltty.o: rlprivate.hsearch.o: rlprivate.hsignals.o: rlprivate.hterminal.o: rlprivate.htext.o: rlprivate.hundo.o: rlprivate.hutil.o: rlprivate.hvi_mode.o: rlprivate.hbind.o: xmalloc.hcallback.o: xmalloc.hcomplete.o: xmalloc.hdisplay.o: xmalloc.hfunmap.o: xmalloc.hhistexpand.o: xmalloc.hhistfile.o: xmalloc.hhistory.o: xmalloc.hinput.o: xmalloc.hisearch.o: xmalloc.hkeymaps.o: xmalloc.hkill.o: xmalloc.hmacro.o: xmalloc.hmbutil.o: xmalloc.hmisc.o: xmalloc.hreadline.o: xmalloc.hsavestring.o: xmalloc.hsearch.o: xmalloc.hshell.o: xmalloc.hterminal.o: xmalloc.htext.o: xmalloc.htilde.o: xmalloc.hundo.o: xmalloc.hutil.o: xmalloc.hvi_mode.o: xmalloc.hxmalloc.o: xmalloc.hcomplete.o: rlmbutil.hdisplay.o: rlmbutil.hhistexpand.o: rlmbutil.hinput.o: rlmbutil.hisearch.o: rlmbutil.hmbutil.o: rlmbutil.hmisc.o: rlmbutil.hreadline.o: rlmbutil.hsearch.o: rlmbutil.htext.o: rlmbutil.hvi_mode.o: rlmbutil.hbind.o: $(srcdir)/bind.ccallback.o: $(srcdir)/callback.ccompat.o: $(srcdir)/compat.ccomplete.o: $(srcdir)/complete.cdisplay.o: $(srcdir)/display.cfunmap.o: $(srcdir)/funmap.cinput.o: $(srcdir)/input.cisearch.o: $(srcdir)/isearch.ckeymaps.o: $(srcdir)/keymaps.c $(srcdir)/emacs_keymap.c $(srcdir)/vi_keymap.ckill.o: $(srcdir)/kill.cmacro.o: $(srcdir)/macro.cmbutil.o: $(srcdir)/mbutil.cmisc.o: $(srcdir)/misc.cnls.o: $(srcdir)/nls.cparens.o: $(srcdir)/parens.creadline.o: $(srcdir)/readline.crltty.o: $(srcdir)/rltty.csavestring.o: $(srcdir)/savestring.csearch.o: $(srcdir)/search.cshell.o: $(srcdir)/shell.csignals.o: $(srcdir)/signals.cterminal.o: $(srcdir)/terminal.ctext.o: $(srcdir)/text.ctilde.o: $(srcdir)/tilde.cundo.o: $(srcdir)/undo.cutil.o: $(srcdir)/util.cvi_mode.o: $(srcdir)/vi_mode.cxmalloc.o: $(srcdir)/xmalloc.chistexpand.o: $(srcdir)/histexpand.chistfile.o: $(srcdir)/histfile.chistory.o: $(srcdir)/history.chistsearch.o: $(srcdir)/histsearch.cbind.o: bind.ccallback.o: callback.ccompat.o: compat.ccomplete.o: complete.cdisplay.o: display.cfunmap.o: funmap.cinput.o: input.cisearch.o: isearch.ckeymaps.o: keymaps.c emacs_keymap.c vi_keymap.ckill.o: kill.cmacro.o: macro.cmbutil.o: mbutil.cmisc.o: misc.cnls.o: nls.cparens.o: parens.creadline.o: readline.crltty.o: rltty.csavestring.o: savestring.csearch.o: search.cshell.o: shell.csignals.o: signals.cterminal.o: terminal.ctext.o: text.ctilde.o: tilde.cundo.o: undo.cutil.o: util.cvi_mode.o: vi_mode.cxmalloc.o: xmalloc.chistexpand.o: histexpand.chistfile.o: histfile.chistory.o: history.chistsearch.o: histsearch.c
Go to most recent revision | Compare with Previous | Blame | View Log
