1 | # |
---|
2 | # |
---|
3 | DESTDIR = |
---|
4 | VPATH = @srcdir@ @srcdir@/.. @srcdir@/../.. |
---|
5 | srcdir = @srcdir@ |
---|
6 | objdir = . |
---|
7 | srcroot = $(srcdir)/../../.. |
---|
8 | objroot = $(objdir)/../../.. |
---|
9 | |
---|
10 | prefix = @prefix@ |
---|
11 | exec_prefix = @exec_prefix@ |
---|
12 | |
---|
13 | host_alias = @host_alias@ |
---|
14 | target_alias = @target_alias@ |
---|
15 | |
---|
16 | bindir = @bindir@ |
---|
17 | libdir = @libdir@ |
---|
18 | tooldir = $(exec_prefix)/$(target_alias) |
---|
19 | |
---|
20 | objtype = @objtype@ |
---|
21 | |
---|
22 | INSTALL = @INSTALL@ |
---|
23 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
---|
24 | INSTALL_DATA = @INSTALL_DATA@ |
---|
25 | |
---|
26 | # Multilib support variables. |
---|
27 | # TOP is used instead of MULTI{BUILD,SRC}TOP. |
---|
28 | MULTISRCTOP = |
---|
29 | MULTIBUILDTOP = |
---|
30 | MULTIDIRS = |
---|
31 | MULTISUBDIR = |
---|
32 | MULTIDO = true |
---|
33 | MULTICLEAN = true |
---|
34 | |
---|
35 | SHELL = /bin/sh |
---|
36 | |
---|
37 | CC = @CC@ |
---|
38 | |
---|
39 | AS = @AS@ |
---|
40 | AR = @AR@ |
---|
41 | LD = @LD@ |
---|
42 | RANLIB = @RANLIB@ |
---|
43 | |
---|
44 | CPU_INIT_OBJS = rdimon-aem.o |
---|
45 | CPU_INIT_INSTALL = install-cpu-init |
---|
46 | |
---|
47 | CFLAGS = -g |
---|
48 | |
---|
49 | # Host specific makefile fragment comes in here. |
---|
50 | @host_makefile_frag@ |
---|
51 | |
---|
52 | .PHONY: all |
---|
53 | all: ${CPU_INIT_OBJS} |
---|
54 | |
---|
55 | # |
---|
56 | # here's where we build the test programs for each target |
---|
57 | # |
---|
58 | .PHONY: test |
---|
59 | test: |
---|
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 | |
---|
65 | clean mostlyclean: |
---|
66 | rm -f a.out core *.i *.o *-test *.srec *.dis *.x |
---|
67 | |
---|
68 | distclean maintainer-clean realclean: clean |
---|
69 | rm -f Makefile *~ |
---|
70 | |
---|
71 | .PHONY: install info install-info clean-info |
---|
72 | install: ${CPU_INIT_INSTALL} |
---|
73 | |
---|
74 | install-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 | |
---|
78 | doc: |
---|
79 | info: |
---|
80 | install-info: |
---|
81 | clean-info: |
---|
82 | |
---|
83 | Makefile: 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 |
---|