X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=userv-utils.git;a=blobdiff_plain;f=ipif%2FMakefile;h=c8f66734e384f19e05d955de86e16bd756107a10;hp=2bcea8cf5a7fdba4d39b3b0b69551250e5bf58b6;hb=6d90651a47ba02af64dcef776eab88a5db24e979;hpb=5f1c67ff94a72191a92c02205b91c321bc96695b diff --git a/ipif/Makefile b/ipif/Makefile index 2bcea8c..c8f6673 100644 --- a/ipif/Makefile +++ b/ipif/Makefile @@ -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