1 # $NetBSD: Makefile,v 1.5 2013/05/31 08:18:41 mrg Exp $
6 .PATH
: ${X11SRCDIR.
${LIB}}/src
7 .PATH
: ${X11SRCDIR.
${LIB}}/include/X11
/ICE
9 SRCS
= accept.c authutil.c connect.c error.c getauth.c iceauth.c icetrans.c \
10 listen.c listenwk.c locking.c misc.c ping.c process.c protosetup.c \
11 register.c replywait.c setauth.c shutdown.c watch.c
13 INCS
= ICE.h ICEconn.h ICElib.h ICEmsg.h ICEproto.h ICEutil.h
14 INCSDIR
=${X11INCDIR}/X11
/ICE
16 CONN_DEFINES
= ${X11FLAGS.CONNECTION
} -DICE_t
=1 -DTRANS_CLIENT
-DTRANS_SERVER
17 SOCK_DEFINES
= -DBSD44SOCKETS
19 CPPFLAGS
+= -DHAVE_ASPRINTF
21 CPPFLAGS
+= $(TRANS_INCLUDES
) $(CONN_DEFINES
) $(SOCK_DEFINES
)
25 CWARNFLAGS.clang
+= -Wno-string-plus-int
27 COPTS.icetrans.c
+= -Wno-error