URL
                    https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
                
            Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [readline/] [examples/] [rlfe/] [Makefile.in] - Rev 294
Go to most recent revision | Compare with Previous | Blame | View Log
## Makefile template for rlfe## See machine dependant config.h for more configuration options.#srcdir = @srcdir@VPATH = @srcdir@DESTDIR =# Where to install screen.prefix = @prefix@exec_prefix = @exec_prefix@# don't forget to change mandir and infodir in doc/Makefile.bindir = $(exec_prefix)/binVERSION = @VERSION@SCREEN = screen-$(VERSION)CC = @CC@CFLAGS = @CFLAGS@CPPFLAGS = @CPPFLAGS@#LDFLAGS = -L$(READLINE_DIR)LDFLAGS = @LDFLAGS@LIBS = -lreadline -lhistory -lncursesCPP=@CPP@CPP_DEPEND=$(CC) -MMINSTALL = @INSTALL@INSTALL_PROGRAM = @INSTALL_PROGRAM@INSTALL_DATA = @INSTALL_DATA@AWK = @AWK@OPTIONS=#OPTIONS= -DDEBUGSHELL=/bin/shCFILES= rlfe.c pty.cHFILES= extern.h os.h screen.hEXTRA_DIST=configure.in configure Makefile.in config.h.in ChangeLog READMEOFILES= rlfe.o pty.oall: rlferlfe: $(OFILES)$(CC) $(LDFLAGS) -o $@ $(OFILES) $(LIBS)rlfe-$(VERSION).tar.gz:tar czf $@ $(CFILES) $(HFILES) $(EXTRA_DIST).c.o:$(CC) -c -I. -I$(srcdir) $(M_CFLAGS) $(DEFS) $(OPTIONS) $(CFLAGS) $<install_bin: .version screen-if [ -f $(DESTDIR)$(bindir)/$(SCREEN) ] && [ ! -f $(DESTDIR)$(bindir)/$(SCREEN).old ]; \then mv $(DESTDIR)$(bindir)/$(SCREEN) $(DESTDIR)$(bindir)/$(SCREEN).old; fi$(INSTALL_PROGRAM) screen $(DESTDIR)$(bindir)/$(SCREEN)-chown root $(DESTDIR)$(bindir)/$(SCREEN) && chmod 4755 $(DESTDIR)$(bindir)/$(SCREEN)# This doesn't work if $(bindir)/screen is a symlink-if [ -f $(DESTDIR)$(bindir)/screen ] && [ ! -f $(DESTDIR)$(bindir)/screen.old ]; then mv $(DESTDIR)$(bindir)/screen $(DESTDIR)$(bindir)/screen.old; firm -f $(DESTDIR)$(bindir)/screen(cd $(DESTDIR)$(bindir) && ln -sf $(SCREEN) screen)cp $(srcdir)/utf8encodings/?? $(DESTDIR)$(SCREENENCODINGS)uninstall: .versionrm -f $(DESTDIR)$(bindir)/$(SCREEN)rm -f $(DESTDIR)$(bindir)/screen-mv $(DESTDIR)$(bindir)/screen.old $(DESTDIR)$(bindir)/screenrm -f $(DESTDIR)$(ETCSCREENRC)cd doc; $(MAKE) uninstallshadow:mkdir shadow;cd shadow; ln -s ../*.[ch] ../*.in ../*.sh ../configure ../doc ../terminfo ../etc .rm -f shadow/term.h shadow/tty.c shadow/comm.h shadow/osdef.hecho "install all Makefiles and config:" > shadow/Makefileecho " rm -f config.cache" >> shadow/Makefileecho " sh ./configure" >> shadow/Makefileterm.h: term.c term.shAWK=$(AWK) srcdir=$(srcdir) sh $(srcdir)/term.shkmapdef.c: term.htty.c: tty.shsh $(srcdir)/tty.sh tty.cmostlyclean:rm -f $(OFILES) rlfe *.oclean celan: mostlycleanrm -f tty.c term.h comm.h osdef.h kmapdef.c core# Delete all files from the current directory that are created by# configuring or building the program.# building of term.h/comm.h requires awk. Keep it in the distribution# we keep config.h, as this file knows where 'make dist' finds the ETCSCREENRC.#distclean: mostlyclean# rm -f $(SCREEN).tar $(SCREEN).tar.gz# rm -f config.status Makefile# rm -f osdef.h doc/Makefilemaintainer-clean:@echo "This command is not even intended for maintainers to use;"@echo "it deletes files that may require special tools to rebuild."# Delete everything from the current directory that can be# reconstructed with this Makefile.realclean: .version mostlycleanrm -f $(SCREEN).tar $(SCREEN).tar.gzrm -f config.status Makefile doc/Makefilerm -f tty.c term.h comm.h osdef.h kmapdef.crm -f config.hecho "install all Makefiles and config:" > Makefileecho " sh ./configure" >> Makefiletags TAGS: $(CFILES)-ctags *.sh $(CFILES) *.h-ctags -e *.sh $(CFILES) *.hdist: .version $(SCREEN).tar.gz# Perform self-tests (if any).check:config:rm -f config.cachesh ./configure###############################################################################.version:@rev=`sed < $(srcdir)/patchlevel.h -n -e '/#define REV/s/#define REV *//p'`; \vers=`sed < $(srcdir)/patchlevel.h -n -e '/#define VERS/s/#define VERS *//p'`; \pat=`sed < $(srcdir)/patchlevel.h -n -e '/#define PATCHLEVEL/s/#define PATCHLEVEL *//p'`; \if [ "$${rev}.$${vers}.$${pat}" != "$(VERSION)" ]; then \echo "This distribution is screen-$${rev}.$${vers}.$${pat}, but"; \echo "the Makefile is from $(VERSION). Please update!"; exit 1; fi###############################################################################mdepend: $(CFILES) term.h@rm -f DEPEND ; \for i in ${CFILES} ; do \echo "$$i" ; \echo `echo "$$i" | sed -e 's/.c$$/.o/'`": $$i" `\cc -E $$i |\grep '^# .*"\./.*\.h"' |\(sort -t'"' -u -k 2,2 2>/dev/null || sort -t'"' -u +1 -2) |\sed -e 's/.*"\.\/\(.*\)".*/\1/'\` >> DEPEND ; \donedepend: depend.in./config.status || ./configuredepend.in: $(CFILES) term.hcp Makefile.in Makefile.in~sed -e '/\#\#\# Dependencies/q' < Makefile.in > tmp_makefor i in $(CFILES); do echo $$i; $(CPP_DEPEND) $$i >> tmp_make; donemv tmp_make Makefile.in################################################################################## Dependencies:pty.o: pty.c config.h
Go to most recent revision | Compare with Previous | Blame | View Log

