1# $NetBSD: Makefile,v 1.2 2008/07/31 01:33:54 mrg Exp $ 2 3.include <bsd.own.mk> 4 5LIB= SM 6.PATH: ${X11SRCDIR.${LIB}}/src 7.PATH: ${X11SRCDIR.${LIB}}/include/X11/SM 8 9SRCS= sm_auth.c sm_client.c sm_error.c sm_genid.c sm_manager.c sm_misc.c \ 10 sm_process.c 11 12INCS= SM.h SMlib.h SMproto.h 13INCSDIR=${X11INCDIR}/X11/SM 14 15CPPFLAGS+= ${X11FLAGS.THREADLIB} 16 17CONN_DEFINES= ${X11FLAGS.CONNECTION} -DICE_t 18 19CPPFLAGS.sm_manager.c= $(CONN_DEFINES) 20CPPFLAGS.sm_genid.c= $(CONN_DEFINES) 21 22LIBDPLIBS=ICE ${.CURDIR}/../libICE 23 24# XXXMRG 25COPTS.sm_client.c= -Wno-error 26COPTS.sm_manager.c= -Wno-error 27 28PKGDIST= ${LIB} 29 30.include <bsd.x11.mk> 31.include <bsd.lib.mk> 32