annotate autocal/Makefile @ 86:348c29b7d02a

fc-cmu200d: ignore SIGPIPE so we don't exit if a client terminates while we are processing a command
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 16 Jul 2017 23:42:29 +0000
parents a094db1453b1
children 6a7f8d201859
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13
d7e436bf4876 starting autocal
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 CC= gcc
d7e436bf4876 starting autocal
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 CFLAGS= -O2 -I/opt/freecalypso/include
75
93653fe9b4ef fc-rfcal-txband started
Mychaela Falconia <falcon@freecalypso.org>
parents: 74
diff changeset
3 PROGS= fc-rfcal-gmagic fc-rfcal-rxband fc-rfcal-txband fc-rfcal-txbasis \
93653fe9b4ef fc-rfcal-txband started
Mychaela Falconia <falcon@freecalypso.org>
parents: 74
diff changeset
4 fc-rfcal-txcheck fc-rfcal-vcxo
32
ea1d9f7f625f autocal/Makefile: make install added
Mychaela Falconia <falcon@freecalypso.org>
parents: 24
diff changeset
5 INSTBIN=/opt/freecalypso/bin
22
e8bcead3aa9b autocal: started linking fc-rfcal-vcxo
Mychaela Falconia <falcon@freecalypso.org>
parents: 21
diff changeset
6
73
c9bd1f75029f autocal: C main modules for standalone programs renamed more sensibly
Mychaela Falconia <falcon@freecalypso.org>
parents: 60
diff changeset
7 GMAGIC_OBJS= gmagicstand.o l1meas.o l1tmops.o rvinterf.o rxcommon.o \
45
98abe6bd2042 autocal: scw implemented for Rx cal
Mychaela Falconia <falcon@freecalypso.org>
parents: 44
diff changeset
8 sockopts.o tsidsock.o
98abe6bd2042 autocal: scw implemented for Rx cal
Mychaela Falconia <falcon@freecalypso.org>
parents: 44
diff changeset
9
74
d388732c2f73 autocal: rxband.c renamed to rxbandmain.c for consistency
Mychaela Falconia <falcon@freecalypso.org>
parents: 73
diff changeset
10 RXBAND_OBJS= l1meas.o l1tmops.o rvinterf.o rxbandmain.o rxcommon.o \
d388732c2f73 autocal: rxband.c renamed to rxbandmain.c for consistency
Mychaela Falconia <falcon@freecalypso.org>
parents: 73
diff changeset
11 rxupload.o sockopts.o tsidsock.o
57
2588f9eed11a fc-rfcal-rxband started
Mychaela Falconia <falcon@freecalypso.org>
parents: 56
diff changeset
12
75
93653fe9b4ef fc-rfcal-txband started
Mychaela Falconia <falcon@freecalypso.org>
parents: 74
diff changeset
13 TXBAND_OBJS= l1tmops.o rvinterf.o sockopts.o tsidsock.o txbandmain.o \
82
a094db1453b1 fc-rfcal-txband: implemented computation of APC from basis
Mychaela Falconia <falcon@freecalypso.org>
parents: 80
diff changeset
14 txbasis.o txcalchan.o txcalconf.o txlevels.o txpwrmeas.o \
a094db1453b1 fc-rfcal-txband: implemented computation of APC from basis
Mychaela Falconia <falcon@freecalypso.org>
parents: 80
diff changeset
15 txvout.o
75
93653fe9b4ef fc-rfcal-txband started
Mychaela Falconia <falcon@freecalypso.org>
parents: 74
diff changeset
16
73
c9bd1f75029f autocal: C main modules for standalone programs renamed more sensibly
Mychaela Falconia <falcon@freecalypso.org>
parents: 60
diff changeset
17 TXBASIS_OBJS= l1tmops.o rvinterf.o tsidsock.o txpwrmeas.o txstandbas.o
56
df827df6db82 fc-rfcal-txbasis written, ready to test
Mychaela Falconia <falcon@freecalypso.org>
parents: 54
diff changeset
18
73
c9bd1f75029f autocal: C main modules for standalone programs renamed more sensibly
Mychaela Falconia <falcon@freecalypso.org>
parents: 60
diff changeset
19 TXCHECK_OBJS= l1tmops.o rvinterf.o sockopts.o tsidsock.o txpwrmeas.o \
c9bd1f75029f autocal: C main modules for standalone programs renamed more sensibly
Mychaela Falconia <falcon@freecalypso.org>
parents: 60
diff changeset
20 txstandchk.o
53
bc2397f62bdb rf-cal-txcheck started
Mychaela Falconia <falcon@freecalypso.org>
parents: 45
diff changeset
21
24
0b6881281d86 fc-rfcal-vcxo ready for first test
Mychaela Falconia <falcon@freecalypso.org>
parents: 22
diff changeset
22 VCXO_OBJS= l1tmops.o rvinterf.o sockopts.o tsidsock.o vcxomain.o vcxomeas.o
13
d7e436bf4876 starting autocal
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23
22
e8bcead3aa9b autocal: started linking fc-rfcal-vcxo
Mychaela Falconia <falcon@freecalypso.org>
parents: 21
diff changeset
24 all: ${PROGS}
e8bcead3aa9b autocal: started linking fc-rfcal-vcxo
Mychaela Falconia <falcon@freecalypso.org>
parents: 21
diff changeset
25
42
dcf7cd305e2b fc-rfcal-gmagic started
Mychaela Falconia <falcon@freecalypso.org>
parents: 32
diff changeset
26 fc-rfcal-gmagic: ${GMAGIC_OBJS}
dcf7cd305e2b fc-rfcal-gmagic started
Mychaela Falconia <falcon@freecalypso.org>
parents: 32
diff changeset
27 ${CC} -o $@ ${GMAGIC_OBJS}
dcf7cd305e2b fc-rfcal-gmagic started
Mychaela Falconia <falcon@freecalypso.org>
parents: 32
diff changeset
28
57
2588f9eed11a fc-rfcal-rxband started
Mychaela Falconia <falcon@freecalypso.org>
parents: 56
diff changeset
29 fc-rfcal-rxband: ${RXBAND_OBJS}
2588f9eed11a fc-rfcal-rxband started
Mychaela Falconia <falcon@freecalypso.org>
parents: 56
diff changeset
30 ${CC} -o $@ ${RXBAND_OBJS}
2588f9eed11a fc-rfcal-rxband started
Mychaela Falconia <falcon@freecalypso.org>
parents: 56
diff changeset
31
75
93653fe9b4ef fc-rfcal-txband started
Mychaela Falconia <falcon@freecalypso.org>
parents: 74
diff changeset
32 fc-rfcal-txband: ${TXBAND_OBJS}
79
394daa4ad6e8 fc-rfcal-txband: dBm to Vout function implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 77
diff changeset
33 ${CC} -o $@ ${TXBAND_OBJS} -lm
75
93653fe9b4ef fc-rfcal-txband started
Mychaela Falconia <falcon@freecalypso.org>
parents: 74
diff changeset
34
56
df827df6db82 fc-rfcal-txbasis written, ready to test
Mychaela Falconia <falcon@freecalypso.org>
parents: 54
diff changeset
35 fc-rfcal-txbasis: ${TXBASIS_OBJS}
df827df6db82 fc-rfcal-txbasis written, ready to test
Mychaela Falconia <falcon@freecalypso.org>
parents: 54
diff changeset
36 ${CC} -o $@ ${TXBASIS_OBJS}
df827df6db82 fc-rfcal-txbasis written, ready to test
Mychaela Falconia <falcon@freecalypso.org>
parents: 54
diff changeset
37
53
bc2397f62bdb rf-cal-txcheck started
Mychaela Falconia <falcon@freecalypso.org>
parents: 45
diff changeset
38 fc-rfcal-txcheck: ${TXCHECK_OBJS}
bc2397f62bdb rf-cal-txcheck started
Mychaela Falconia <falcon@freecalypso.org>
parents: 45
diff changeset
39 ${CC} -o $@ ${TXCHECK_OBJS}
bc2397f62bdb rf-cal-txcheck started
Mychaela Falconia <falcon@freecalypso.org>
parents: 45
diff changeset
40
22
e8bcead3aa9b autocal: started linking fc-rfcal-vcxo
Mychaela Falconia <falcon@freecalypso.org>
parents: 21
diff changeset
41 fc-rfcal-vcxo: ${VCXO_OBJS}
e8bcead3aa9b autocal: started linking fc-rfcal-vcxo
Mychaela Falconia <falcon@freecalypso.org>
parents: 21
diff changeset
42 ${CC} -o $@ ${VCXO_OBJS}
13
d7e436bf4876 starting autocal
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
43
32
ea1d9f7f625f autocal/Makefile: make install added
Mychaela Falconia <falcon@freecalypso.org>
parents: 24
diff changeset
44 install:
ea1d9f7f625f autocal/Makefile: make install added
Mychaela Falconia <falcon@freecalypso.org>
parents: 24
diff changeset
45 mkdir -p ${INSTBIN}
ea1d9f7f625f autocal/Makefile: make install added
Mychaela Falconia <falcon@freecalypso.org>
parents: 24
diff changeset
46 install -c ${PROGS} ${INSTBIN}
ea1d9f7f625f autocal/Makefile: make install added
Mychaela Falconia <falcon@freecalypso.org>
parents: 24
diff changeset
47
13
d7e436bf4876 starting autocal
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
48 clean:
32
ea1d9f7f625f autocal/Makefile: make install added
Mychaela Falconia <falcon@freecalypso.org>
parents: 24
diff changeset
49 rm -f *.o *.out *errs ${PROGS}