5 #################################################################
6 # CHANGE THIS LINE to point to the location of your pppd binary.
8 #################################################################
15 CFLAGS
= -Wall
-O1
$(DEBUG
) $(INCLUDE
) -I
$(SRCBASE
)/include
21 PPTP_OBJS
= pptp.o pptp_gre.o ppp_fcs.o \
22 pptp_ctrl.o dirutil.o vector.o \
23 inststr.o util.o version.o \
24 pptp_quirks.o orckit_quirks.o
26 PPTP_DEPS
= pptp_callmgr.h pptp_gre.h ppp_fcs.h util.h \
27 pptp_quirks.h orckit_quirks.h config.h pptp_options.h
29 all: config.h
$(PPTP_BIN
)
31 $(PPTP_BIN
): $(PPTP_OBJS
) $(PPTP_DEPS
)
32 $(CC
) -o
$(PPTP_BIN
) $(PPTP_OBJS
) $(LDFLAGS
) $(LIBS
)
35 echo
"/* text added by Makefile target config.h */" > config.h
36 echo
"#define PPTP_LINUX_VERSION \"$(VERSION)\"" >> config.h
37 echo
"#define PPPD_BINARY \"$(PPPD)\"" >> config.h
39 vector_test
: vector_test.o vector.o
40 $(CC
) -o vector_test vector_test.o vector.o
46 $(RM
) $(PPTP_BIN
) vector_test
49 $(RM
) pptp-linux-
*.
tar.gz
55 $(RM
) pptp-linux-
$(VERSION
).
tar.gz
56 $(RM
) -r pptp-linux-
$(VERSION
)
57 mkdir pptp-linux-
$(VERSION
)
58 mkdir pptp-linux-
$(VERSION
)/Documentation
59 mkdir pptp-linux-
$(VERSION
)/Reference
61 AUTHORS COPYING INSTALL Makefile NEWS README TODO USING \
62 dirutil.c dirutil.h inststr.c inststr.h ppp_fcs.c ppp_fcs.h \
63 pptp.c pptp_callmgr.c pptp_callmgr.h pptp_ctrl.c pptp_ctrl.h \
64 pptp_gre.c pptp_gre.h pptp_msg.h pptp_options.h \
65 util.c util.h vector.c vector.h vector_test.c \
69 Documentation
/DESIGN.CALLMGR \
70 Documentation
/DESIGN.PPTP \
71 Documentation
/PORTING \
72 pptp-linux-
$(VERSION
)/Documentation
75 Reference
/ms-chap.txt \
76 Reference
/pptp-draft.txt \
77 Reference
/rfc1661.txt \
78 Reference
/rfc1662.txt \
79 Reference
/rfc1701.txt \
80 Reference
/rfc1702.txt \
81 Reference
/rfc1990.txt \
82 Reference
/rfc791.txt \
83 Reference
/rfc793.txt \
84 pptp-linux-
$(VERSION
)/Reference
85 tar czf pptp-linux-
$(VERSION
).
tar.gz pptp-linux-
$(VERSION
)
86 $(RM
) -r pptp-linux-
$(VERSION
)
88 pptp_ctrl.o
: $(SRCBASE
)/include/cyutils.h