2003-09-14 00:17:57 +04:00
|
|
|
# $NetBSD: Makefile,v 1.3 2003/09/13 20:18:44 lukem Exp $
|
2003-09-12 06:49:56 +04:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
LIB= SM
|
|
|
|
.PATH: ${X11SRCDIR.xc}/lib/${LIB}
|
|
|
|
|
|
|
|
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)
|
|
|
|
|
2003-09-12 12:08:09 +04:00
|
|
|
LDADD+= -lICE
|
|
|
|
DPADD+= ${LIBICE}
|
2003-09-12 06:49:56 +04:00
|
|
|
|
|
|
|
.include <bsd.x11.mk>
|
2003-09-14 00:17:57 +04:00
|
|
|
.include <bsd.lib.mk>
|