chiark / gitweb /
Initial version of glue - going to abandon -alloc stuff.
[userv-utils.git] / ipif / Makefile
index fd69b4a06782f1523491f8dc4f2b5907aa1f8b49..c8f66734e384f19e05d955de86e16bd756107a10 100644 (file)
@@ -1,6 +1,18 @@
 #
 
 CFLAGS=                -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith \
 #
 
 CFLAGS=                -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith \
-               -Wwrite-strings -g
+               -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