Sync usage with man page.
[netbsd-mini2440.git] / external / mit / xorg / bin / xsm / Makefile
blob88f7dff7f67a66947200c3e902b847de888e2ca8
1 # $NetBSD: Makefile,v 1.3 2004/05/16 10:25:14 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.${PROG}}
27 .include <bsd.x11.mk>
28 .include <bsd.prog.mk>