Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / x11 / bin / ssh-askpass / Makefile
blob9d0b8b140eeacfc89b08414883604f992bb74bac
1 # $NetBSD: Makefile,v 1.5 2007/09/17 04:51:04 lukem 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-green.ad SshAskpass-motif.ad \
17 SshAskpass-default.ad
19 CPPFLAGS+= -I.
20 DPSRCS+= SshAskpass_ad.h
21 CLEANFILES+= SshAskpass_ad.h
22 SshAskpass_ad.h: SshAskpass.ad
23 ${_MKTARGET_CREATE}
24 rm -f ${.TARGET}
25 ${TOOL_SED} -n '/^[^!]/s/.*/"&",/p' <${.ALLSRC} > ${.TARGET}
27 LDADD+= -lXt -lSM -lICE -lXext -lX11
28 DPADD+= ${LIBXT} ${LIBSM} ${LIBICE} ${LIBXEXT} ${LIBX11}
30 .PATH: ${X11SRCDIR.local}/programs/x11-ssh-askpass
32 .include <bsd.x11.mk>
33 .include <bsd.prog.mk>