annotate uptools/atcmd/Makefile @ 386:bae0fd7285dd

sms-pdu-decode: added -p option to keep the raw PDUs in the output
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 09 Mar 2018 22:15:43 +0000
parents ce3b57b8920b
children b61b81d3cece
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
348
64dcbabd48ca uptools/atcmd framework started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 CC= gcc
64dcbabd48ca uptools/atcmd framework started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 CFLAGS= -O2
385
ce3b57b8920b fcup-smwrite program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 384
diff changeset
3 PROGS= fcup-at fcup-smdump fcup-smsend fcup-smsendmult fcup-smsendpdu \
ce3b57b8920b fcup-smwrite program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 384
diff changeset
4 fcup-smwrite
348
64dcbabd48ca uptools/atcmd framework started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 INSTBIN=/opt/freecalypso/bin
64dcbabd48ca uptools/atcmd framework started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6
64dcbabd48ca uptools/atcmd framework started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 LIBCODING= ../libcoding/libcoding.a
64dcbabd48ca uptools/atcmd framework started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8
64dcbabd48ca uptools/atcmd framework started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 ATCMD_OBJS= atcmd.o atinterf.o
64dcbabd48ca uptools/atcmd framework started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10
352
02d6c8469535 fcup-smdump implemented, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 348
diff changeset
11 SMDUMP_OBJS= atinterf.o resp_parse.o smdump.o ${LIBCODING}
02d6c8469535 fcup-smdump implemented, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 348
diff changeset
12
370
076d533f840d fcup-smsend: implemented automatic concat SMS refno generation
Mychaela Falconia <falcon@freecalypso.org>
parents: 366
diff changeset
13 SMSEND_OBJS= atinterf.o resp_parse.o smsend_cmgw.o smsend_concat.o \
379
a38805b5b6d4 uptools/atcmd: smsend_pdugen.c split off from smsend_pduout.c
Mychaela Falconia <falcon@freecalypso.org>
parents: 373
diff changeset
14 smsend_main.o smsend_pdugen.o smsend_pduout.o smsend_text.o \
a38805b5b6d4 uptools/atcmd: smsend_pdugen.c split off from smsend_pduout.c
Mychaela Falconia <falcon@freecalypso.org>
parents: 373
diff changeset
15 ${LIBCODING}
362
89fe66cb60f6 fcup-smsend program put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 352
diff changeset
16
373
1fa4dcbb1c87 fcup-smsendmult program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 372
diff changeset
17 SMSENDM_OBJS= atinterf.o resp_parse.o smsend_cmgw.o smsend_multmain.o \
379
a38805b5b6d4 uptools/atcmd: smsend_pdugen.c split off from smsend_pduout.c
Mychaela Falconia <falcon@freecalypso.org>
parents: 373
diff changeset
18 smsend_pdugen.o smsend_pduout.o smsend_text.o ${LIBCODING}
373
1fa4dcbb1c87 fcup-smsendmult program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 372
diff changeset
19
384
3eb92855f7b9 fcup-smsendpdu program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 379
diff changeset
20 SMSENDP_OBJS= atinterf.o resp_parse.o smsend_cmgw.o smsend_pduin.o \
3eb92855f7b9 fcup-smsendpdu program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 379
diff changeset
21 smsend_pduout.o ${LIBCODING}
3eb92855f7b9 fcup-smsendpdu program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 379
diff changeset
22
385
ce3b57b8920b fcup-smwrite program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 384
diff changeset
23 SMWRITE_OBJS= atinterf.o smwrite.o ${LIBCODING}
ce3b57b8920b fcup-smwrite program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 384
diff changeset
24
348
64dcbabd48ca uptools/atcmd framework started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 all: ${PROGS}
64dcbabd48ca uptools/atcmd framework started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26
64dcbabd48ca uptools/atcmd framework started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 fcup-at: ${ATCMD_OBJS}
64dcbabd48ca uptools/atcmd framework started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28 ${CC} ${CFLAGS} -o $@ ${ATCMD_OBJS}
64dcbabd48ca uptools/atcmd framework started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29
352
02d6c8469535 fcup-smdump implemented, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 348
diff changeset
30 fcup-smdump: ${SMDUMP_OBJS}
02d6c8469535 fcup-smdump implemented, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 348
diff changeset
31 ${CC} ${CFLAGS} -o $@ ${SMDUMP_OBJS}
02d6c8469535 fcup-smdump implemented, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 348
diff changeset
32
362
89fe66cb60f6 fcup-smsend program put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 352
diff changeset
33 fcup-smsend: ${SMSEND_OBJS}
89fe66cb60f6 fcup-smsend program put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 352
diff changeset
34 ${CC} ${CFLAGS} -o $@ ${SMSEND_OBJS}
89fe66cb60f6 fcup-smsend program put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 352
diff changeset
35
373
1fa4dcbb1c87 fcup-smsendmult program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 372
diff changeset
36 fcup-smsendmult: ${SMSENDM_OBJS}
1fa4dcbb1c87 fcup-smsendmult program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 372
diff changeset
37 ${CC} ${CFLAGS} -o $@ ${SMSENDM_OBJS}
1fa4dcbb1c87 fcup-smsendmult program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 372
diff changeset
38
384
3eb92855f7b9 fcup-smsendpdu program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 379
diff changeset
39 fcup-smsendpdu: ${SMSENDP_OBJS}
3eb92855f7b9 fcup-smsendpdu program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 379
diff changeset
40 ${CC} ${CFLAGS} -o $@ ${SMSENDP_OBJS}
3eb92855f7b9 fcup-smsendpdu program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 379
diff changeset
41
385
ce3b57b8920b fcup-smwrite program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 384
diff changeset
42 fcup-smwrite: ${SMWRITE_OBJS}
ce3b57b8920b fcup-smwrite program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 384
diff changeset
43 ${CC} ${CFLAGS} -o $@ ${SMWRITE_OBJS}
ce3b57b8920b fcup-smwrite program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 384
diff changeset
44
348
64dcbabd48ca uptools/atcmd framework started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
45 install: ${PROGS}
64dcbabd48ca uptools/atcmd framework started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
46 mkdir -p ${INSTBIN}
64dcbabd48ca uptools/atcmd framework started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
47 install -c ${PROGS} ${INSTBIN}
64dcbabd48ca uptools/atcmd framework started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
48
64dcbabd48ca uptools/atcmd framework started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
49 clean:
64dcbabd48ca uptools/atcmd framework started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
50 rm -f *.o *.out *errs ${PROGS}