source: trunk/libs/newlib/src/libgloss/lm32/Makefile.in @ 487

Last change on this file since 487 was 444, checked in by satin@…, 7 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 2.2 KB
RevLine 
[444]1
2VPATH = @srcdir@ @srcdir@/..
3srcdir = @srcdir@
4objdir = .
5srcroot = $(srcdir)/../..
6objroot = $(objdir)/../..
7
8mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs
9
10prefix = @prefix@
11exec_prefix = @exec_prefix@
12
13host_alias = @host_alias@
14target_alias = @target_alias@
15program_transform_name = @program_transform_name@
16
17bindir = @bindir@
18libdir = @libdir@
19tooldir = $(exec_prefix)/$(target_alias)
20
21INSTALL = @INSTALL@
22INSTALL_PROGRAM = @INSTALL_PROGRAM@
23INSTALL_DATA = @INSTALL_DATA@
24
25# Multilib support variables.
26# TOP is used instead of MULTI{BUILD,SRC}TOP.
27MULTIDIRS =
28MULTISUBDIR =
29MULTIDO = true
30MULTICLEAN = true
31
32SHELL = /bin/sh
33
34CC = @CC@
35
36AS = @AS@
37AR = @AR@
38LD = @LD@
39RANLIB = @RANLIB@
40
41OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
42        then echo ${objroot}/../binutils/objdump ; \
43        else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
44OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
45        then echo ${objroot}/../binutils/objcopy ; \
46        else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
47
48OBJS        = isatty.o scall.o
49SCRIPTS     = sim.ld 
50CRT0S       = crt0.o
51BSPS        = libgloss.a
52
53# Host specific makefile fragment comes in here.
54@host_makefile_frag@
55
56all: $(CRT0S) $(BSPS)
57
58libgloss.a: $(OBJS)
59        ${AR} ${ARFLAGS} $@ $(OBJS)
60        ${RANLIB} $@
61
62#
63# Standard targets
64#
65
66clean mostlyclean:
67        rm -f a.out core *.i *.o *-test *.srec *.dis *.x
68
69distclean maintainer-clean realclean: clean
70        rm -f Makefile config.status *~
71
72.PHONY: install info install-info clean-info
73install: install-scripts # install-includes
74        @for crt0 in ${CRT0S}; do\
75         $(INSTALL_PROGRAM) $${crt0} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}; \
76        done
77        @for bsp in ${BSPS}; do\
78         $(INSTALL_PROGRAM) $${bsp} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}; \
79        done
80
81install-includes:
82        $(mkinstalldirs) $(DESTDIR)$(tooldir)/include/excess; \
83        for i in $(srcdir)/*.h; do \
84         $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/excess/`basename $$i`; \
85        done;
86       
87install-scripts:
88        @for script in ${SCRIPTS}; do\
89         $(INSTALL_DATA) ${srcdir}/$${script} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}; \
90        done
91       
92doc:
93info:
94install-info:
95clean-info:
96
97Makefile: Makefile.in config.status @host_makefile_frag_path@
98        $(SHELL) config.status
99
100config.status: configure
101        $(SHELL) config.status --recheck
Note: See TracBrowser for help on using the repository browser.