# Generated automatically from Makefile.in by configure.
# $Id: Makefile.in,v 1.4 2004/08/11 14:21:40 dfs Exp $
#
# Makefile for event-handling library
#
# Copyright 2002 Roaring Penguin Software Inc.
#
# This software may be distributed according to the terms of the GNU
# General Public License, version 2 or (at your option) any later version.
# LIC: GPL

OBJS=event.o event_tcp.o hash.o event_sig.o
SRCS=$(OBJS:.o=.c)
HDRS=event.h event_tcp.h eventpriv.h hash.h
CFLAGS=-D__NO_CTYPE  -DLinux -fomit-frame-pointer -pipe -D__linux__ -Dunix -DEMBED -mtune=mips4 -funit-at-a-time -I/opt/buildroot-gcc346/include  -DNEW_NAT_SERVER=1 -DFOR_RT3052=1 -DSYSTEM_IS_LITTLE_ENDIAN=1 -DSYSTEM_IS_BIG_ENDIAN=0 -DUSE_UCLIB=1 -O2 -DTARGET=1 -funit-at-a-time -Os -I/ISD2/configs/h -Wall -Wstrict-prototypes -ansi -I..
AR=ar

all: libevent.a

libevent.a: $(OBJS)
	rm -f libevent.a
	$(AR) -cq libevent.a $(OBJS)
	mipsel-linux-gnu-ranlib libevent.a

event.o: event.c $(HDRS)
	mipsel-linux-gnu-gcc $(CFLAGS) -c -o event.o event.c

hash.o: hash.c $(HDRS)
	mipsel-linux-gnu-gcc $(CFLAGS) -c -o hash.o hash.c

event_sig.o: event_sig.c $(HDRS)
	mipsel-linux-gnu-gcc $(CFLAGS) -c -o event_sig.o event_sig.c

event_tcp.o: event_tcp.c $(HDRS)
	mipsel-linux-gnu-gcc $(CFLAGS) -c -o event_tcp.o event_tcp.c

clean: FORCE
	rm -f *.a *.o *~

FORCE:

.phony: FORCE
