]> git.ozlabs.org Git - ppp.git/blobdiff - contrib/pppgetpass/Makefile.linux
Get the repository a bit closer to what will be released
[ppp.git] / contrib / pppgetpass / Makefile.linux
diff --git a/contrib/pppgetpass/Makefile.linux b/contrib/pppgetpass/Makefile.linux
new file mode 100644 (file)
index 0000000..7eb217d
--- /dev/null
@@ -0,0 +1,16 @@
+all: pppgetpass.vt pppgetpass.gtk
+
+pppgetpass.vt: pppgetpass.vt.o
+
+pppgetpass.gtk: pppgetpass.gtk.o
+       $(CC) $(LDFLAGS) pppgetpass.gtk.o `gtk-config --libs` -o pppgetpass.gtk
+pppgetpass.gtk.o: pppgetpass.gtk.c
+       $(CC) $(CFLAGS) -c pppgetpass.gtk.c `gtk-config --cflags`
+
+install: all
+       install -m 755 pppgetpass.sh /usr/bin/pppgetpass
+       install -m 4755 -o root -g root pppgetpass.vt /usr/bin/
+       install -m 755 -o root -g root pppgetpass.gtk /usr/X11/bin/
+
+clean:
+       rm -f *.o pppgetpass.gtk pppgetpass.vt core