4 --- Makefile.orig Wed Feb 18 17:42:14 1998
5 +++ Makefile Sun Apr 9 21:07:17 2000
8 -VERSION_DEFINE = '-DPPTP_LINUX_VERSION="${VERSION}"'
9 +VERSION = 1.0.2+NetBSD
10 +VERSION_DEFINE = '-DPPTP_LINUX_VERSION="${VERSION}"' -DPROGRAM_NAME='"pptp"'
17 -CFLAGS = -O9 $(VERSION_DEFINE) $(DEBUG) $(INCLUDE)
18 +CFLAGS = $(VERSION_DEFINE) $(DEBUG) $(INCLUDE)
23 CALLMGR_OBJS = pptp_callmgr.o pptp_ctrl.o dirutil.o util.o vector.o version.o
24 CALLMGR_DEPS = pptp_callmgr.h pptp_ctrl.h dirutil.h pptp_msg.h vector.h
26 -all: $(PPTP_BIN) $(CALLMGR_BIN)
29 +all: $(PPTP_BIN) $(MANPAGE)
32 + $(INSTALL) -c $(PPTP_BIN) ${PREFIX}/sbin/${PPTP_BIN}
33 + $(INSTALL) -c -m 444 $(MANPAGE) ${PREFIX}/man/man8/$(MANPAGE)
34 + mkdir -p ${PREFIX}/share/doc/pptp
35 + $(INSTALL) -c -m 444 USING ${PREFIX}/share/doc/pptp/USING
36 + $(INSTALL) -c -m 444 README ${PREFIX}/share/doc/pptp/README
37 + $(INSTALL) -c -m 444 INSTALL ${PREFIX}/share/doc/pptp/INSTALL
38 + $(INSTALL) -c -m 444 NEWS ${PREFIX}/share/doc/pptp/NEWS
39 + tar cf - Reference Documentation |(cd ${PREFIX}/share/doc/pptp && tar xpBf -)
41 $(PPTP_BIN): $(PPTP_OBJS) $(PPTP_DEPS)
42 $(CC) -o $(PPTP_BIN) $(PPTP_OBJS) $(LDFLAGS) $(LIBS)
44 $(CC) -o vector_test vector_test.o vector.o
51 $(RM) $(PPTP_BIN) $(CALLMGR_BIN) vector_test