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
|
|
|
|
|
2011-07-27 12:34:50 +02:00
|
|
|
DPADD+= ${LIBDRIVER} ${LIBSYS} ${LIBMINIXUTIL}
|
|
|
|
LDADD+= -ldriver -lsys -lminixutil -ltimers -llwip
|
2011-04-07 09:44:11 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
2011-07-09 15:04:42 +02:00
|
|
|
.include <minix.service.mk>
|