OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [newlib-1.18.0/] [libgloss/] [pa/] [Makefile.in] - Diff between revs 816 and 829

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 816 Rev 829
# Copyright (c) 1995, 1996 Cygnus Support
# Copyright (c) 1995, 1996 Cygnus Support
#
#
# The authors hereby grant permission to use, copy, modify, distribute,
# The authors hereby grant permission to use, copy, modify, distribute,
# and license this software and its documentation for any purpose, provided
# and license this software and its documentation for any purpose, provided
# that existing copyright notices are retained in all copies and that this
# that existing copyright notices are retained in all copies and that this
# notice is included verbatim in any distributions. No written agreement,
# notice is included verbatim in any distributions. No written agreement,
# license, or royalty fee is required for any of the authorized uses.
# license, or royalty fee is required for any of the authorized uses.
# Modifications to this software may be copyrighted by their authors
# Modifications to this software may be copyrighted by their authors
# and need not follow the licensing terms described here, provided that
# and need not follow the licensing terms described here, provided that
# the new terms are clearly indicated on the first page of each file where
# the new terms are clearly indicated on the first page of each file where
# they apply.
# they apply.
#
#
DESTDIR =
DESTDIR =
VPATH = @srcdir@
VPATH = @srcdir@
srcdir = @srcdir@
srcdir = @srcdir@
objdir = .
objdir = .
srcroot = $(srcdir)/../..
srcroot = $(srcdir)/../..
objroot = $(objdir)/../..
objroot = $(objdir)/../..
prefix = @prefix@
prefix = @prefix@
exec_prefix = @exec_prefix@
exec_prefix = @exec_prefix@
host_alias = @host_alias@
host_alias = @host_alias@
target_alias = @target_alias@
target_alias = @target_alias@
bindir = @bindir@
bindir = @bindir@
libdir = @libdir@
libdir = @libdir@
tooldir = $(exec_prefix)/$(target_alias)
tooldir = $(exec_prefix)/$(target_alias)
# Multilib support variables.
# Multilib support variables.
# TOP is used instead of MULTI{BUILD,SRC}TOP.
# TOP is used instead of MULTI{BUILD,SRC}TOP.
MULTIDIRS =
MULTIDIRS =
MULTISUBDIR =
MULTISUBDIR =
MULTIDO = true
MULTIDO = true
MULTICLEAN = true
MULTICLEAN = true
INSTALL = @INSTALL@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_DATA = @INSTALL_DATA@
SHELL = /bin/sh
SHELL = /bin/sh
CC = @CC@
CC = @CC@
AS = @AS@
AS = @AS@
AR = @AR@
AR = @AR@
LD = @LD@
LD = @LD@
RANLIB = @RANLIB@
RANLIB = @RANLIB@
OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
        then echo ${objroot}/../binutils/objdump ; \
        then echo ${objroot}/../binutils/objdump ; \
        else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
        else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
        then echo ${objroot}/../binutils/objcopy ; \
        then echo ${objroot}/../binutils/objcopy ; \
        else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
        else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
SCRIPTS = w89k op50n
SCRIPTS = w89k op50n
CRT0 = crt0.o
CRT0 = crt0.o
OBJS = close.o fstat.o getpid.o isatty.o kill.o \
OBJS = close.o fstat.o getpid.o isatty.o kill.o \
        lseek.o open.o print.o putnum.o read.o sbrk.o stat.o \
        lseek.o open.o print.o putnum.o read.o sbrk.o stat.o \
        unlink.o write.o hp-milli.o
        unlink.o write.o hp-milli.o
CFLAGS = -g
CFLAGS = -g
# ARFLAGS = rv
# ARFLAGS = rv
#
#
# here's all the Oki OP50N target stuff
# here's all the Oki OP50N target stuff
#
#
OKI_LDFLAGS= -L${srcdir} -Top50n.ld $(LDFLAGS_FOR_TARGET) -Ttext 40000 -Map oki.map
OKI_LDFLAGS= -L${srcdir} -Top50n.ld $(LDFLAGS_FOR_TARGET) -Ttext 40000 -Map oki.map
OKI_BSP= libop50n.a
OKI_BSP= libop50n.a
OKI_OBJS= op50nled.o op50n-io.o
OKI_OBJS= op50nled.o op50n-io.o
#
#
# here's all the WinBind W89k target stuff
# here's all the WinBind W89k target stuff
#
#
WEC_LDFLAGS= -L${srcdir} -Tw89k.ld $(LDFLAGS_FOR_TARGET) -Ttext 100000 -Map wec.map
WEC_LDFLAGS= -L${srcdir} -Tw89k.ld $(LDFLAGS_FOR_TARGET) -Ttext 100000 -Map wec.map
WEC_BSP= libw89k.a
WEC_BSP= libw89k.a
WEC_OBJS= w89k-io.o
WEC_OBJS= w89k-io.o
# Host specific makefile fragment comes in here.
# Host specific makefile fragment comes in here.
@host_makefile_frag@
@host_makefile_frag@
#
#
# build a test program for each target board. Just trying to get
# build a test program for each target board. Just trying to get
# it to link is a good test, so we ignore all the errors for now.
# it to link is a good test, so we ignore all the errors for now.
#
#
all: ${CRT0} ${OKI_BSP} ${WEC_BSP}
all: ${CRT0} ${OKI_BSP} ${WEC_BSP}
test: ${CRT0} test.o ${OKI_BSP} ${WEC_BSP}
test: ${CRT0} test.o ${OKI_BSP} ${WEC_BSP}
        @for script in ${SCRIPTS}; do \
        @for script in ${SCRIPTS}; do \
          echo Building $@ for $${script}... ; \
          echo Building $@ for $${script}... ; \
            ${CC} $(CFLAGS_FOR_TARGET) $(INCLUDES) -L${objdir} \
            ${CC} $(CFLAGS_FOR_TARGET) $(INCLUDES) -L${objdir} \
            -m$${script} test.o -L. \
            -m$${script} test.o -L. \
            -o $${script}-test.x $(LIBS_FOR_TARGET) ; \
            -o $${script}-test.x $(LIBS_FOR_TARGET) ; \
            if [ -s $${script}-test.x ] ; then  \
            if [ -s $${script}-test.x ] ; then  \
              echo "Making an srecord for $${script}-test.x..." ; \
              echo "Making an srecord for $${script}-test.x..." ; \
              ${OBJCOPY} -O srec $${script}-test.x $${script}-test.srec ; \
              ${OBJCOPY} -O srec $${script}-test.x $${script}-test.srec ; \
              echo "Making an disassembly file for $${script}-test.x..." ; \
              echo "Making an disassembly file for $${script}-test.x..." ; \
              rm -f $${script}-test.dis ; \
              rm -f $${script}-test.dis ; \
              ${OBJDUMP} -d $${script}-test.x > $${script}-test.dis ; \
              ${OBJDUMP} -d $${script}-test.x > $${script}-test.dis ; \
            else  \
            else  \
              rm $${script}-test.x ; \
              rm $${script}-test.x ; \
              echo "WARNING: $${script}-test didn't build." ; \
              echo "WARNING: $${script}-test didn't build." ; \
            fi ; \
            fi ; \
        done
        done
