2011-04-07 09:44:11 +02:00
|
|
|
# Makefile for inet.
|
|
|
|
PROG= lwip
|
|
|
|
SRCS= lwip.c \
|
|
|
|
socket.c \
|
|
|
|
driver.c \
|
|
|
|
udp.c \
|
|
|
|
tcp.c \
|
|
|
|
raw_ip.c \
|
|
|
|
inet_config.c \
|
|
|
|
eth.c
|
|
|
|
|
|
|
|
.PATH: ${.CURDIR}/generic
|
|
|
|
|
|
|
|
DPADD+= ${LIBDRIVER} ${LIBSYS} ${LIBUTIL}
|
|
|
|
LDADD+= -ldriver -lsys -lutil -ltimers -llwip
|
|
|
|
|
|
|
|
MAN=
|
|
|
|
|
|
|
|
BINDIR?= /usr/sbin
|
|
|
|
|
|
|
|
CPPFLAGS+= -I${.CURDIR} -D_MINIX -D_SYSTEM
|
|
|
|
CPPFLAGS+= -I${.CURDIR}/../../lib/liblwip/include
|
|
|
|
|
2011-06-08 21:19:45 +02:00
|
|
|
CFLAGS += -Wextra -std=c99
|
2011-04-07 09:44:11 +02:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|