]> git.ozlabs.org Git - ppp.git/blob - contrib/pppgetpass/Makefile.linux
Get the repository a bit closer to what will be released
[ppp.git] / contrib / pppgetpass / Makefile.linux
1 all: pppgetpass.vt pppgetpass.gtk
2
3 pppgetpass.vt: pppgetpass.vt.o
4
5 pppgetpass.gtk: pppgetpass.gtk.o
6         $(CC) $(LDFLAGS) pppgetpass.gtk.o `gtk-config --libs` -o pppgetpass.gtk
7 pppgetpass.gtk.o: pppgetpass.gtk.c
8         $(CC) $(CFLAGS) -c pppgetpass.gtk.c `gtk-config --cflags`
9
10 install: all
11         install -m 755 pppgetpass.sh /usr/bin/pppgetpass
12         install -m 4755 -o root -g root pppgetpass.vt /usr/bin/
13         install -m 755 -o root -g root pppgetpass.gtk /usr/X11/bin/
14
15 clean:
16         rm -f *.o pppgetpass.gtk pppgetpass.vt core