annotate target-utils/Makefile @ 968:2d986b8c0e4e

doc/Compiling: added explanation of extra host tools with library dependencies
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Sat, 07 Nov 2015 04:53:24 +0000
parents 9dd7f304fd94
children 5cff3579814c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
315
1b4beffc8055 target-utils: compalstage included in the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 224
diff changeset
1 FOR_LOADTOOLS= compalstage loadagent
957
9dd7f304fd94 target-utils/Makefile: c139-lldbg added
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 956
diff changeset
2 ALLPROGS= ${FOR_LOADTOOLS} c139explore c139-lldbg helloapp pirexplore \
9dd7f304fd94 target-utils/Makefile: c139-lldbg added
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 956
diff changeset
3 tf-breakin
315
1b4beffc8055 target-utils: compalstage included in the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 224
diff changeset
4 LIBS= libcommon libload libprintf libtiffs
1b4beffc8055 target-utils: compalstage included in the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 224
diff changeset
5 SUBDIR= ${ALLPROGS} ${LIBS}
25
796da8d60b23 target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
6
315
1b4beffc8055 target-utils: compalstage included in the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 224
diff changeset
7 default: ${FOR_LOADTOOLS}
1b4beffc8055 target-utils: compalstage included in the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 224
diff changeset
8 all: ${ALLPROGS}
25
796da8d60b23 target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
9
947
76149e0628ba target-utils/Makefile: c139explore added
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 378
diff changeset
10 c139explore: libcommon libprintf
957
9dd7f304fd94 target-utils/Makefile: c139-lldbg added
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 956
diff changeset
11 c139-lldbg: libcommon libprintf
25
796da8d60b23 target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
12 helloapp: libcommon libprintf
796da8d60b23 target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
13 loadagent: libcommon libload libprintf
956
1557e15a012f target-utils refactoring: memory dump commands moved from libload to libcommon
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 947
diff changeset
14 pirexplore: libcommon libprintf libtiffs
25
796da8d60b23 target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
15
796da8d60b23 target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
16 ${SUBDIR}: FRC
108
3b9cc76f2073 target-utils/Makefile: make clean: support for subset packaging
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 100
diff changeset
17 cd $@; ${MAKE} ${MFLAGS}
25
796da8d60b23 target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
18
378
3164604a6c70 install compalstage-*.bin and loadagent.srec from target-utils
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 358
diff changeset
19 install: FRC
3164604a6c70 install compalstage-*.bin and loadagent.srec from target-utils
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 358
diff changeset
20 for i in ${FOR_LOADTOOLS}; do (cd $$i; ${MAKE} ${MFLAGS} install); done
3164604a6c70 install compalstage-*.bin and loadagent.srec from target-utils
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 358
diff changeset
21
25
796da8d60b23 target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
22 clean: FRC
796da8d60b23 target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
23 rm -f a.out core errs
108
3b9cc76f2073 target-utils/Makefile: make clean: support for subset packaging
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 100
diff changeset
24 for i in ${SUBDIR}; do \
3b9cc76f2073 target-utils/Makefile: make clean: support for subset packaging
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 100
diff changeset
25 if [ -d $$i ]; then \
3b9cc76f2073 target-utils/Makefile: make clean: support for subset packaging
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 100
diff changeset
26 (cd $$i; ${MAKE} ${MFLAGS} clean) \
3b9cc76f2073 target-utils/Makefile: make clean: support for subset packaging
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 100
diff changeset
27 fi \
3b9cc76f2073 target-utils/Makefile: make clean: support for subset packaging
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 100
diff changeset
28 done
25
796da8d60b23 target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
29
796da8d60b23 target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
30 FRC: