Bugfixes, now seems to be getting there.
[userv-utils] / ipif / Makefile
CommitLineData
1c1a9fa1 1#
2
3CFLAGS= -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith \
02b2392d 4 -Wwrite-strings -g -D_GNU_SOURCE
1c1a9fa1 5
e5e5fd4e 6etcdir= /etc
6d90651a 7prefix= /usr/local
e5e5fd4e 8
9libdir= $(prefix)/lib
10libuserv= $(libdir)/userv
11
12etcuserv= $(etcdir)/userv
13services= $(etcuserv)/services.d
6d90651a 14
15TARGETS= service
16
17all: $(TARGETS)
18
19install: all
e5e5fd4e 20 mkdir -p $(libuserv) $(services)
baba1099 21 cp service $(libuserv)/ipif
e5e5fd4e 22 cp ipif $(services)/ipif:new
23 set -e; cd $(services); test -f ipif || mv ipif:new ipif