mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-23 01:29:33 +00:00
dcd22c99a1
Added function for IP packet processing, that performs a translation of link layer addresses inside IPv6 NAs from EUI-64 into EUI-48 format.
25 lines
432 B
Makefile
25 lines
432 B
Makefile
CONTIKI=../../..
|
|
|
|
|
|
CFLAGS=-Wall -Werror -I$(CONTIKI)/core -I.
|
|
|
|
ifdef WITH_STDIN
|
|
CFLAGS += -DWITH_STDIN
|
|
endif
|
|
|
|
all: clean wpcapslip6
|
|
ifdef WITH_STDIN
|
|
mv wpcapslip6.exe wpcapslip6-stdin.exe
|
|
endif
|
|
|
|
clean:
|
|
rm -f wpcapslip6.o wpcap6.o ip-process.o fakeuip.o
|
|
|
|
|
|
vpath %.c $(CONTIKI)/core/net
|
|
|
|
wpcapslip6: wpcapslip6.o wpcap6.o ip-process.o fakeuip.o
|
|
|
|
%: %.o
|
|
$(CC) $(LDFLAGS) $^ /lib/w32api/libws2_32.a /lib/w32api/libiphlpapi.a -o $@
|