1 # Generated automatically from Makefile.in by configure.
2 #***********************************************************************
6 # Makefile for Roaring Penguin's Linux PPPoE plugin.
8 # Copyright (C) 2001 Roaring Penguin Software Inc.
10 # This program may be distributed according to the terms of the GNU
11 # General Public License, version 2 or (at your option) any later version.
13 # $Id: Makefile.linux,v 1.2 2004/01/13 03:57:55 paulus Exp $
14 #***********************************************************************
16 # Version is set ONLY IN THE MAKEFILE! Don't delete this!
20 CFLAGS=$(COPTS) -I../../../include/linux
23 rp-pppoe.so: libplugin.a plugin.o
24 gcc -o rp-pppoe.so -shared plugin.o libplugin.a
27 $(INSTALL) -d -m 755 $(LIBDIR)
28 $(INSTALL) -s -c -m 4550 rp-pppoe.so $(LIBDIR)
34 gcc '-DRP_VERSION="$(VERSION)"' $(CFLAGS) -I../../.. -c -o plugin.o -fPIC plugin.c
36 libplugin.a: discovery.o if.o common.o debug.o
39 discovery.o: discovery.c
40 gcc $(CFLAGS) '-DVERSION="$(VERSION)"' -c -o discovery.o -fPIC discovery.c
43 gcc $(CFLAGS) '-DVERSION="$(VERSION)"' -c -o if.o -fPIC if.c
46 gcc $(CFLAGS) '-DVERSION="$(VERSION)"' -c -o debug.o -fPIC debug.c
49 gcc $(CFLAGS) '-DVERSION="$(VERSION)"' -c -o common.o -fPIC common.c