2013-03-21 21:14:51 +01:00
|
|
|
# Makefile for lwip server.
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2011-04-07 09:44:11 +02:00
|
|
|
PROG= lwip
|
|
|
|
SRCS= lwip.c \
|
|
|
|
driver.c \
|
|
|
|
udp.c \
|
|
|
|
tcp.c \
|
|
|
|
raw_ip.c \
|
|
|
|
inet_config.c \
|
|
|
|
eth.c
|
|
|
|
|
|
|
|
.PATH: ${.CURDIR}/generic
|
|
|
|
|
2012-02-24 19:02:32 +01:00
|
|
|
DPADD+= ${LIBCHARDRIVER} ${LIBSYS} ${LIBTIMERS} ${LIBLWIP} ${LIBNETSOCK}
|
|
|
|
LDADD+= -lchardriver -lsys -ltimers -llwip -lnetsock
|
2011-04-07 09:44:11 +02:00
|
|
|
|
|
|
|
MAN=
|
|
|
|
|
|
|
|
BINDIR?= /usr/sbin
|
|
|
|
|
2013-08-26 18:43:05 +02:00
|
|
|
WARNS?=2
|
2013-03-21 21:14:51 +01:00
|
|
|
|
|
|
|
CPPFLAGS+= -I${NETBSDSRCDIR}/lib/liblwip/include
|
|
|
|
CPPFLAGS+= -I${NETBSDSRCDIR}/lib/liblwip/include/ipv4
|
|
|
|
CPPFLAGS+= -I${NETBSDSRCDIR}/lib/liblwip/include/ipv6
|
|
|
|
CPPFLAGS+= -D_SYSTEM=1
|
2011-04-07 09:44:11 +02:00
|
|
|
|
2013-03-21 21:14:51 +01:00
|
|
|
CFLAGS+= -std=c99
|
2011-04-07 09:44:11 +02:00
|
|
|
|
2011-07-09 15:04:42 +02:00
|
|
|
.include <minix.service.mk>
|