mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-25 11:22:10 +00:00
593538911a
pkg-config so it does the right thing when cross-compiling. Patch from cjwatson at debian org.
18 lines
511 B
Makefile
18 lines
511 B
Makefile
PKG_CONFIG = pkg-config
|
|
|
|
all:
|
|
@echo "Valid targets: gnome-ssh-askpass1 gnome-ssh-askpass2"
|
|
|
|
gnome-ssh-askpass1: gnome-ssh-askpass1.c
|
|
$(CC) `gnome-config --cflags gnome gnomeui` \
|
|
gnome-ssh-askpass1.c -o gnome-ssh-askpass1 \
|
|
`gnome-config --libs gnome gnomeui`
|
|
|
|
gnome-ssh-askpass2: gnome-ssh-askpass2.c
|
|
$(CC) `$(PKG_CONFIG) --cflags gtk+-2.0` \
|
|
gnome-ssh-askpass2.c -o gnome-ssh-askpass2 \
|
|
`$(PKG_CONFIG) --libs gtk+-2.0 x11`
|
|
|
|
clean:
|
|
rm -f *.o gnome-ssh-askpass1 gnome-ssh-askpass2 gnome-ssh-askpass
|