fbd82e76a4
Do not hardcode warning and optimisation flags, otherwise the main options (i.e. DBG, CPPFLAGS) will not work as expected. You can still provide specific default by using DBG?=<value>. Doing so leaves the opportunity to override the setting from the commandline, while the default value from the build system is then ignored for that particular package. When crosscompiling, and using build.sh, adding -V DBG=<value> has this same effect as make DBG=<value>. Change-Id: Ic610e4d33b945acad64571e1431f1814291e2d84
28 lines
532 B
Makefile
28 lines
532 B
Makefile
# Makefile for inet.
|
|
PROG= inet
|
|
SRCS= buf.c clock.c inet.c inet_config.c \
|
|
mnx_eth.c mq.c qp.c sr.c \
|
|
udp.c arp.c eth.c event.c \
|
|
icmp.c io.c ip.c ip_ioctl.c \
|
|
ip_lib.c ip_read.c ip_write.c \
|
|
ipr.c rand256.c tcp.c tcp_lib.c \
|
|
tcp_recv.c tcp_send.c ip_eth.c \
|
|
ip_ps.c psip.c \
|
|
queryparam.c version.c
|
|
|
|
.PATH: ${.CURDIR}/generic
|
|
|
|
DPADD+= ${LIBCHARDRIVER} ${LIBSYS} ${LIBMINIXUTIL}
|
|
LDADD+= -lchardriver -lsys
|
|
|
|
LDADD+= -lc
|
|
|
|
MAN=
|
|
|
|
BINDIR?= /usr/sbin
|
|
|
|
CPPFLAGS+= -I${.CURDIR} -D'ARGS(a)=a'
|
|
|
|
WARNS?= 5
|
|
|
|
.include <minix.service.mk>
|