comparison rvinterf/lowlevel/Makefile @ 333:2ac2f6d88bb2

rvinterf & rvtdump: use the new libg23 for G23 packet decoding
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Tue, 22 Apr 2014 05:11:03 +0000
parents 7ab6b29e76bb
children 144b5d222de8
comparison
equal deleted inserted replaced
332:28b4d3c9e85d 333:2ac2f6d88bb2
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= rvtdump rvinterf 3 PROGS= rvtdump rvinterf
4 INSTBIN=/usr/local/bin 4 INSTBIN=/usr/local/bin
5 LIBG23= ../libg23/libg23.a
5 6
6 RVTDUMP_OBJS= format.o format_g23.o openport.o output.o packetrx.o rvtdump.o 7 RVTDUMP_OBJS= format.o openport.o output.o packetrx.o rvtdump.o
7 8
8 RVINTERF_OBJS= clientcmd.o format.o format_g23.o localsock.o logsent.o \ 9 RVINTERF_OBJS= clientcmd.o format.o localsock.o logsent.o openport.o output.o \
9 openport.o output.o packetrx.o packettx.o pktfwd.o rvifmain.o 10 packetrx.o packettx.o pktfwd.o rvifmain.o
10 11
11 all: ${PROGS} 12 all: ${PROGS}
12 13
13 rvtdump: ${RVTDUMP_OBJS} 14 rvtdump: ${RVTDUMP_OBJS} ${LIBG23}
14 ${CC} ${CFLAGS} -o $@ ${RVTDUMP_OBJS} 15 ${CC} ${CFLAGS} -o $@ ${RVTDUMP_OBJS} ${LIBG23}
15 16
16 rvinterf: ${RVINTERF_OBJS} 17 rvinterf: ${RVINTERF_OBJS} ${LIBG23}
17 ${CC} ${CFLAGS} -o $@ ${RVINTERF_OBJS} 18 ${CC} ${CFLAGS} -o $@ ${RVINTERF_OBJS} ${LIBG23}
18 19
19 install: ${PROGS} 20 install: ${PROGS}
20 mkdir -p ${INSTBIN} 21 mkdir -p ${INSTBIN}
21 install -c ${PROGS} ${INSTBIN} 22 install -c ${PROGS} ${INSTBIN}
22 23