chiark / gitweb /
Initial version of glue - going to abandon -alloc stuff.
[userv-utils.git] / ipif / Makefile
index 2bcea8c..c8f6673 100644 (file)
@@ -3,4 +3,16 @@
 CFLAGS=                -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith \
                -Wwrite-strings -g -D_GNU_SOURCE
 
-all:           service
+etc=           /etc
+prefix=                /usr/local
+libipif=       $(prefix)/lib/userv-ipif
+etcipif=       $(etc)/userv/ipif
+
+TARGETS=       service
+
+all:           $(TARGETS)
+
+install:       all
+               mkdir -p $(libipif) $(etcipif)
+               cp service alloc.pl $(libdir)/.
+               touch $(etcipif)/networks