From c9792783a98881eb7ed295680013ca97a958f8ac Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Fri, 25 Nov 2016 14:04:21 +1100 Subject: [PATCH] Add a gnome-ssh-askpass3 target for GTK+3 version Based on patch from Colin Watson via bz#2640 --- contrib/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/contrib/Makefile b/contrib/Makefile index eaf7fe2fd..3a36387b3 100644 --- a/contrib/Makefile +++ b/contrib/Makefile @@ -13,5 +13,10 @@ gnome-ssh-askpass2: gnome-ssh-askpass2.c gnome-ssh-askpass2.c -o gnome-ssh-askpass2 \ `$(PKG_CONFIG) --libs gtk+-2.0 x11` +gnome-ssh-askpass3: gnome-ssh-askpass2.c + $(CC) $(CFLAGS) `$(PKG_CONFIG) --cflags gtk+-3.0` \ + gnome-ssh-askpass2.c -o gnome-ssh-askpass3 \ + `$(PKG_CONFIG) --libs gtk+-3.0 x11` + clean: - rm -f *.o gnome-ssh-askpass1 gnome-ssh-askpass2 gnome-ssh-askpass + rm -f *.o gnome-ssh-askpass gnome-ssh-askpass[123]