chiark / gitweb /
Initial version of glue - going to abandon -alloc stuff.
[userv-utils.git] / ipif / Makefile
index 2bcea8cf5a7fdba4d39b3b0b69551250e5bf58b6..c8f66734e384f19e05d955de86e16bd756107a10 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