Correct PPTP server firewall rules chain.
[tomato/davidwu.git] / release / src / router / rp-l2tp / libevent / Makefile
blob185bb48094005bac06703165309f4e20ef152570
1 # $Id: Makefile,v 1.1.48.1 2005/08/08 12:05:25 honor Exp $
3 # Makefile for event-handling library
5 # Copyright 2002 Roaring Penguin Software Inc.
7 # This software may be distributed according to the terms of the GNU
8 # General Public License, version 2 or (at your option) any later version.
9 # LIC: GPL
11 OBJS=event.o event_tcp.o hash.o event_sig.o
12 SRCS=$(OBJS:.o=.c)
13 HDRS=event.h event_tcp.h eventpriv.h hash.h
14 CFLAGS=-g -O2 -I..
16 all: libevent.a
18 libevent.a: $(OBJS)
19 rm -f libevent.a
20 ar -cq libevent.a $(OBJS)
21 mipsel-uclibc-ranlib libevent.a
23 event.o: event.c $(HDRS)
24 $(CC) $(CFLAGS) -c -o event.o event.c
26 hash.o: hash.c $(HDRS)
27 $(CC) $(CFLAGS) -c -o hash.o hash.c
29 event_sig.o: event_sig.c $(HDRS)
30 $(CC) $(CFLAGS) -c -o event_sig.o event_sig.c
32 event_tcp.o: event_tcp.c $(HDRS)
33 $(CC) $(CFLAGS) -c -o event_tcp.o event_tcp.c
35 clean: FORCE
36 rm -f *.a *.o *~
38 FORCE:
40 .phony: FORCE