mirror of
https://github.com/opnsense/src.git
synced 2026-03-19 09:13:43 -04:00
Submitted by: Lohith Bellad <lohithbsd@gmail.com> Reviewed by: hiren (earlier rev), ae Obtained from: NetBSD MFC after: 1 week Relnotes: yes Sponsored by: Dell EMC Differential Revision: https://reviews.freebsd.org/D9365
22 lines
505 B
Makefile
22 lines
505 B
Makefile
# $NetBSD: Makefile,v 1.2 2014/04/29 01:21:02 christos Exp $
|
|
# $FreeBSD$
|
|
.include <bsd.own.mk>
|
|
|
|
PROG= getaddrinfo
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../lib/libnetbsd
|
|
LIBNETBSDDIR= ${.OBJDIR}/../../lib/libnetbsd
|
|
LIBNETBSD= ${LIBNETBSDDIR}/libnetbsd.a
|
|
DPADD+= ${LIBNETBSD}
|
|
LDADD+= ${LIBNETBSD}
|
|
|
|
LIBADD+= util
|
|
|
|
SYS_SOCKET_H?= ${.CURDIR}/../../sys/sys/socket.h
|
|
|
|
CFLAGS+= -I.
|
|
DPSRCS+= tables.h
|
|
CLEANFILES+= tables.h
|
|
tables.h: tables.awk ${SYS_SOCKET_H}
|
|
LC_ALL=C awk -f ${.ALLSRC} > ${.TARGET}
|
|
.include <bsd.prog.mk>
|