# $Header: /home/cvspublic/httpd-test/specweb99/specweb99-1.3/Makefile,v 1.5 2004/02/09 17:20:44 sctemme Exp $

# Copyright 2002-2004 The Apache Software Foundation
#
#   Licensed under the Apache License, Version 2.0 (the "License");
#   you may not use this file except in compliance with the License.
#   You may obtain a copy of the License at
#
#       http://www.apache.org/licenses/LICENSE-2.0
#
#   Unless required by applicable law or agreed to in writing, software
#   distributed under the License is distributed on an "AS IS" BASIS,
#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#   See the License for the specific language governing permissions and
#   limitations under the License.

# This Makefile will build mod_specweb99.so for you as shared
# Apache 1.3 module. Set the variable APXS to point to apxs on 
# your system. Set INC and LIB to point to your installation
# of MM. Defaults of the last two assume MM to sit in ../ .

# I'm sure I'm using some GNU make specifics here.

APXS ?= /usr/local/apache/bin/apxs
INC ?= -I../mm/include
LIB ?= -L../mm/lib -lmm


all: mod_specweb99.so

mod_specweb99.so: mod_specweb99.c mod_specweb99.h
	$(APXS) -c $(DEF) $(INC) $(LIB) mod_specweb99.c

clean:
	rm -f mod_specweb99.o mod_specweb99.so
