mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
18 lines
378 B
Makefile
18 lines
378 B
Makefile
# $NetBSD: Makefile,v 1.2 2014/04/29 01:21:02 christos Exp $
|
|
.include <bsd.own.mk>
|
|
|
|
PROG= getaddrinfo
|
|
SRCS= getaddrinfo.c tables.h
|
|
|
|
CFLAGS+= -I${SRCTOP}/lib/libnetbsd
|
|
|
|
LIBADD+= netbsd util
|
|
|
|
SYS_SOCKET_H?= ${SRCTOP}/sys/sys/socket.h
|
|
|
|
CFLAGS+= -I${.OBJDIR}
|
|
CLEANFILES+= tables.h
|
|
tables.h: tables.awk ${SYS_SOCKET_H}
|
|
LC_ALL=C awk -f ${.ALLSRC} > ${.TARGET}
|
|
.include <bsd.prog.mk>
|