Drop main() prototype. Syncs with NetBSD-8
[minix.git] / external / mit / xorg / lib / libICE / Makefile
blobd9afcf1e8d1e48774d3889097b232c0001da993d
1 # $NetBSD: Makefile,v 1.5 2013/05/31 08:18:41 mrg Exp $
3 .include <bsd.own.mk>
5 LIB= ICE
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)
23 PKGDIST= ${LIB}
25 CWARNFLAGS.clang+= -Wno-string-plus-int
27 COPTS.icetrans.c+= -Wno-error
29 .include <bsd.x11.mk>
30 .include <bsd.lib.mk>