blob: 7f7988c1989fd02d25a5b2b1dcb762a4131c0008
1 | # Generated automatically from Makefile.in by configure. |
2 | # $Id$ |
3 | # |
4 | # Makefile for event-handling library |
5 | # |
6 | # Copyright 2002 Roaring Penguin Software Inc. |
7 | # |
8 | # This software may be distributed according to the terms of the GNU |
9 | # General Public License, version 2 or (at your option) any later version. |
10 | # LIC: GPL |
11 | |
12 | OBJS=event.o event_tcp.o hash.o event_sig.o |
13 | SRCS=$(OBJS:.o=.c) |
14 | HDRS=event.h event_tcp.h eventpriv.h hash.h |
15 | CFLAGS=@CFLAGS@ -I.. $(DEFINES) |
16 | AR=ar |
17 | |
18 | all: libevent.a |
19 | |
20 | libevent.a: $(OBJS) |
21 | rm -f libevent.a |
22 | $(AR) -cq libevent.a $(OBJS) |
23 | @RANLIB@ libevent.a |
24 | |
25 | event.o: event.c $(HDRS) |
26 | @CC@ $(CFLAGS) -c -o event.o event.c |
27 | |
28 | hash.o: hash.c $(HDRS) |
29 | @CC@ $(CFLAGS) -c -o hash.o hash.c |
30 | |
31 | event_sig.o: event_sig.c $(HDRS) |
32 | @CC@ $(CFLAGS) -c -o event_sig.o event_sig.c |
33 | |
34 | event_tcp.o: event_tcp.c $(HDRS) |
35 | @CC@ $(CFLAGS) -c -o event_tcp.o event_tcp.c |
36 | |
37 | clean: FORCE |
38 | rm -f *.a *.o *~ |
39 | |
40 | FORCE: |
41 | |
42 | .phony: FORCE |