URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [trunk/] [insight/] [readline/] [Makefile.in] - Rev 1768
Go to most recent revision | Compare with Previous | Blame | View Log
## -*- text -*- ### Master Makefile for the GNU readline library.# Copyright (C) 1994, 1998 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 = readlinesrcdir = @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 = mvSHELL = @MAKE_SHELL@prefix = @prefix@exec_prefix = @exec_prefix@bindir = @bindir@libdir = @libdir@mandir = @mandir@includedir = @includedir@infodir = @infodir@man3dir = $(mandir)/man3# 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) -I$(includedir)CCFLAGS = $(DEFS) $(LOCAL_DEFS) $(CPPFLAGS) $(INCLUDES) $(LOCAL_CFLAGS) $(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# 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.hHISTOBJ = history.o histexpand.o histfile.o histsearch.o shell.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 \nls.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##########################################################################all: staticeverything: static shared 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) $@readline: $(OBJECTS) readline.h rldefs.h chardefs.h ./libreadline.a$(CC) $(CCFLAGS) -o $@ ./examples/rl.c ./libreadline.a ${TERMCAP_LIB}Makefile 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 $(includedir)/readline ; \doneuninstall-headers:-test -n "$(includedir)" && cd $(includedir)/readline && \${RM} ${INSTALLED_HEADERS}maybe-uninstall-headers: uninstall-headers## CYGNUS 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: installdirs $(STATIC_LIBS) install-headers# -$(MV) $(libdir)/libreadline.a $(libdir)/libreadline.old# $(INSTALL_DATA) libreadline.a $(libdir)/libreadline.a# -test -n "$(RANLIB)" && $(RANLIB) -t $(libdir)/libreadline.a# -$(MV) $(libdir)/libhistory.a $(libdir)/libhistory.old# $(INSTALL_DATA) libhistory.a $(libdir)/libhistory.a# -test -n "$(RANLIB)" && $(RANLIB) -t $(libdir)/libhistory.a# -( if test -d doc ; then \# cd doc && \# ${MAKE} ${MFLAGS} infodir=$(infodir) $@; \# fi )installdirs: $(srcdir)/support/mkdirs-$(SHELL) $(srcdir)/support/mkdirs $(includedir) \$(includedir)/readline $(libdir) $(infodir) $(man3dir)uninstall: uninstall-headers-test -n "$(libdir)" && cd $(libdir) && \${RM} libreadline.a libreadline.old libhistory.a libhistory.old $(SHARED_LIBS)install-shared: installdirs install-headers shared-( cd shlib ; ${MAKE} ${MFLAGS} install )uninstall-shared: maybe-uninstall-headers-( cd shlib; ${MAKE} ${MFLAGS} uninstall )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:-( 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 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 chardefs.h tilde.h rlstdc.hcomplete.o: ansi_stdlib.h posixdir.h posixstat.hcomplete.o: rldefs.h ${BUILD_DIR}/config.h rlconf.hcomplete.o: readline.h keymaps.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 chardefs.h tilde.hdisplay.o: history.h rlstdc.hfunmap.o: readline.h keymaps.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.hhistexpand.o: ${BUILD_DIR}/config.hhistfile.o: ansi_stdlib.hhistfile.o: history.h histlib.h rlstdc.hhistfile.o: ${BUILD_DIR}/config.hhistory.o: ansi_stdlib.hhistory.o: history.h histlib.h rlstdc.hhistory.o: ${BUILD_DIR}/config.hhistsearch.o: ansi_stdlib.hhistsearch.o: history.h histlib.h rlstdc.hhistsearch.o: ${BUILD_DIR}/config.hinput.o: ansi_stdlib.hinput.o: rldefs.h ${BUILD_DIR}/config.h rlconf.hinput.o: readline.h keymaps.h chardefs.h tilde.h rlstdc.hisearch.o: rldefs.h ${BUILD_DIR}/config.h rlconf.hisearch.o: readline.h keymaps.h chardefs.h tilde.hisearch.o: ansi_stdlib.h history.h rlstdc.hkeymaps.o: emacs_keymap.c vi_keymap.ckeymaps.o: keymaps.h chardefs.h rlconf.h ansi_stdlib.hkeymaps.o: readline.h keymaps.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 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 chardefs.h tilde.hmacro.o: history.h rlstdc.hnls.o: ansi_stdlib.hnls.o: rldefs.h ${BUILD_DIR}/config.h rlconf.hnls.o: readline.h keymaps.h chardefs.h tilde.hnls.o: history.h rlstdc.hparens.o: rlconf.hparens.o: ${BUILD_DIR}/config.hparens.o: readline.h keymaps.h chardefs.h tilde.h rlstdc.hreadline.o: readline.h keymaps.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 chardefs.h tilde.h rlstdc.hsearch.o: rldefs.h ${BUILD_DIR}/config.h rlconf.hsearch.o: readline.h keymaps.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 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 chardefs.h tilde.hterminal.o: history.h rlstdc.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 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 chardefs.h tilde.h rlstdc.hvi_mode.o: rldefs.h ${BUILD_DIR}/config.h rlconf.hvi_mode.o: readline.h keymaps.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.hnls.o: rlprivate.hparens.o: rlprivate.hreadline.o: rlprivate.hrltty.o: rlprivate.hsearch.o: rlprivate.hsignals.o: rlprivate.hterminal.o: rlprivate.hundo.o: rlprivate.hutil.o: rlprivate.hvi_mode.o: rlprivate.hbind.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.hreadline.o: xmalloc.hsavestring.o: xmalloc.hsearch.o: xmalloc.hshell.o: xmalloc.htilde.o: xmalloc.htilde.o: xmalloc.hutil.o: xmalloc.hvi_mode.o: xmalloc.hreadline.o: $(srcdir)/readline.cvi_mode.o: $(srcdir)/vi_mode.cfunmap.o: $(srcdir)/funmap.ckeymaps.o: $(srcdir)/keymaps.cparens.o: $(srcdir)/parens.csearch.o: $(srcdir)/search.crltty.o: $(srcdir)/rltty.ccomplete.o: $(srcdir)/complete.cbind.o: $(srcdir)/bind.cisearch.o: $(srcdir)/isearch.cdisplay.o: $(srcdir)/display.csignals.o: $(srcdir)/signals.cutil.o: $(srcdir)/util.ckill.o: $(srcdir)/kill.cundo.o: $(srcdir)/undo.cmacro.o: $(srcdir)/macro.cinput.o: $(srcdir)/input.ccallback.o: $(srcdir)/callback.cterminal.o: $(srcdir)/terminal.cnls.o: $(srcdir)/nls.cxmalloc.o: $(srcdir)/xmalloc.chistory.o: $(srcdir)/history.chistexpand.o: $(srcdir)/histexpand.chistfile.o: $(srcdir)/histfile.chistsearch.o: $(srcdir)/histsearch.csavestring.o: $(srcdir)/savestring.cshell.o: $(srcdir)/shell.ctilde.o: $(srcdir)/tilde.creadline.o: readline.cvi_mode.o: vi_mode.cfunmap.o: funmap.ckeymaps.o: keymaps.cparens.o: parens.csearch.o: search.crltty.o: rltty.ccomplete.o: complete.cbind.o: bind.cisearch.o: isearch.cdisplay.o: display.csignals.o: signals.cutil.o: util.ckill.o: kill.cundo.o: undo.cmacro.o: macro.cinput.o: input.ccallback.o: callback.cterminal.o: terminal.cnls.o: nls.cxmalloc.o: xmalloc.chistory.o: history.chistexpand.o: histexpand.chistfile.o: histfile.chistsearch.o: histsearch.csavestring.o: savestring.cshell.o: shell.ctilde.o: tilde.c
Go to most recent revision | Compare with Previous | Blame | View Log
