annotate rvinterf/etmsync/Makefile @ 470:1d5bd9a06781

rvinterf tree Makefiles: split CPPFLAGS from CFLAGS This change is in preparation for allowing CFLAGS to be overridden by users and package builders.
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 12 Feb 2019 00:00:18 +0000
parents 322e75a1c8b9
children 90d7c360a614
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
470
1d5bd9a06781 rvinterf tree Makefiles: split CPPFLAGS from CFLAGS
Mychaela Falconia <falcon@freecalypso.org>
parents: 420
diff changeset
2 CFLAGS= -O2
1d5bd9a06781 rvinterf tree Makefiles: split CPPFLAGS from CFLAGS
Mychaela Falconia <falcon@freecalypso.org>
parents: 420
diff changeset
3 CPPFLAGS=-I../include
278
31d056f37647 fc-readcal written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 276
diff changeset
4 PROGS= fc-dspapidump fc-fsio fc-memdump fc-readcal fc-tmsync
49
642da3373772 rvinterf/*/Makefile: move to /opt/freecalypso
Mychaela Falconia <falcon@freecalypso.org>
parents: 27
diff changeset
5 INSTBIN=/opt/freecalypso/bin
642da3373772 rvinterf/*/Makefile: move to /opt/freecalypso
Mychaela Falconia <falcon@freecalypso.org>
parents: 27
diff changeset
6 INSTHELP=/opt/freecalypso/helpfiles
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7
420
322e75a1c8b9 rvinterf/etmsync converted to use libinterf
Mychaela Falconia <falcon@freecalypso.org>
parents: 323
diff changeset
8 LIBINTERF= ../libinterf/libinterf.a
286
88a4ebed160d fc-tmsync converted to link with librftab
Mychaela Falconia <falcon@freecalypso.org>
parents: 278
diff changeset
9 LIBRFTAB= ../../librftab/librftab.a
88a4ebed160d fc-tmsync converted to link with librftab
Mychaela Falconia <falcon@freecalypso.org>
parents: 278
diff changeset
10
420
322e75a1c8b9 rvinterf/etmsync converted to use libinterf
Mychaela Falconia <falcon@freecalypso.org>
parents: 323
diff changeset
11 DSPDUMP_OBJS= dspapidump.o interf.o memops.o simplemain.o ${LIBINTERF}
322e75a1c8b9 rvinterf/etmsync converted to use libinterf
Mychaela Falconia <falcon@freecalypso.org>
parents: 323
diff changeset
12
322e75a1c8b9 rvinterf/etmsync converted to use libinterf
Mychaela Falconia <falcon@freecalypso.org>
parents: 323
diff changeset
13 FSIO_OBJS= cl_des.o dispatch.o fdcmd.o fileio.o fsbasics.o fscmdtab.o \
322e75a1c8b9 rvinterf/etmsync converted to use libinterf
Mychaela Falconia <falcon@freecalypso.org>
parents: 323
diff changeset
14 fserr.o fsiomain.o fsmisc.o fsnew.o fspath.o fsread.o \
322e75a1c8b9 rvinterf/etmsync converted to use libinterf
Mychaela Falconia <falcon@freecalypso.org>
parents: 323
diff changeset
15 fsupload.o fsuploadrf.o fswrite.o help.o hostmkdir.o interf.o \
322e75a1c8b9 rvinterf/etmsync converted to use libinterf
Mychaela Falconia <falcon@freecalypso.org>
parents: 323
diff changeset
16 memcmd.o memops.o pirimei.o pirmagnetite.o rfcap.o stddirs.o \
322e75a1c8b9 rvinterf/etmsync converted to use libinterf
Mychaela Falconia <falcon@freecalypso.org>
parents: 323
diff changeset
17 symlink.o ${LIBINTERF} ${LIBRFTAB}
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18
420
322e75a1c8b9 rvinterf/etmsync converted to use libinterf
Mychaela Falconia <falcon@freecalypso.org>
parents: 323
diff changeset
19 MEMDUMP_OBJS= interf.o memdump.o memops.o ${LIBINTERF}
322e75a1c8b9 rvinterf/etmsync converted to use libinterf
Mychaela Falconia <falcon@freecalypso.org>
parents: 323
diff changeset
20
322e75a1c8b9 rvinterf/etmsync converted to use libinterf
Mychaela Falconia <falcon@freecalypso.org>
parents: 323
diff changeset
21 READCAL_OBJS= hostmkdir.o interf.o l1tmops.o readcal.o ${LIBINTERF}
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22
420
322e75a1c8b9 rvinterf/etmsync converted to use libinterf
Mychaela Falconia <falcon@freecalypso.org>
parents: 323
diff changeset
23 TMSYNC_OBJS= cl_des.o dispatch.o interf.o l1tmcmd.o l1tmops.o memcmd.o \
322e75a1c8b9 rvinterf/etmsync converted to use libinterf
Mychaela Falconia <falcon@freecalypso.org>
parents: 323
diff changeset
24 memops.o piradccal.o pirimei.o tmscmdtab.o tmsmain.o \
322e75a1c8b9 rvinterf/etmsync converted to use libinterf
Mychaela Falconia <falcon@freecalypso.org>
parents: 323
diff changeset
25 ${LIBINTERF} ${LIBRFTAB}
269
20ed7a320b12 fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents: 153
diff changeset
26
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 all: ${PROGS}
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 fc-dspapidump: ${DSPDUMP_OBJS}
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30 ${CC} ${CFLAGS} -o $@ ${DSPDUMP_OBJS}
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32 fc-fsio: ${FSIO_OBJS}
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33 ${CC} ${CFLAGS} -o $@ ${FSIO_OBJS}
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34
153
9925fba699be fc-olddump replaced with fc-memdump
Mychaela Falconia <falcon@freecalypso.org>
parents: 49
diff changeset
35 fc-memdump: ${MEMDUMP_OBJS}
9925fba699be fc-olddump replaced with fc-memdump
Mychaela Falconia <falcon@freecalypso.org>
parents: 49
diff changeset
36 ${CC} ${CFLAGS} -o $@ ${MEMDUMP_OBJS}
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
37
278
31d056f37647 fc-readcal written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 276
diff changeset
38 fc-readcal: ${READCAL_OBJS}
31d056f37647 fc-readcal written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 276
diff changeset
39 ${CC} ${CFLAGS} -o $@ ${READCAL_OBJS}
31d056f37647 fc-readcal written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 276
diff changeset
40
269
20ed7a320b12 fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents: 153
diff changeset
41 fc-tmsync: ${TMSYNC_OBJS}
20ed7a320b12 fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents: 153
diff changeset
42 ${CC} ${CFLAGS} -o $@ ${TMSYNC_OBJS}
20ed7a320b12 fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents: 153
diff changeset
43
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
44 install: ${PROGS}
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
45 mkdir -p ${INSTBIN}
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
46 install -c ${PROGS} ${INSTBIN}
25
75cd626cf379 rvinterf/etmsync/Makefile: install fsio.help
Mychaela Falconia <falcon@freecalypso.org>
parents: 16
diff changeset
47 mkdir -p ${INSTHELP}
26
b301b75de0e0 install misc files into /usr/local/share/freecalypso as non-executable
Mychaela Falconia <falcon@freecalypso.org>
parents: 25
diff changeset
48 install -c -m 644 fsio.help ${INSTHELP}
0
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
49
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
50 clean:
e7502631a0f9 initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
51 rm -f *.o *.out *errs ${PROGS}