2012-05-19 07:24:37 +02:00
|
|
|
PKG_CONFIG = pkg-config
|
|
|
|
|
2002-09-30 02:40:39 +02:00
|
|
|
all:
|
2021-03-29 06:14:25 +02:00
|
|
|
@echo "Valid targets: gnome-ssh-askpass1 gnome-ssh-askpass2 gnome-ssk-askpass3"
|
2002-09-30 02:40:39 +02:00
|
|
|
|
|
|
|
gnome-ssh-askpass1: gnome-ssh-askpass1.c
|
2014-12-18 00:15:49 +01:00
|
|
|
$(CC) $(CFLAGS) `gnome-config --cflags gnome gnomeui` \
|
2002-09-30 02:40:39 +02:00
|
|
|
gnome-ssh-askpass1.c -o gnome-ssh-askpass1 \
|
|
|
|
`gnome-config --libs gnome gnomeui`
|
|
|
|
|
|
|
|
gnome-ssh-askpass2: gnome-ssh-askpass2.c
|
2014-12-18 00:15:49 +01:00
|
|
|
$(CC) $(CFLAGS) `$(PKG_CONFIG) --cflags gtk+-2.0` \
|
2002-09-30 02:40:39 +02:00
|
|
|
gnome-ssh-askpass2.c -o gnome-ssh-askpass2 \
|
2012-05-19 07:24:37 +02:00
|
|
|
`$(PKG_CONFIG) --libs gtk+-2.0 x11`
|
2002-09-30 02:40:39 +02:00
|
|
|
|
2021-04-10 10:22:57 +02:00
|
|
|
gnome-ssh-askpass3: gnome-ssh-askpass3.c
|
2016-11-25 04:04:21 +01:00
|
|
|
$(CC) $(CFLAGS) `$(PKG_CONFIG) --cflags gtk+-3.0` \
|
2021-04-10 10:22:57 +02:00
|
|
|
gnome-ssh-askpass3.c -o gnome-ssh-askpass3 \
|
2016-11-25 04:04:21 +01:00
|
|
|
`$(PKG_CONFIG) --libs gtk+-3.0 x11`
|
|
|
|
|
2002-09-30 02:40:39 +02:00
|
|
|
clean:
|
2016-11-25 04:04:21 +01:00
|
|
|
rm -f *.o gnome-ssh-askpass gnome-ssh-askpass[123]
|