LWIP - fixed makefiles

- Modified libnetsock/Makefile and servers/lwip/Makefile to
  include ipvX headers

Signed-off-by: Tomas Hruby <tom@minix3.org>
This commit is contained in:
Ambarisha B 2013-03-21 21:14:51 +01:00 committed by Lionel Sambuc
parent 7e55dbac33
commit 2d9009b0ab
3 changed files with 11 additions and 6 deletions

View file

@ -9,4 +9,3 @@ CPPFLAGS += -I${.CURDIR}/include/ -I${.CURDIR}/include/ipv4 -I${.CURDIR}/include
SRCS += sys_arch.c
.include <bsd.lib.mk>
.include <bsd.own.mk>

View file

@ -1,7 +1,7 @@
LIB = netsock
CPPFLAGS += -I${.CURDIR}/include/ -D_SYSTEM
CPPFLAGS+= -I${.CURDIR}/../../lib/liblwip/include
CPPFLAGS+= -I${.CURDIR}/../../lib/liblwip/include -I${.CURDIR}/../../lib/liblwip/include/ipv4 -I${.CURDIR}/../../lib/liblwip/include/ipv6
CFLAGS += -Wall -Wextra -std=c99
SRCS += socket.c

View file

@ -1,4 +1,6 @@
# Makefile for inet.
# Makefile for lwip server.
.include <bsd.own.mk>
PROG= lwip
SRCS= lwip.c \
driver.c \
@ -17,9 +19,13 @@ MAN=
BINDIR?= /usr/sbin
CPPFLAGS+= -I${.CURDIR} -D_SYSTEM
CPPFLAGS+= -I${.CURDIR}/../../lib/liblwip/include
WARNS?=5
CFLAGS += -Wextra -std=c99
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>