460
9b7ce2023355
target-utils/Makefile: flash-boot-wa and simtest moved to installable set
Mychaela Falconia <falcon@freecalypso.org>
diff
changeset
|
1 INSTPROGS= buzplayer calversion compalstage c139explore flash-boot-wa \
|
9b7ce2023355
target-utils/Makefile: flash-boot-wa and simtest moved to installable set
Mychaela Falconia <falcon@freecalypso.org>
diff
changeset
|
2 loadagent pirexplore simtest
|
9b7ce2023355
target-utils/Makefile: flash-boot-wa and simtest moved to installable set
Mychaela Falconia <falcon@freecalypso.org>
diff
changeset
|
3 ALLPROGS= ${INSTPROGS} c139-lldbg flash-boot-test helloapp tf-breakin
|
94
|
4 LIBS= libbase libc libcommon libload libprintf libtiffs
|
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 SUBDIR= ${ALLPROGS} ${LIBS}
|
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6
|
43
647a7bdba4be
target-utils/Makefile: install c139explore and pirexplore
Mychaela Falconia <falcon@freecalypso.org>
diff
changeset
|
7 default: ${INSTPROGS}
|
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 all: ${ALLPROGS}
|
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9
|
199
|
10 buzplayer: libbase libc libcommon libprintf
|
|
11 c139explore: libbase libc libcommon libprintf
|
|
12 c139-lldbg: libbase libc libcommon libprintf
|
442
|
13 calversion: libbase libc libcommon libprintf
|
199
|
14 flash-boot-test: libbase libc libcommon libprintf
|
|
15 helloapp: libbase libc libcommon libprintf
|
|
16 loadagent: libbase libc libcommon libload libprintf
|
|
17 pirexplore: libbase libc libcommon libprintf libtiffs
|
455
bd465e30fc05
target-utils/Makefile: simtest added as non-installable
Mychaela Falconia <falcon@freecalypso.org>
diff
changeset
|
18 simtest: libbase libc libcommon libprintf
|
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19
|
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 ${SUBDIR}: FRC
|
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 cd $@; ${MAKE} ${MFLAGS}
|
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22
|
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 install: FRC
|
43
647a7bdba4be
target-utils/Makefile: install c139explore and pirexplore
Mychaela Falconia <falcon@freecalypso.org>
diff
changeset
|
24 for i in ${INSTPROGS}; do (cd $$i; ${MAKE} ${MFLAGS} install); done
|
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25
|
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 clean: FRC
|
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 rm -f a.out core errs
|
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 for i in ${SUBDIR}; do \
|
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 if [ -d $$i ]; then \
|
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 (cd $$i; ${MAKE} ${MFLAGS} clean) \
|
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
31 fi \
|
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
32 done
|
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33
|
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
34 FRC:
|