URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [trunk/] [gdb-5.0/] [sim/] [w65/] [Makefile.in] - Rev 1765
Compare with Previous | Blame | View Log
# Makefile for GNU binary-file utilities# Copyright (C) 1992, 93, 94, 95, 96, 97, 1998 Free Software Foundation, Inc.# This file is part of GNU binutils.# 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 of the License, 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-1307, USA.VPATH = @srcdir@srcdir = @srcdir@prefix = @prefix@exec_prefix = @exec_prefix@host_alias = @host_alias@target_alias = @target_alias@program_transform_name = @program_transform_name@bindir = @bindir@libdir = @libdir@tooldir = $(exec_prefix)/$(target_alias)datadir = @datadir@mandir = @mandir@man1dir = $(mandir)/man1man2dir = $(mandir)/man2man3dir = $(mandir)/man3man4dir = $(mandir)/man4man5dir = $(mandir)/man5man6dir = $(mandir)/man6man7dir = $(mandir)/man7man8dir = $(mandir)/man8man9dir = $(mandir)/man9infodir = @infodir@includedir = @includedir@# This can be referenced by the gettext configuration code.top_builddir = ..SHELL = /bin/shINSTALL = @INSTALL@INSTALL_PROGRAM = @INSTALL_PROGRAM@INSTALL_DATA = @INSTALL_DATA@AR = @AR@AR_FLAGS = qvCC = @CC@CFLAGS = @CFLAGS@MAKEINFO = makeinfoTEXI2DVI = texi2dviRANLIB = @RANLIB@TEXI2ROFF=texi2roffMAKEOVERRIDES=CC_FOR_BUILD = @CC_FOR_BUILD@HDEFINES = @HDEFINES@TDEFINES =# Comment these out if using lex.# Distribution version# Distribution name# Where to find texinfo.tex to format docn with TeXTEXIDIR = $(srcdir)/../texinfo# These should all be the same program too.RUN_PROG=runSIM_LIB=libsim.aADDL_LIBS=PROGS = $(RUN_PROG)LIBS= $(SIM_LIB)DISTSTUFF = $(PROGS) $(LIBS)BASEDIR = $(srcdir)/../..BFDDIR = $(BASEDIR)/bfdINCDIR = $(BASEDIR)/includeGDBDIR = $(BASEDIR)/gdbINCLUDES = -I. -I$(srcdir) -I../../bfd -I$(BFDDIR) -I$(INCDIR) -I$(GDBDIR)#### host and target dependant Makefile fragments come in here.###ALL_CFLAGS = $(INCLUDES) $(HDEFINES) $(TDEFINES) $(CFLAGS).c.o:$(CC) -c $(ALL_CFLAGS) $<LIBIBERTY = ../../libiberty/libiberty.aBFD = ../../bfd/libbfd.aINTLLIBS = @INTLLIBS@INTLDEPS = @INTLDEPS@RUNTEST = runtestRUNTESTFLAGS =FLAGS_TO_PASS = \"CC=$(CC)" \"CFLAGS=$(CFLAGS)" \"RUNTEST=$(RUNTEST)" \"RUNTESTFLAGS=$(RUNTESTFLAGS)"### The rulesall: $(LIBS) $(PROGS)$(RUN_PROG): $(LIBS) run.o $(BFD) $(INTLDEPS)$(CC) $(CFLAGS) $(LDFLAGS) -o $(RUN_PROG) run.o $(SIM_LIB) $(BFD) $(INTLLIBS) $(LIBIBERTY)$(SIM_LIB): case.o interp.orm -f $(SIM_LIB)$(AR) $(AR_FLAGS) $(SIM_LIB) case.o interp.o$(RANLIB) $(SIM_LIB)case.c: gencode./gencode -c >case.c ; \if [ -x /usr/latest/bin/indent ] ; then \/usr/latest/bin/indent case.c ; \fioptable:gencode./gencode >optable./gencode -a >$(srcdir)/../../opcodes/w65-opc.hgencode:gencode.c$(CC_FOR_BUILD) -o gencode $<run.o:run.c config.hinterp.o:interp.c config.h######################################################################mostlyclean:-rm -f *.o *~ \#* core binutils.?? binutils.??? case.cclean: mostlyclean-rm -f $(PROGS) *.o *.adistclean:-rm -f Makefile config.status sysdep.h *.o *~ \#* core y.* \binutils.?? binutils.??s binutils.aux binutils.log \binutils.toc gencode run config.log-rm -f $(PROGS) config.h stamp-hmaintainer-clean realclean: clean distclean-rm -f $(DISTSTUFF) TAGSetags tags: TAGSTAGS: forceetags $(INCDIR)/*.h $(srcdir)/*.[hc]install: all installdirsfor i in $(PROGS) ; do \n=`echo $$i | sed -e 's/.new//' | sed '$(program_transform_name)'`; \$(INSTALL_PROGRAM) $$i $(bindir)/$$n; \doneinstalldirs:$(SHELL) $(srcdir)/../../mkinstalldirs $(bindir)install-info:clean-info:-rm -rf *.info*# Making a dist:# cvs rtag binutils-x-yy ld+utils# cvs co -r binutils-x-yy ld+utils# cd {HERE}; make dist [-f Makefile.in]dist: $(DIST_NAME).tar.zdiststuff: $(DISTSTUFF)$(DIST_NAME).tar.z:cd ../..; rm -f $(DIST_NAME); ln -s devo $(DIST_NAME)make diststuff -f Makefile.incd ../ld; make diststuff -f Makefile.incd ../gprof; make diststuff -f Makefile.incd ../texinfo; mv texinfo.tex ..; rm -rf *; mv ../texinfo.tex .# Take out texinfo from configurable dirsmv ../configure.in tmp; \sed -e '/^host_tools=/s/texinfo //' <tmp >../configure.in; rm tmpcd ..; chmod og=u `find . -print`cd ../..; tar chf - $(DIST_NAME) | gzip >$(DIST_NAME).tar.zrm -rf ../../$(DIST_NAME)# Dummy target to force execution of dependent targets.#force:# Target to uncomment host-specific lines in this makefile. Such lines must# have the following string beginning in column 1: #__<hostname>__## Original Makefile is backed up as 'Makefile.old'.## Invoke with: make make HOST=xxx#make:-@if test $(HOST)x = x ; then \echo 'Specify "make make HOST=???"'; \exit 1; \fi ; \grep -s "^#The next line was generated by 'make make'" Makefile; \if test $$? = 0 ; then \echo "Makefile has already been processed with 'make make'";\exit 1; \fi ; \mv -f Makefile Makefile.old; \echo "#The next line was generated by 'make make'" >Makefile ; \echo "HOST=$(HOST)" >>Makefile ; \echo >>Makefile ; \sed "s/^#__$(HOST)__#//" < Makefile.old >>MakefileMakefile: Makefile.in config.statusCONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.statusconfig.h: stamp-h ; @truestamp-h: config.in config.statusCONFIG_FILES= CONFIG_HEADERS=config.h:config.in $(SHELL) ./config.statusconfig.status: configure$(SHELL) ./config.status --recheck### Local Variables: ***### mode:fundamental ***### page-delimiter: "^#" ***### End: ***### end of file
