Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

#	$NetBSD: Makefile,v 1.4 2019/01/03 23:39:47 mrg Exp $

.include <bsd.own.mk>

LIB=	SM
.PATH:	${X11SRCDIR.${LIB}}/src
.PATH:	${X11SRCDIR.${LIB}}/include/X11/SM

SRCS=	sm_auth.c sm_client.c sm_error.c sm_genid.c sm_manager.c sm_misc.c \
	sm_process.c

INCS=	SM.h SMlib.h SMproto.h
INCSDIR=${X11INCDIR}/X11/SM

CPPFLAGS+=	${X11FLAGS.THREADLIB}

CONN_DEFINES=	${X11FLAGS.CONNECTION} -DICE_t

CPPFLAGS.sm_manager.c=	$(CONN_DEFINES)
CPPFLAGS.sm_genid.c=	$(CONN_DEFINES)

.if (${USE_INET6} != "no")
CPPFLAGS+=      -DIPv6
.endif

LIBDPLIBS=ICE ${.CURDIR}/../libICE

# XXXMRG
COPTS.sm_client.c=	-Wno-error
COPTS.sm_manager.c=	-Wno-error

PKGDIST=	${LIB}

.include <bsd.x11.mk>
.include <bsd.lib.mk>