1 # $NetBSD: Makefile,v 1.1.1.1 2008/07/29 05:01:22 mrg Exp $
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.
26 FILESNAME_SshAskpass.ad
=SshAskpass-default.ad
30 DPSRCS
+= SshAskpass_ad.h
31 CLEANFILES
+= SshAskpass_ad.h
32 SshAskpass_ad.h
: SshAskpass.ad
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
43 .
include <bsd.prog.mk
>