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=fd69b4a06782f1523491f8dc4f2b5907aa1f8b49;hb=6d90651a47ba02af64dcef776eab88a5db24e979;hpb=1c1a9fa137045a9ac8cca121cd7ed89be5fe43e0 diff --git a/ipif/Makefile b/ipif/Makefile index fd69b4a..c8f6673 100644 --- a/ipif/Makefile +++ b/ipif/Makefile @@ -1,6 +1,18 @@ # 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