1 # $NetBSD: Makefile,v 1.3 2008/09/13 04:32:30 cube Exp $
6 .PATH
: ${X11SRCDIR.
${LIB}}/src
7 .PATH
: ${X11SRCDIR.
${LIB}}/include/X11
/SM
9 SRCS
= sm_auth.c sm_client.c sm_error.c sm_genid.c sm_manager.c sm_misc.c \
12 INCS
= SM.h SMlib.h SMproto.h
13 INCSDIR
=${X11INCDIR}/X11
/SM
15 CPPFLAGS
+= ${X11FLAGS.THREADLIB
}
17 CONN_DEFINES
= ${X11FLAGS.CONNECTION
} -DICE_t
19 CPPFLAGS.sm_manager.c
= $(CONN_DEFINES
)
20 CPPFLAGS.sm_genid.c
= $(CONN_DEFINES
)
22 LIBDPLIBS
=ICE
${.CURDIR
}/..
/libICE
25 COPTS.sm_client.c
= -Wno-error
26 COPTS.sm_manager.c
= -Wno-error