2007-01-09 14:49:12 -07:00
|
|
|
XCOMM $OpenBSD: Imakefile,v 1.2 2007/01/09 21:49:12 matthieu Exp $
|
2006-11-26 03:53:04 -07:00
|
|
|
|
|
|
|
SRCS = drawing.c dynlist.c resources.c x11-ssh-askpass.c
|
|
|
|
OBJS = drawing.o dynlist.o resources.o x11-ssh-askpass.o
|
2007-01-09 14:49:12 -07:00
|
|
|
DEPLIBS = $(DEPXTOOLLIB) $(DEPXLIB) $(DEPXINERAMALIB)
|
|
|
|
LOCAL_LIBRARIES = $(XTOOLLIB) $(XLIB) $(XINERAMALIB)
|
2006-11-26 03:53:04 -07:00
|
|
|
|
|
|
|
NAME = ssh-askpass
|
|
|
|
CLASS = SshAskpass
|
|
|
|
VERSION = 1.2.0
|
|
|
|
DATE = February 14, 2001
|
|
|
|
APP_DEFAULTS = $(CLASS)-default.ad
|
|
|
|
|
|
|
|
$(CLASS)_ad.h: $(CLASS).ad
|
|
|
|
cat $(CLASS).ad | grep -v '^[ ]*$$' |\
|
|
|
|
awk '/^[ ]*!/ { sub("^[ ]*![ ]?","", $$0); printf("/* %s */\n", $$0); next } ! /^[ ]*!/ { printf("\"%s\",\n", $$0) }' \
|
|
|
|
>$@
|
|
|
|
|
|
|
|
$(CLASS).ad:
|
|
|
|
$(LN) $(APP_DEFAULTS) $(CLASS).ad
|
|
|
|
|
|
|
|
$(NAME).man: x11-ssh-askpass.man.in Imakefile
|
|
|
|
sed \@@\
|
|
|
|
-e 's#@NAME@#$(NAME)#g' \@@\
|
|
|
|
-e 's#@VERSION@#$(VERSION)#g' \@@\
|
|
|
|
-e 's#@DATE@#$(DATE)#g' \@@\
|
|
|
|
<x11-ssh-askpass.man.in >$@.tmp
|
|
|
|
$(MV) $@.tmp $@
|
|
|
|
|
|
|
|
includes:: $(CLASS)_ad.h $(NAME).man
|
|
|
|
|
|
|
|
clean::
|
|
|
|
$(RM) -f $(CLASS)_ad.h $(CLASS).ad
|
|
|
|
$(RM) -f $(NAME).man
|
|
|
|
|
|
|
|
ComplexProgramTarget($(NAME))
|
|
|
|
InstallAppDefaults($(CLASS))
|