# Makefile for mod_rpaf.c (gmake)
# $Id: Makefile,v 1.1.1.1 2001/08/29 16:38:41 thomas Exp $
APXS=$(shell which apxs) 
#APXS=/pat/to/your/apxs

default:
	@echo mod_rpaf:
	@echo nevest version available at http://stderr.net/apache/rpaf/
	@echo
	@echo following options available:
	@echo \"make rpaf\" to compile
	@echo \"make install\" to install
	@echo
	@echo change path to apxs if this is not it: \"$(APXS)\"


rpaf: mod_rpaf.so
	@echo make done, type \"make install\" to install mod_rpaf

mod_rpaf.so:
	$(APXS) -c -o $@ mod_rpaf.c

install:
	$(APXS) -i -n mod_rpaf mod_rpaf.so

clean:
	rm -rf *~ *.o *.so
