diff options
author | ian <ian> | 2003-07-06 20:32:27 +0000 |
---|---|---|
committer | ian <ian> | 2003-07-06 20:32:27 +0000 |
commit | 6362f12ce73173b77cecddba14e33e6dfa203b7e (patch) | |
tree | cecfba7ddcd14bc9f58a484f2b9dd6fa84fec7ba /ipif | |
parent | 6939778b9791f6af5bb575789665af11b599f14a (diff) | |
download | userv-utils-6362f12ce73173b77cecddba14e33e6dfa203b7e.tar.gz |
*** empty log message ***
Diffstat (limited to 'ipif')
-rw-r--r-- | ipif/Makefile | 30 | ||||
-rw-r--r-- | ipif/ipif | 2 |
2 files changed, 10 insertions, 22 deletions
diff --git a/ipif/Makefile b/ipif/Makefile index ab3db07..879c013 100644 --- a/ipif/Makefile +++ b/ipif/Makefile @@ -18,27 +18,10 @@ # # $Id$ -OPTIMISE= -O2 -CFLAGS= -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith \ - -Wwrite-strings -g $(OPTIMISE) -D_GNU_SOURCE \ - $(XCFLAGS) - -etcdir= /etc -prefix= /usr/local -bindir= $(prefix)/bin -vardir= /var - -libdir= $(prefix)/lib -sharedir= $(prefix)/share -libuserv= $(libdir)/userv -shareuserv= $(sharedir)/userv -varlib= $(vardir)/lib -varlibuserv= $(varlib)/userv -varlibvpn= $(varlibuserv)/vpn +include ../settings.make -etcuserv= $(etcdir)/userv +varlibvpn= $(varlibuserv)/vpn etcvpn= $(etcdir)/userv/vpn -services= $(etcuserv)/services.d PROGRAM_TARGETS= udptunnel-forwarder udptunnel-reconf TARGETS= service blowfishtest $(PROGRAM_TARGETS) @@ -53,16 +36,21 @@ OBJS_BFTEST= blowfishtest.o blowfish.o hex.o all: $(TARGETS) install: all - mkdir -p $(libuserv) $(services) $(etcvpn) \ + mkdir -p $(bindir) $(libuserv) $(services) \ $(varlibvpn) $(shareuserv) cp -b service $(libuserv)/ipif cp -b $(PROGRAMS) $(bindir)/. cp ipif $(services)/ipif:new set -e; cd $(services); test -f ipif || mv ipif:new ipif - cp *.example $(etcvpn)/. cp udptunnel-vpn-config.m4 udptunnel-vpn-defaults \ $(shareuserv)/. +install-docs: + +install-examples: + mkdir -p $(etcvpn) + cp *.example $(etcvpn)/. + udptunnel-reconf: udptunnel-reconf.pl Makefile perl -pe ' \ print "\ @@ -5,5 +5,5 @@ if ( grep calling-user-shell /etc/shells no-set-environment no-suppress-args no-disconnect-hup - execute /usr/local/lib/userv/ipif /etc/userv/ipif-networks -- + execute /usr/lib/userv/ipif /etc/userv/ipif-networks -- fi |