32 lines
636 B
Makefile
32 lines
636 B
Makefile
|
# $NetBSD: Makefile,v 1.3 2008/09/13 04:32:30 cube 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)
|
||
|
|
||
|
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>
|