1# Generated automatically from Makefile.in by configure.
2# Generated automatically from Makefile.in by configure.
3#***********************************************************************
4#
5# Makefile
6#
7# Makefile for Roaring Penguin's Linux user-space PPPoE client.
8#
9# Copyright (C) 2000 Roaring Penguin Software Inc.
10#
11# This program may be distributed according to the terms of the GNU
12# General Public License, version 2 or (at your option) any later version.
13#
14# LIC: GPL
15#
16# $Id: Makefile,v 1.1.1.1 2008/10/15 03:30:51 james26_jang Exp $
17#***********************************************************************
18
19# Version is set ONLY IN THE MAKEFILE!  Don't delete this!
20VERSION=3.5
21
22#CC=mipsel-uclibc-gcc
23#STRIP=mipsel-uclibc-strip
24#INSTALL=install
25
26
27DEFINES=
28# Plugin for pppd on Linux
29LINUX_KERNELMODE_PLUGIN=
30PPPD_INCDIR=
31
32# Include ServPoET version if we're building for ServPoET
33
34CFLAGS = -s -O2 -I. -DVERSION=3.5
35CFLAGS += -I. -I$(SRCBASE)/include
36LDFLAGS += -L$(TOP)/nvram -lnvram
37TARGET=pppoe-relay
38
39all: $(TARGET)
40
41$(TARGET): relay.o if.o debug.o common.o
42	$(CC) -o $@ $^ $(LDFLAGS)
43	$(STRIP) $(TARGET)
44
45install: all
46	install -D $(TARGET) $(INSTALLDIR)/usr/sbin/$(TARGET)
47
48clean:
49	rm -rf *.o $(TARGET)
50