comparison rvinterf/etmsync/Makefile @ 286:88a4ebed160d

fc-tmsync converted to link with librftab
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 18 Nov 2017 00:26:24 +0000
parents 31d056f37647
children 67d57375e3ad
comparison
equal deleted inserted replaced
285:6d10869f7a1f 286:88a4ebed160d
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 -I../include 2 CFLAGS= -O2 -I../include
3 PROGS= fc-dspapidump fc-fsio fc-memdump fc-readcal fc-tmsync 3 PROGS= fc-dspapidump fc-fsio fc-memdump fc-readcal fc-tmsync
4 INSTBIN=/opt/freecalypso/bin 4 INSTBIN=/opt/freecalypso/bin
5 INSTHELP=/opt/freecalypso/helpfiles 5 INSTHELP=/opt/freecalypso/helpfiles
6
7 LIBRFTAB= ../../librftab/librftab.a
6 8
7 DSPDUMP_OBJS= connect.o dspapidump.o interf.o launchrvif.o memops.o \ 9 DSPDUMP_OBJS= connect.o dspapidump.o interf.o launchrvif.o memops.o \
8 simplemain.o 10 simplemain.o
9 11
10 FSIO_OBJS= cl_des.o connect.o dispatch.o fdcmd.o fileio.o fsbasics.o \ 12 FSIO_OBJS= cl_des.o connect.o dispatch.o fdcmd.o fileio.o fsbasics.o \
16 MEMDUMP_OBJS= connect.o interf.o launchrvif.o memdump.o memops.o 18 MEMDUMP_OBJS= connect.o interf.o launchrvif.o memdump.o memops.o
17 19
18 READCAL_OBJS= connect.o hostmkdir.o interf.o l1tmops.o launchrvif.o readcal.o 20 READCAL_OBJS= connect.o hostmkdir.o interf.o l1tmops.o launchrvif.o readcal.o
19 21
20 TMSYNC_OBJS= cl_des.o connect.o dispatch.o interf.o l1tmcmd.o l1tmops.o \ 22 TMSYNC_OBJS= cl_des.o connect.o dispatch.o interf.o l1tmcmd.o l1tmops.o \
21 launchrvif.o memcmd.o memops.o pirimei.o rftablewr.o \ 23 launchrvif.o memcmd.o memops.o pirimei.o tmscmdtab.o tmsmain.o \
22 tmscmdtab.o tmsmain.o 24 ${LIBRFTAB}
23 25
24 all: ${PROGS} 26 all: ${PROGS}
25 27
26 fc-dspapidump: ${DSPDUMP_OBJS} 28 fc-dspapidump: ${DSPDUMP_OBJS}
27 ${CC} ${CFLAGS} -o $@ ${DSPDUMP_OBJS} 29 ${CC} ${CFLAGS} -o $@ ${DSPDUMP_OBJS}
36 ${CC} ${CFLAGS} -o $@ ${READCAL_OBJS} 38 ${CC} ${CFLAGS} -o $@ ${READCAL_OBJS}
37 39
38 fc-tmsync: ${TMSYNC_OBJS} 40 fc-tmsync: ${TMSYNC_OBJS}
39 ${CC} ${CFLAGS} -o $@ ${TMSYNC_OBJS} 41 ${CC} ${CFLAGS} -o $@ ${TMSYNC_OBJS}
40 42
41 rftablewr.o: ../tmsh/rftablewr.c
42 ${CC} ${CFLAGS} -c -o $@ $<
43
44 install: ${PROGS} 43 install: ${PROGS}
45 mkdir -p ${INSTBIN} 44 mkdir -p ${INSTBIN}
46 install -c ${PROGS} ${INSTBIN} 45 install -c ${PROGS} ${INSTBIN}
47 mkdir -p ${INSTHELP} 46 mkdir -p ${INSTHELP}
48 install -c -m 644 fsio.help ${INSTHELP} 47 install -c -m 644 fsio.help ${INSTHELP}