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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-newlib/] [newlib-1.17.0/] [libgloss/] [scarts_16/] [Makefile.in] - Blame information for rev 9

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 9 jlechner
# Copyright (c) 1997, 2000 Cygnus Support
2
#
3
# The authors hereby grant permission to use, copy, modify, distribute,
4
# and license this software and its documentation for any purpose, provided
5
# that existing copyright notices are retained in all copies and that this
6
# notice is included verbatim in any distributions. No written agreement,
7
# license, or royalty fee is required for any of the authorized uses.
8
# Modifications to this software may be copyrighted by their authors
9
# and need not follow the licensing terms described here, provided that
10
# the new terms are clearly indicated on the first page of each file where
11
# they apply.
12
 
13
DESTDIR =
14
VPATH   = @srcdir@
15
srcdir  = @srcdir@
16
objdir  = .
17
srcroot = $(srcdir)/../..
18
objroot = $(objdir)/../..
19
 
20
prefix          = @prefix@
21
exec_prefix     = @exec_prefix@
22
 
23
host_alias              = @host_alias@
24
target_alias            = @target_alias@
25
program_transform_name  = @program_transform_name@
26
 
27
bindir          = @bindir@
28
libdir          = @libdir@
29
tooldir         = $(exec_prefix)/$(target_alias)
30
 
31
# Multilib support variables.
32
# TOP is used instead of MULTI{BUILD,SRC}TOP.
33
MULTIDIRS       =
34
MULTISUBDIR     =
35
MULTIDO         = true
36
MULTICLEAN      = true
37
 
38
INSTALL         = @INSTALL@
39
INSTALL_PROGRAM = @INSTALL_PROGRAM@
40
INSTALL_DATA    = @INSTALL_DATA@
41
 
42
SHELL = /bin/sh
43
 
44
CC      = @CC@
45
AS      = @AS@
46
AR      = @AR@
47
LD      = @LD@
48
RANLIB  = @RANLIB@
49
 
50
OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
51
        then echo ${objroot}/../binutils/objdump ; \
52
        else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
53
OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
54
        then echo ${objroot}/../binutils/objcopy ; \
55
        else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
56
 
57
OBJS    = close.o _exit.o environ.o execve.o fork.o fstat.o getpid.o \
58
          isatty.o kill.o link.o lseek.o open.o read.o sbrk.o stat.o \
59
          times.o unlink.o wait.o write.o
60
 
61
OBJS    += UART.o
62
 
63
 
64
BSP_LDFLAGS     = -L${srcdir}
65
BSP_BSP         = libnosys.a
66
BSP_CRT0        = crt0.o
67
BSP_INCLUDES    = UART.h UART_cfg.h interrupts.h modules.h
68
BSP_OBJS        = ${OBJS}
69
BSP_SCRIPTS     =
70
BSP_INSTALL     = install-bsp
71
 
72
 
73
ALL_INSTALL_FILES = \
74
        ${BSP_BSP} ${BSP_CRT0}
75
 
76
# Host specific makefile fragment comes in here.
77
@host_makefile_frag@
78
 
79
# Need to augment the definition from host_makefile_frag above.
80
INCLUDES += -I$(srcdir)
81
 
82
all: ${ALL_INSTALL_FILES}
83
 
84
#
85
# Here's where we build the board support packages for each target.
86
#
87
${BSP_BSP}: ${BSP_OBJS}
88
        ${AR} ${ARFLAGS} ${BSP_BSP} ${BSP_OBJS}
89
        ${RANLIB} ${BSP_BSP}
90
 
91
.c.S:
92
        ${CC} ${CFLAGS_FOR_TARGET} $(INCLUDES) -c $<
93
 
94
crt0.o: crt0.S
95
        $(CC) $(CFLAGS_FOR_TARGET) $(INCLUDES) -c $< -o $@
96
 
97
clean mostlyclean:
98
        rm -f a.out core *.i *~ *.o *-test *.srec *.dis *.map *.x $(BSP_BSP)
99
 
100
distclean maintainer-clean realclean: clean
101
        rm -f Makefile config.status *~
102
 
103
.PHONY: clean-info doc info install install-bsp install-info
104
install: ${BSP_INSTALL}
105
 
106
clean-info:
107
doc:
108
info:
109
 
110
install-bsp:
111
        set -e;
112
        @for bsp in ${BSP_BSP}; do \
113
            $(INSTALL_DATA) $${bsp} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$${bsp}; \
114
        done
115
        @for crt0 in ${BSP_CRT0}; do \
116
            $(INSTALL_DATA) $${crt0} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$${crt0}; \
117
        done
118
        @for include in ${BSP_INCLUDES}; do \
119
            $(INSTALL_DATA) ${srcdir}/$${include} $(DESTDIR)$(tooldir)/include${MULTISUBDIR}/machine/$${include}; \
120
        done
121
        @for script in ${BSP_SCRIPTS}; do \
122
            $(INSTALL_DATA) ${srcdir}/$${script} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/ldscripts/$${script}; \
123
        done
124
 
125
install-info:
126
 
127
Makefile: Makefile.in config.status @host_makefile_frag_path@
128
        $(SHELL) config.status
129
 
130
config.status: configure
131
        $(SHELL) config.status --recheck

powered by: WebSVN 2.1.0

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