annotate loadtools/Makefile @ 548:2e4ab60919b9

fc-dspromdump front end program implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 28 Oct 2019 22:08:38 +0000
parents 0dd2c87c1b63
children b22cc34b6fc9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 CC= gcc
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 CFLAGS= -O2
548
2e4ab60919b9 fc-dspromdump front end program implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 506
diff changeset
3 PROGS= fc-iram fc-loadtool fc-xram fc-compalram fc-buzplay fc-dspromdump
473
90d7c360a614 main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 250
diff changeset
4
90d7c360a614 main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 250
diff changeset
5 INSTALL_PREFIX= /opt/freecalypso
90d7c360a614 main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 250
diff changeset
6
90d7c360a614 main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 250
diff changeset
7 INSTBIN=${INSTALL_PREFIX}/bin
90d7c360a614 main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 250
diff changeset
8 INSTCONF=${INSTALL_PREFIX}/loadtools
90d7c360a614 main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 250
diff changeset
9 INSTHELP=${INSTALL_PREFIX}/helpfiles
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 EXTRA_OBJ= compalload.o
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12
250
8c011177adb9 loadtools reworked to use factored-out libserial
Mychaela Falconia <falcon@freecalypso.org>
parents: 204
diff changeset
13 COMPALRAM_OBJS= compalload.o compalram.o defpath.o ttypassthru.o
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14
84
54a6864cabf4 loadtools: hwparamstubs.c split in preparation for adding fc-buzplay
Mychaela Falconia <falcon@freecalypso.org>
parents: 44
diff changeset
15 IRAM_OBJS= defexitstub.o defpath.o flashstubs.o hexdecode.o hwparam.o \
250
8c011177adb9 loadtools reworked to use factored-out libserial
Mychaela Falconia <falcon@freecalypso.org>
parents: 204
diff changeset
16 romload.o secondprog.o sertool.o srecreader.o ttypassthru.o \
8c011177adb9 loadtools reworked to use factored-out libserial
Mychaela Falconia <falcon@freecalypso.org>
parents: 204
diff changeset
17 ${EXTRA_OBJ}
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18
506
0dd2c87c1b63 fc-loadtool flash support overhaul
Mychaela Falconia <falcon@freecalypso.org>
parents: 473
diff changeset
19 LOADTOOL_OBJS= crc32tab.o defpath.o flashid.o flashops.o flcmplboot.o flconf.o\
0dd2c87c1b63 fc-loadtool flash support overhaul
Mychaela Falconia <falcon@freecalypso.org>
parents: 473
diff changeset
20 fldevs.o flmain.o flmisc.o flprogbin.o flprogsrec.o flutil.o \
0dd2c87c1b63 fc-loadtool flash support overhaul
Mychaela Falconia <falcon@freecalypso.org>
parents: 473
diff changeset
21 hexdecode.o hwparam.o labaud.o ltdispatch.o ltdump.o ltexit.o \
0dd2c87c1b63 fc-loadtool flash support overhaul
Mychaela Falconia <falcon@freecalypso.org>
parents: 473
diff changeset
22 lthelp.o ltmain.o ltmisc.o ltpassthru.o ltscript.o romload.o \
0dd2c87c1b63 fc-loadtool flash support overhaul
Mychaela Falconia <falcon@freecalypso.org>
parents: 473
diff changeset
23 srecreader.o tpinterf.o tpinterf2.o tpinterf3.o ${EXTRA_OBJ}
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24
84
54a6864cabf4 loadtools: hwparamstubs.c split in preparation for adding fc-buzplay
Mychaela Falconia <falcon@freecalypso.org>
parents: 44
diff changeset
25 XRAM_OBJS= chainload.o clmain.o defexitstub.o defpath.o flashstubs.o \
204
064d4eedb3a6 loadtools: second program invokation support added to fc-iram like in fc-xram
Mychaela Falconia <falcon@freecalypso.org>
parents: 86
diff changeset
26 hexdecode.o hwparam.o initscript.o labaud.o romload.o \
250
8c011177adb9 loadtools reworked to use factored-out libserial
Mychaela Falconia <falcon@freecalypso.org>
parents: 204
diff changeset
27 secondprog.o srecreader.o tpinterf.o ttypassthru.o ${EXTRA_OBJ}
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28
86
684eddecbc62 fc-buzplay play command implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 85
diff changeset
29 BUZPLAY_OBJS= bpdispatch.o bpmain.o buzplay.o defpath.o flashstubs.o \
684eddecbc62 fc-buzplay play command implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 85
diff changeset
30 hexdecode.o hwparam.o labaud.o ltexit.o ltpassthru.o romload.o \
250
8c011177adb9 loadtools reworked to use factored-out libserial
Mychaela Falconia <falcon@freecalypso.org>
parents: 204
diff changeset
31 srecreader.o tpinterf.o ${EXTRA_OBJ}
8c011177adb9 loadtools reworked to use factored-out libserial
Mychaela Falconia <falcon@freecalypso.org>
parents: 204
diff changeset
32
548
2e4ab60919b9 fc-dspromdump front end program implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 506
diff changeset
33 ROMDUMP_OBJS= defpath.o flashstubs.o hexdecode.o hwparam.o labaud.o ltexit.o \
2e4ab60919b9 fc-dspromdump front end program implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 506
diff changeset
34 romdump.o romload.o srecreader.o tpinterf.o tpinterf2.o \
2e4ab60919b9 fc-dspromdump front end program implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 506
diff changeset
35 ${EXTRA_OBJ}
2e4ab60919b9 fc-dspromdump front end program implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 506
diff changeset
36
250
8c011177adb9 loadtools reworked to use factored-out libserial
Mychaela Falconia <falcon@freecalypso.org>
parents: 204
diff changeset
37 LIBSERIAL= ../libserial/libserial.a
85
c5766d12360d fc-buzplay started
Mychaela Falconia <falcon@freecalypso.org>
parents: 84
diff changeset
38
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
39 all: ${PROGS}
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
40
250
8c011177adb9 loadtools reworked to use factored-out libserial
Mychaela Falconia <falcon@freecalypso.org>
parents: 204
diff changeset
41 fc-compalram: ${COMPALRAM_OBJS} ${LIBSERIAL}
8c011177adb9 loadtools reworked to use factored-out libserial
Mychaela Falconia <falcon@freecalypso.org>
parents: 204
diff changeset
42 ${CC} ${CFLAGS} -o $@ ${COMPALRAM_OBJS} ${LIBSERIAL}
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
43
250
8c011177adb9 loadtools reworked to use factored-out libserial
Mychaela Falconia <falcon@freecalypso.org>
parents: 204
diff changeset
44 fc-iram: ${IRAM_OBJS} ${LIBSERIAL}
8c011177adb9 loadtools reworked to use factored-out libserial
Mychaela Falconia <falcon@freecalypso.org>
parents: 204
diff changeset
45 ${CC} ${CFLAGS} -o $@ ${IRAM_OBJS} ${LIBSERIAL}
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
46
250
8c011177adb9 loadtools reworked to use factored-out libserial
Mychaela Falconia <falcon@freecalypso.org>
parents: 204
diff changeset
47 fc-loadtool: ${LOADTOOL_OBJS} ${LIBSERIAL}
8c011177adb9 loadtools reworked to use factored-out libserial
Mychaela Falconia <falcon@freecalypso.org>
parents: 204
diff changeset
48 ${CC} ${CFLAGS} -o $@ ${LOADTOOL_OBJS} ${LIBSERIAL}
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
49
250
8c011177adb9 loadtools reworked to use factored-out libserial
Mychaela Falconia <falcon@freecalypso.org>
parents: 204
diff changeset
50 fc-xram: ${XRAM_OBJS} ${LIBSERIAL}
8c011177adb9 loadtools reworked to use factored-out libserial
Mychaela Falconia <falcon@freecalypso.org>
parents: 204
diff changeset
51 ${CC} ${CFLAGS} -o $@ ${XRAM_OBJS} ${LIBSERIAL}
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
52
250
8c011177adb9 loadtools reworked to use factored-out libserial
Mychaela Falconia <falcon@freecalypso.org>
parents: 204
diff changeset
53 fc-buzplay: ${BUZPLAY_OBJS} ${LIBSERIAL}
8c011177adb9 loadtools reworked to use factored-out libserial
Mychaela Falconia <falcon@freecalypso.org>
parents: 204
diff changeset
54 ${CC} ${CFLAGS} -o $@ ${BUZPLAY_OBJS} ${LIBSERIAL}
85
c5766d12360d fc-buzplay started
Mychaela Falconia <falcon@freecalypso.org>
parents: 84
diff changeset
55
548
2e4ab60919b9 fc-dspromdump front end program implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 506
diff changeset
56 fc-dspromdump: ${ROMDUMP_OBJS} ${LIBSERIAL}
2e4ab60919b9 fc-dspromdump front end program implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 506
diff changeset
57 ${CC} ${CFLAGS} -o $@ ${ROMDUMP_OBJS} ${LIBSERIAL}
2e4ab60919b9 fc-dspromdump front end program implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 506
diff changeset
58
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
59 install:
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
60 mkdir -p ${INSTBIN}
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
61 install -c ${PROGS} ${INSTBIN}
44
b77005f6d315 loadtools: migration to /opt/freecalypso
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
62 mkdir -p ${INSTCONF}
b77005f6d315 loadtools: migration to /opt/freecalypso
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
63 install -c -m 644 scripts/* ${INSTCONF}
b77005f6d315 loadtools: migration to /opt/freecalypso
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
64 mkdir -p ${INSTHELP}
b77005f6d315 loadtools: migration to /opt/freecalypso
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
65 install -c -m 644 loadtool.help ${INSTHELP}
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
66
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
67 clean:
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
68 rm -f *.o *.out *errs ${PROGS}