etc/protocols - sync with NetBSD-8
[minix.git] / external / mit / xorg / lib / libSM / Makefile
blob7692335c3c52457609358d71c2b043388fe2faab
1 # $NetBSD: Makefile,v 1.3 2008/09/13 04:32:30 cube Exp $
3 .include <bsd.own.mk>
5 LIB= SM
6 .PATH: ${X11SRCDIR.${LIB}}/src
7 .PATH: ${X11SRCDIR.${LIB}}/include/X11/SM
9 SRCS= sm_auth.c sm_client.c sm_error.c sm_genid.c sm_manager.c sm_misc.c \
10 sm_process.c
12 INCS= SM.h SMlib.h SMproto.h
13 INCSDIR=${X11INCDIR}/X11/SM
15 CPPFLAGS+= ${X11FLAGS.THREADLIB}
17 CONN_DEFINES= ${X11FLAGS.CONNECTION} -DICE_t
19 CPPFLAGS.sm_manager.c= $(CONN_DEFINES)
20 CPPFLAGS.sm_genid.c= $(CONN_DEFINES)
22 LIBDPLIBS=ICE ${.CURDIR}/../libICE
24 # XXXMRG
25 COPTS.sm_client.c= -Wno-error
26 COPTS.sm_manager.c= -Wno-error
28 PKGDIST= ${LIB}
30 .include <bsd.x11.mk>
31 .include <bsd.lib.mk>