# # Copyright (C) 1997-2000 SpellCaster Telecommunications Inc. # $Id: Makefile.in,v 1.1 2004/03/11 03:59:31 bcrl Exp $ # Released under the GNU Public License. See LICENSE file for details. # TOPDIR=../.. include ../../common.mak MODDIR = /lib/modules/`uname -r`/misc/ INSTALL = /usr/bin/install MANDIR = /usr/man SBINDIR = /sbin CFLAGS = -fomit-frame-pointer -O2 -Wall -I../../include -I/usr/src/linux/include ifeq (alpha,$(ARCH)) CFLAGS+=-ffixed-8 -mno-fp-regs endif all: pppoed -include pppoed.dep pppoed: pppoed.c gcc -Wall -o pppoed pppoed.c clean: $(RM) *.o *.dep pppoed distclean: clean $(RM) Makefile *.sw? *.bak install: all $(INSTALL) -d -o root -g root -m755 $(MODDIR) $(INSTALL) -o root -g root -m644 pppoe.o $(MODDIR) $(INSTALL) -o root -g root -m644 pppoed $(SBINDIR) uninstall: distclean $(RM) *.o