1 # $NetBSD: Makefile,v 1.3 2011/04/03 13:29:45 mbalmer Exp $
6 SRCS
= drawing.c dynlist.c resources.c x11-ssh-askpass.c
9 DATE
= February
14, 2001
11 BUILDSYMLINKS
= SshAskpass-default.ad SshAskpass.ad
13 FILESDIR
= ${X11ROOTDIR}/share
/examples
/ssh-askpass
14 FILES
= SshAskpass-1337.ad SshAskpass-NeXTish.ad \
15 SshAskpass.ad SshAskpass-green.ad SshAskpass-motif.ad
17 # XXX: We use the following two lines instead of just having
18 # XXX: FILES+= SshAskpass-default.ad
19 # XXX: because of an obscure bug with "make -j" where it doesn't find
20 # XXX: SshAskpass-default.ad in the .PATH correctly, probably because
21 # XXX: of the rule created for it from BUILDSYMLINKS by <bsd.files.mk>.
22 # XXX: This is not the correct long-term solution.
25 FILESNAME_SshAskpass.ad
=SshAskpass-default.ad
29 DPSRCS
+= SshAskpass_ad.h
30 CLEANFILES
+= SshAskpass_ad.h
32 SRCPATH
= ${X11SRCDIR.local
}/programs
/x11-ssh-askpass
34 ssh-askpass
.1: x11-ssh-askpass.man.in
35 sed
-e
's#@NAME@#$(PROG)#g' -e
's#@VERSION@#$(VERSION)#g' \
36 -e
's#@DATE@#$(DATE)#g' < ${SRCPATH}/x11-ssh-askpass.man.in
> $@
38 SshAskpass_ad.h
: SshAskpass.ad
41 ${TOOL_SED} -n
'/^[^!]/s/.*/"&",/p' <${.ALLSRC
} > ${.TARGET
}
43 LDADD
+= -lXt
-lSM
-lICE
-lXinerama
-lXext
-lX11
44 DPADD
+= ${LIBXT} ${LIBSM} ${LIBICE} ${LIBXINERAMA} ${LIBXEXT} ${LIBX11}
46 .PATH
: ${X11SRCDIR.local
}/programs
/x11-ssh-askpass
49 .
include <bsd.prog.mk
>