source: trunk/libs/newlib/src/libgloss/arm/cpu-init/Makefile.in @ 444

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

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

File size: 1.8 KB
Line 
1#
2#
3DESTDIR =
4VPATH = @srcdir@ @srcdir@/.. @srcdir@/../..
5srcdir = @srcdir@
6objdir = .
7srcroot = $(srcdir)/../../..
8objroot = $(objdir)/../../..
9
10prefix = @prefix@
11exec_prefix = @exec_prefix@
12
13host_alias = @host_alias@
14target_alias = @target_alias@
15
16bindir = @bindir@
17libdir = @libdir@
18tooldir = $(exec_prefix)/$(target_alias)
19
20objtype = @objtype@
21
22INSTALL = @INSTALL@
23INSTALL_PROGRAM = @INSTALL_PROGRAM@
24INSTALL_DATA = @INSTALL_DATA@
25
26# Multilib support variables.
27# TOP is used instead of MULTI{BUILD,SRC}TOP.
28MULTISRCTOP =
29MULTIBUILDTOP =
30MULTIDIRS =
31MULTISUBDIR =
32MULTIDO = true
33MULTICLEAN = true
34
35SHELL = /bin/sh
36
37CC = @CC@
38
39AS = @AS@
40AR = @AR@
41LD = @LD@
42RANLIB = @RANLIB@
43
44CPU_INIT_OBJS = rdimon-aem.o
45CPU_INIT_INSTALL = install-cpu-init
46
47CFLAGS          = -g
48
49# Host specific makefile fragment comes in here.
50@host_makefile_frag@
51
52.PHONY: all
53all: ${CPU_INIT_OBJS}
54
55#
56# here's where we build the test programs for each target
57#
58.PHONY: test
59test:
60
61# Static pattern rule for assembling cpu init files to object files.
62${CPU_INIT_OBJS}: %.o: %.S
63        $(CC) $(CFLAGS_FOR_TARGET) $(CFLAGS) $(INCLUDES) -DARM_RDI_MONITOR -o $@ -c $<
64
65clean mostlyclean:
66        rm -f a.out core *.i *.o *-test *.srec *.dis *.x
67
68distclean maintainer-clean realclean: clean
69        rm -f Makefile *~
70
71.PHONY: install info install-info clean-info
72install: ${CPU_INIT_INSTALL}
73
74install-cpu-init:
75        test -d $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/cpu-init || mkdir $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/cpu-init
76        set -e; for x in ${CPU_INIT_OBJS}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/cpu-init/$$x; done
77
78doc:
79info:
80install-info:
81clean-info:
82
83Makefile: Makefile.in ../config.status @host_makefile_frag_path@
84        $(SHELL) ../config.status --file cpu-init/Makefile
85
86../config.status: ../configure
87        $(SHELL) ../config.status --recheck
Note: See TracBrowser for help on using the repository browser.