1 2 SRCS = drawing.c dynlist.c resources.c x11-ssh-askpass.c 3 OBJS = drawing.o dynlist.o resources.o x11-ssh-askpass.o 4 DEPLIBS = $(DEPXTOOLLIB) $(DEPXLIB) $(DEPXINERAMALIB) 5LOCAL_LIBRARIES = $(XTOOLLIB) $(XLIB) $(XINERAMALIB) 6 7 NAME = ssh-askpass 8 CLASS = SshAskpass 9 VERSION = 1.2.0 10 DATE = February 14, 2001 11 APP_DEFAULTS = $(CLASS)-default.ad 12 13$(CLASS)_ad.h: $(CLASS).ad 14 cat $(CLASS).ad | grep -v '^[ ]*$$' |\ 15 awk '/^[ ]*!/ { sub("^[ ]*![ ]?","", $$0); printf("/* %s */\n", $$0); next } ! /^[ ]*!/ { printf("\"%s\",\n", $$0) }' \ 16 >$@ 17 18$(CLASS).ad: 19 $(LN) $(APP_DEFAULTS) $(CLASS).ad 20 21$(NAME).man: x11-ssh-askpass.man.in Imakefile 22 sed \@@\ 23 -e 's#@NAME@#$(NAME)#g' \@@\ 24 -e 's#@VERSION@#$(VERSION)#g' \@@\ 25 -e 's#@DATE@#$(DATE)#g' \@@\ 26 <x11-ssh-askpass.man.in >$@.tmp 27 $(MV) $@.tmp $@ 28 29includes:: $(CLASS)_ad.h $(NAME).man 30 31clean:: 32 $(RM) -f $(CLASS)_ad.h $(CLASS).ad 33 $(RM) -f $(NAME).man 34 35ComplexProgramTarget($(NAME)) 36InstallAppDefaults($(CLASS)) 37