#
#
# here's where we build the board support packages for each target
# here's where we build the board support packages for each target
#
#
${OKI_BSP}: $(OBJS) ${OKI_OBJS}
${OKI_BSP}: $(OBJS) ${OKI_OBJS}
        ${AR} ${ARFLAGS} $@ $(OBJS) ${OKI_OBJS}
        ${AR} ${ARFLAGS} $@ $(OBJS) ${OKI_OBJS}
        ${RANLIB} $@
        ${RANLIB} $@
${WEC_BSP}: $(OBJS) ${WEC_OBJS}
${WEC_BSP}: $(OBJS) ${WEC_OBJS}
        ${AR} ${ARFLAGS} $@ $(OBJS) ${WEC_OBJS}
        ${AR} ${ARFLAGS} $@ $(OBJS) ${WEC_OBJS}
        ${RANLIB} $@
        ${RANLIB} $@
op50n-test.x: test.o ${srcdir}/test.c ${OKI_BSP} ${WEC_BSP}
op50n-test.x: test.o ${srcdir}/test.c ${OKI_BSP} ${WEC_BSP}
w89k-test.x: test.o ${srcdir}/test.c ${OKI_BSP} ${WEC_BSP}
w89k-test.x: test.o ${srcdir}/test.c ${OKI_BSP} ${WEC_BSP}
doc:
doc:
clean mostlyclean:
clean mostlyclean:
        rm -f a.out core *.i *~ *.o *-test *.srec *.dis *.map *.x
        rm -f a.out core *.i *~ *.o *-test *.srec *.dis *.map *.x
distclean maintainer-clean realclean: clean
distclean maintainer-clean realclean: clean
        rm -f Makefile config.cache config.log config.status
        rm -f Makefile config.cache config.log config.status
.PHONY: install info install-info clean-info
.PHONY: install info install-info clean-info
install:
install:
        $(INSTALL_PROGRAM) $(CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT0)
        $(INSTALL_PROGRAM) $(CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT0)
        # install Oki stuff
        # install Oki stuff
        $(INSTALL_PROGRAM) $(OKI_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(OKI_BSP)
        $(INSTALL_PROGRAM) $(OKI_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(OKI_BSP)
        $(INSTALL_DATA) ${srcdir}/op50n.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/op50n.ld
        $(INSTALL_DATA) ${srcdir}/op50n.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/op50n.ld
        # install WinBond stuff
        # install WinBond stuff
        $(INSTALL_PROGRAM) $(WEC_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(WEC_BSP)
        $(INSTALL_PROGRAM) $(WEC_BSP) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(WEC_BSP)
        $(INSTALL_DATA) ${srcdir}/w89k.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/w89k.ld
        $(INSTALL_DATA) ${srcdir}/w89k.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/w89k.ld
info:
info:
install-info:
install-info:
clean-info:
clean-info:
test.o: ${srcdir}/test.c
test.o: ${srcdir}/test.c
${CRT0}:${srcdir}/crt0.S
${CRT0}:${srcdir}/crt0.S
op50n-io.o: ${srcdir}/op50n-io.S
op50n-io.o: ${srcdir}/op50n-io.S
op50nled.o: ${srcdir}/op50nled.c
op50nled.o: ${srcdir}/op50nled.c
# target specific makefile fragment comes in here.
# target specific makefile fragment comes in here.
@target_makefile_frag@
@target_makefile_frag@
Makefile: Makefile.in config.status @host_makefile_frag_path@ @target_makefile_frag_path@
Makefile: Makefile.in config.status @host_makefile_frag_path@ @target_makefile_frag_path@
        $(SHELL) config.status
        $(SHELL) config.status
config.status: configure
config.status: configure
        $(SHELL) config.status --recheck
        $(SHELL) config.status --recheck
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.