Sync usage with man page.
[netbsd-mini2440.git] / x11 / bin / xsm / Makefile
blob14815535f5382114a848928e97f73726dd07f024
1 # $NetBSD: Makefile,v 1.2 2003/09/13 20:18:36 lukem Exp $
3 .include <bsd.own.mk>
5 PROG= xsm
6 SRCS= auth.c choose.c info.c list.c lock.c log.c \
7 mainwin.c misc.c popup.c printhex.c prop.c remote.c \
8 restart.c save.c saveutil.c signals.c xsm.c xtwatch.c
10 XSMDIR= ${X11ETCDIR}/xsm
12 CPPFLAGS+=-DHAS_MKSTEMP
13 CPPFLAGS.remote.c= -DRSHCMD=\"rsh\"
14 CPPFLAGS.restart.c= -DSYSTEM_INIT_FILE=\"${XSMDIR}/system.xsm\"
16 CONFIGFILES= system.xsm
17 FILESDIR= ${XSMDIR}
19 APPDEFS=XSm.ad
21 LDADD+= -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11
22 DPADD+= ${LIBXAW} ${LIBXMU} ${LIBXT} ${LIBSM} ${LIBICE} \
23 ${LIBXPM} ${LIBXEXT} ${LIBX11}
25 .PATH: ${X11SRCDIR.xc}/programs/${PROG}
27 .include <bsd.x11.mk>
28 .include <bsd.prog.mk>