minix/servers/lwip/Makefile
Ambarisha B 2d9009b0ab LWIP - fixed makefiles
- Modified libnetsock/Makefile and servers/lwip/Makefile to
  include ipvX headers

Signed-off-by: Tomas Hruby <tom@minix3.org>
2013-03-25 16:51:25 +01:00

31 lines
565 B
Makefile

# 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?=5
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
.include <minix.service.mk>