e214d537fb
<bsd.own.mk>, as we now set BINDIR,LIBDIR,MANDIR in <bsd.x11.mk> rather than using a hierarchy of Makefile.inc files just to include x11/Makefile.inc to get those variables.
26 lines
507 B
Makefile
26 lines
507 B
Makefile
# $NetBSD: Makefile,v 1.3 2003/09/13 20:18:44 lukem Exp $
|
|
|
|
.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)
|
|
|
|
LDADD+= -lICE
|
|
DPADD+= ${LIBICE}
|
|
|
|
.include <bsd.x11.mk>
|
|
.include <bsd.lib.mk>
|