chiark
/
gitweb
/
~ian
/
userv-utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Initial version of glue - going to abandon -alloc stuff.
[userv-utils.git]
/
ipif
/
Makefile
diff --git
a/ipif/Makefile
b/ipif/Makefile
index fd69b4a06782f1523491f8dc4f2b5907aa1f8b49..c8f66734e384f19e05d955de86e16bd756107a10 100644
(file)
--- a/
ipif/Makefile
+++ b/
ipif/Makefile
@@
-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