bottleneck testcase based on rubbos
[bottlenecks.git] / rubbos / app / tomcat-connectors-1.2.32-src / native / apache-2.0 / Makefile.apxs.in
1 # Licensed to the Apache Software Foundation (ASF) under one or more
2 # contributor license agreements.  See the NOTICE file distributed with
3 # this work for additional information regarding copyright ownership.
4 # The ASF licenses this file to You under the Apache License, Version 2.0
5 # (the "License"); you may not use this file except in compliance with
6 # the License.  You may obtain a copy of the License at
7 #
8 #     http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15
16 ## configure should make the Makefile out of this file.
17
18 APXS=@APXS@
19 OS=@OS@
20 JAVA_HOME=@JAVA_HOME@
21 APXSLDFLAGS=@APXSLDFLAGS@
22 APXSCFLAGS=@APXSCFLAGS@
23
24 JK=../common/
25 JK_INCL=-DUSE_APACHE_MD5 -I ${JK}
26 JAVA_INCL=-I ${JAVA_HOME}/include -I ${JAVA_HOME}/include/${OS}
27 JAVA_LIB=-L ${JAVA_HOME}/jre/lib/${ARCH} -L ${JAVA_HOME}/lib/${ARCH}/native_threads
28
29 ## read the object (.c) from the list file.
30 OEXT=.c
31 include ../common/list.mk
32
33 all: mod_jk.la
34
35 mod_jk.la:
36         $(APXS)  -c -o $@ -Wc,"${APXSCFLAGS} ${JK_INCL}" "${JAVA_INCL}" ${APXSLDFLAGS} mod_jk.c ${APACHE_OBJECTS}
37
38 install: mod_jk.la
39         $(APXS) -i mod_jk.la
40
41 clean:
42         rm -f *.o *.lo *.a *.la *.so *.so.* *.slo
43         rm -rf .libs
44
45 maintainer-clean: clean