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 12OBJS=event.o event_tcp.o hash.o event_sig.o 13SRCS=$(OBJS:.o=.c) 14HDRS=event.h event_tcp.h eventpriv.h hash.h 15CFLAGS=@CFLAGS@ -I.. $(DEFINES) 16AR=ar 17 18all: libevent.a 19 20libevent.a: $(OBJS) 21 rm -f libevent.a 22 $(AR) -cq libevent.a $(OBJS) 23 @RANLIB@ libevent.a 24 25event.o: event.c $(HDRS) 26 @CC@ $(CFLAGS) -c -o $@ $< 27 28hash.o: hash.c $(HDRS) 29 @CC@ $(CFLAGS) -c -o $@ $< 30 31event_sig.o: event_sig.c $(HDRS) 32 @CC@ $(CFLAGS) -c -o $@ $< 33 34event_tcp.o: event_tcp.c $(HDRS) 35 @CC@ $(CFLAGS) -c -o $@ $< 36 37clean: FORCE 38 rm -f *.a *.o *~ 39 40FORCE: 41 42.phony: FORCE 43