971bb1a587
Change-Id: Ib11d8659485a444797bf3a2118182a1d4e316b50
30 lines
786 B
Makefile
30 lines
786 B
Makefile
# $NetBSD: Makefile,v 1.5 2013/05/31 08:18:41 mrg Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
LIB= ICE
|
|
.PATH: ${X11SRCDIR.${LIB}}/src
|
|
.PATH: ${X11SRCDIR.${LIB}}/include/X11/ICE
|
|
|
|
SRCS= accept.c authutil.c connect.c error.c getauth.c iceauth.c icetrans.c \
|
|
listen.c listenwk.c locking.c misc.c ping.c process.c protosetup.c \
|
|
register.c replywait.c setauth.c shutdown.c watch.c
|
|
|
|
INCS= ICE.h ICEconn.h ICElib.h ICEmsg.h ICEproto.h ICEutil.h
|
|
INCSDIR=${X11INCDIR}/X11/ICE
|
|
|
|
CONN_DEFINES= ${X11FLAGS.CONNECTION} -DICE_t=1 -DTRANS_CLIENT -DTRANS_SERVER
|
|
SOCK_DEFINES= -DBSD44SOCKETS
|
|
|
|
CPPFLAGS+= -DHAVE_ASPRINTF
|
|
|
|
CPPFLAGS+= $(TRANS_INCLUDES) $(CONN_DEFINES) $(SOCK_DEFINES)
|
|
|
|
PKGDIST= ${LIB}
|
|
|
|
CWARNFLAGS.clang+= -Wno-string-plus-int
|
|
|
|
COPTS.icetrans.c+= -Wno-error
|
|
|
|
.include <bsd.x11.mk>
|
|
.include <bsd.lib.mk>
|