126
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 CC= gcc
|
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
2 CFLAGS= -O2
|
359
|
3 PROGS= rvtdump rvinterf tfc139
|
126
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
4 INSTBIN=/usr/local/bin
|
333
2ac2f6d88bb2
rvinterf & rvtdump: use the new libg23 for G23 packet decoding
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
diff
changeset
|
5 LIBG23= ../libg23/libg23.a
|
126
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
6
|
333
2ac2f6d88bb2
rvinterf & rvtdump: use the new libg23 for G23 packet decoding
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
diff
changeset
|
7 RVTDUMP_OBJS= format.o openport.o output.o packetrx.o rvtdump.o
|
2ac2f6d88bb2
rvinterf & rvtdump: use the new libg23 for G23 packet decoding
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
diff
changeset
|
8
|
2ac2f6d88bb2
rvinterf & rvtdump: use the new libg23 for G23 packet decoding
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
diff
changeset
|
9 RVINTERF_OBJS= clientcmd.o format.o localsock.o logsent.o openport.o output.o \
|
2ac2f6d88bb2
rvinterf & rvtdump: use the new libg23 for G23 packet decoding
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
diff
changeset
|
10 packetrx.o packettx.o pktfwd.o rvifmain.o
|
176
|
11
|
359
|
12 TFC139_OBJS= format.o openport.o output.o packetrx.o packettx.o tfc139.o
|
|
13
|
174
|
14 all: ${PROGS}
|
126
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
15
|
333
2ac2f6d88bb2
rvinterf & rvtdump: use the new libg23 for G23 packet decoding
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
diff
changeset
|
16 rvtdump: ${RVTDUMP_OBJS} ${LIBG23}
|
2ac2f6d88bb2
rvinterf & rvtdump: use the new libg23 for G23 packet decoding
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
diff
changeset
|
17 ${CC} ${CFLAGS} -o $@ ${RVTDUMP_OBJS} ${LIBG23}
|
126
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
18
|
333
2ac2f6d88bb2
rvinterf & rvtdump: use the new libg23 for G23 packet decoding
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
diff
changeset
|
19 rvinterf: ${RVINTERF_OBJS} ${LIBG23}
|
2ac2f6d88bb2
rvinterf & rvtdump: use the new libg23 for G23 packet decoding
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
diff
changeset
|
20 ${CC} ${CFLAGS} -o $@ ${RVINTERF_OBJS} ${LIBG23}
|
176
|
21
|
359
|
22 tfc139: ${TFC139_OBJS} ${LIBG23}
|
|
23 ${CC} ${CFLAGS} -o $@ ${TFC139_OBJS} ${LIBG23}
|
|
24
|
126
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
25 install: ${PROGS}
|
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
26 mkdir -p ${INSTBIN}
|
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
27 install -c ${PROGS} ${INSTBIN}
|
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
28
|
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
29 clean:
|
174
|
30 rm -f *.o *.out *errs ${PROGS}
|