27 lines
423 B
Makefile
27 lines
423 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 += -Wall -Wextra -std=c99
|
||
|
|
||
|
.include <bsd.prog.mk>
|