1# Generated automatically from Makefile.in by configure. 2#*********************************************************************** 3# 4# Makefile 5# 6# Makefile for Roaring Penguin's Linux PPPoE plugin. 7# 8# Copyright (C) 2001 Roaring Penguin Software Inc. 9# 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. 12# 13# $Id: Makefile.linux,v 1.1.1.1 2008/10/15 03:30:50 james26_jang Exp $ 14#*********************************************************************** 15 16# Version is set ONLY IN THE MAKEFILE! Don't delete this! 17VERSION=3.3 18 19COPTS=-O2 -g 20CFLAGS=$(COPTS) -I../../../include/linux 21all: rp-pppoe.so 22 23rp-pppoe.so: libplugin.a plugin.o 24 $(LD) -o rp-pppoe.so -shared plugin.o libplugin.a 25 26install: all 27 $(INSTALL) -d -m 755 $(LIBDIR) 28 $(INSTALL) -s -c -m 4550 rp-pppoe.so $(LIBDIR) 29 30clean: 31 rm -f *.o *.so 32 33plugin.o: plugin.c 34 $(CC) '-DRP_VERSION="$(VERSION)"' $(CFLAGS) -I../../.. -c -o plugin.o -fPIC plugin.c 35 36libplugin.a: discovery.o if.o common.o debug.o 37 $(AR) -rc $@ $^ 38 39discovery.o: discovery.c 40 $(CC) $(CFLAGS) '-DVERSION="$(VERSION)"' -c -o discovery.o -fPIC discovery.c 41 42if.o: if.c 43 $(CC) $(CFLAGS) '-DVERSION="$(VERSION)"' -c -o if.o -fPIC if.c 44 45debug.o: debug.c 46 $(CC) $(CFLAGS) '-DVERSION="$(VERSION)"' -c -o debug.o -fPIC debug.c 47 48common.o: common.c 49 $(CC) $(CFLAGS) '-DVERSION="$(VERSION)"' -c -o common.o -fPIC common.c 50 51