25 lines
424 B
Makefile
25 lines
424 B
Makefile
# $NetBSD: Makefile,v 1.5 2009/05/12 10:05:06 plunky Exp $
|
|
|
|
USE_FORT?= yes # network server
|
|
|
|
PROG= sdpd
|
|
MAN= sdpd.8
|
|
SRCS= db.c log.c main.c record.c server.c service.c
|
|
|
|
DPADD+= ${LIBBLUETOOTH}
|
|
LDADD+= -lbluetooth
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
.if (${SDP_COMPAT:Uyes} != "no")
|
|
SRCS+= compat.c
|
|
CPPFLAGS+= -DSDP_COMPAT
|
|
|
|
# only needed in SDP_COMPAT
|
|
.if (${USE_INET6} != "no")
|
|
CPPFLAGS+= -DINET6
|
|
.endif
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|