minix/servers/lwip/Makefile

32 lines
565 B
Makefile
Raw Normal View History

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