Sync usage with man page.
[netbsd-mini2440.git] / external / mit / xorg / bin / ssh-askpass / Makefile
blobd0491504a8025593d23288d6937bcba9d4a0aa0e
1 # $NetBSD: Makefile,v 1.1.1.1 2008/07/29 05:01:22 mrg Exp $
3 NOMAN= yes
5 .include <bsd.own.mk>
7 PROG= ssh-askpass
8 SRCS= drawing.c dynlist.c resources.c x11-ssh-askpass.c
10 APPDEFS= SshAskpass.ad
12 BUILDSYMLINKS= SshAskpass-default.ad SshAskpass.ad
14 FILESDIR= ${X11ROOTDIR}/share/examples/ssh-askpass
15 FILES= SshAskpass-1337.ad SshAskpass-NeXTish.ad \
16 SshAskpass.ad SshAskpass-green.ad SshAskpass-motif.ad
18 # XXX: We use the following two lines instead of just having
19 # XXX: FILES+= SshAskpass-default.ad
20 # XXX: because of an obscure bug with "make -j" where it doesn't find
21 # XXX: SshAskpass-default.ad in the .PATH correctly, probably because
22 # XXX: of the rule created for it from BUILDSYMLINKS by <bsd.files.mk>.
23 # XXX: This is not the correct long-term solution.
25 FILES+= SshAskpass.ad
26 FILESNAME_SshAskpass.ad=SshAskpass-default.ad
29 CPPFLAGS+= -I.
30 DPSRCS+= SshAskpass_ad.h
31 CLEANFILES+= SshAskpass_ad.h
32 SshAskpass_ad.h: SshAskpass.ad
33 ${_MKTARGET_CREATE}
34 rm -f ${.TARGET}
35 ${TOOL_SED} -n '/^[^!]/s/.*/"&",/p' <${.ALLSRC} > ${.TARGET}
37 LDADD+= -lXt -lSM -lICE -lXext -lX11
38 DPADD+= ${LIBXT} ${LIBSM} ${LIBICE} ${LIBXEXT} ${LIBX11}
40 .PATH: ${X11SRCDIR.local}/programs/x11-ssh-askpass
42 .include <bsd.x11.mk>
43 .include <bsd.prog.mk>