# # Copyright (C) 1997-2000 SpellCaster Telecommunications Inc. # $Id: Makefile.in,v 1.7 2004/07/13 04:57:44 bcrl Exp $ # Released under the GNU Public License. See LICENSE file for details. # kver := $(shell uname -r | cut -d. -f1-2) all: echo done TOPDIR=../.. K_SRC:=l2tp_k.c K_TARG:=l2tp.o include $(TOPDIR)/common.mak include ../common.kernel.mak CFLAGS+=-DLINUX -I/usr/src/linux/include l2tpd: l2tpd.c l2tp_build.h: l2tp_k.c printf "#define L2TP_BUILD %d\n" $$[1 + `cut -d\ -f2 l2tp_build.h`] >l2tp_build.h l2tpd.c: ../../include/l2tp_linux.h install: clean: $(RM) test_000 l2tpd *.o distclean: clean $(RM) Makefile