Home | History | Annotate | Download | only in contrib
      1 PKG_CONFIG = pkg-config
      2 
      3 all:
      4 	@echo "Valid targets: gnome-ssh-askpass1 gnome-ssh-askpass2"
      5 
      6 gnome-ssh-askpass1: gnome-ssh-askpass1.c
      7 	$(CC) $(CFLAGS) `gnome-config --cflags gnome gnomeui` \
      8 		gnome-ssh-askpass1.c -o gnome-ssh-askpass1 \
      9 		`gnome-config --libs gnome gnomeui`
     10 
     11 gnome-ssh-askpass2: gnome-ssh-askpass2.c
     12 	$(CC) $(CFLAGS) `$(PKG_CONFIG) --cflags gtk+-2.0` \
     13 		gnome-ssh-askpass2.c -o gnome-ssh-askpass2 \
     14 		`$(PKG_CONFIG) --libs gtk+-2.0 x11`
     15 
     16 clean:
     17 	rm -f *.o gnome-ssh-askpass1 gnome-ssh-askpass2 gnome-ssh-askpass
     18