2004-05-16 14:25:13 +04:00
|
|
|
# $NetBSD: Makefile,v 1.3 2004/05/16 10:25:14 lukem Exp $
|
2003-09-11 22:37:05 +04:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
PROG= xsm
|
|
|
|
SRCS= auth.c choose.c info.c list.c lock.c log.c \
|
|
|
|
mainwin.c misc.c popup.c printhex.c prop.c remote.c \
|
|
|
|
restart.c save.c saveutil.c signals.c xsm.c xtwatch.c
|
|
|
|
|
2004-05-16 14:25:13 +04:00
|
|
|
XSMDIR= ${X11ETCDIR}/xsm
|
|
|
|
|
2003-09-11 22:37:05 +04:00
|
|
|
CPPFLAGS+=-DHAS_MKSTEMP
|
|
|
|
CPPFLAGS.remote.c= -DRSHCMD=\"rsh\"
|
2004-05-16 14:25:13 +04:00
|
|
|
CPPFLAGS.restart.c= -DSYSTEM_INIT_FILE=\"${XSMDIR}/system.xsm\"
|
2003-09-11 22:37:05 +04:00
|
|
|
|
2004-05-16 14:25:13 +04:00
|
|
|
CONFIGFILES= system.xsm
|
|
|
|
FILESDIR= ${XSMDIR}
|
2003-09-11 22:37:05 +04:00
|
|
|
|
|
|
|
APPDEFS=XSm.ad
|
|
|
|
|
|
|
|
LDADD+= -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11
|
|
|
|
DPADD+= ${LIBXAW} ${LIBXMU} ${LIBXT} ${LIBSM} ${LIBICE} \
|
|
|
|
${LIBXPM} ${LIBXEXT} ${LIBX11}
|
|
|
|
|
|
|
|
.PATH: ${X11SRCDIR.xc}/programs/${PROG}
|
|
|
|
|
|
|
|
.include <bsd.x11.mk>
|
2003-09-14 00:17:57 +04:00
|
|
|
.include <bsd.prog.mk>
|