26 lines
422 B
Makefile
26 lines
422 B
Makefile
# 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
|
|
|
|
DPADD+= ${LIBDRIVER} ${LIBSYS} ${LIBUTIL}
|
|
LDADD+= -ldriver -lsys -lutil -ltimers -llwip
|
|
|
|
MAN=
|
|
|
|
BINDIR?= /usr/sbin
|
|
|
|
CPPFLAGS+= -I${.CURDIR} -D_MINIX -D_SYSTEM
|
|
CPPFLAGS+= -I${.CURDIR}/../../lib/liblwip/include
|
|
|
|
CFLAGS += -Wextra -std=c99
|
|
|
|
.include <minix.service.mk>
|