27 lines
679 B
Makefile
27 lines
679 B
Makefile
# $NetBSD: Makefile,v 1.2 2003/09/13 20:18:36 lukem Exp $
|
|
|
|
.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
|
|
|
|
CPPFLAGS+=-DHAS_MKSTEMP
|
|
CPPFLAGS.remote.c= -DRSHCMD=\"rsh\"
|
|
CPPFLAGS.restart.c= -DSYSTEM_INIT_FILE=\"${X11LIBDIR}/xsm/system.xsm\"
|
|
|
|
FILES= system.xsm
|
|
FILESDIR=${X11LIBDIR}/xsm
|
|
|
|
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>
|
|
.include <bsd.prog.mk>
|