34 lines
814 B
Makefile
34 lines
814 B
Makefile
# $NetBSD: Makefile,v 1.6 2008/10/25 22:27:39 apb Exp $
|
|
|
|
NOMAN= yes
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
PROG= ssh-askpass
|
|
SRCS= drawing.c dynlist.c resources.c x11-ssh-askpass.c
|
|
|
|
APPDEFS= SshAskpass.ad
|
|
|
|
BUILDSYMLINKS= SshAskpass-default.ad SshAskpass.ad
|
|
|
|
FILESDIR= ${X11ROOTDIR}/share/examples/ssh-askpass
|
|
FILES= SshAskpass-1337.ad SshAskpass-NeXTish.ad \
|
|
SshAskpass-green.ad SshAskpass-motif.ad \
|
|
SshAskpass-default.ad
|
|
|
|
CPPFLAGS+= -I.
|
|
DPSRCS+= SshAskpass_ad.h
|
|
CLEANFILES+= SshAskpass_ad.h
|
|
SshAskpass_ad.h: SshAskpass.ad
|
|
${_MKTARGET_CREATE}
|
|
rm -f ${.TARGET}
|
|
${TOOL_SED} -n '/^[^!]/s/.*/"&",/p' <${.ALLSRC} > ${.TARGET}
|
|
|
|
LDADD+= -lXt -lSM -lICE -lXext -lX11
|
|
DPADD+= ${LIBXT} ${LIBSM} ${LIBICE} ${LIBXEXT} ${LIBX11}
|
|
|
|
.PATH: ${X11SRCDIR.local}/programs/x11-ssh-askpass
|
|
|
|
.include <bsd.x11.mk>
|
|
.include <bsd.prog.mk>
|