~ubuntu-branches/ubuntu/oneiric/libapache-mod-jk/oneiric

« back to all changes in this revision

Viewing changes to jk/native/apache-1.3/Makefile.apxs.in

  • Committer: Bazaar Package Importer
  • Author(s): Steve Kowalik
  • Date: 2006-08-05 16:30:53 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060805163053-myf66gm6j1a21ps6
Tags: 1:1.2.18-1ubuntu1
Merge from Debian unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
## configure should make the Makefile out of this file.
2
 
 
3
 
APXS=@APXS@
4
 
OS=@OS@
5
 
JAVA_HOME=@JAVA_HOME@
6
 
APXSLDFLAGS=@APXSLDFLAGS@
7
 
APXSCFLAGS=@APXSCFLAGS@
8
 
 
9
 
JK=../common/
10
 
JK_INCL=-DUSE_APACHE_MD5 -I ${JK}
11
 
JAVA_INCL=-I ${JAVA_HOME}/include -I ${JAVA_HOME}/include/${OS}
12
 
JAVA_LIB=-L ${JAVA_HOME}/jre/lib/${ARCH} -L ${JAVA_HOME}/lib/${ARCH}/native_threads
13
 
 
14
 
## read the object (.c) from the list file.
15
 
OEXT=.c
16
 
include ../common/list.mk
17
 
 
18
 
all: mod_jk.so
19
 
 
20
 
mod_jk.so: 
21
 
        $(APXS) -c -o $@ -Wc,"${APXSCFLAGS} ${JK_INCL}" ${JAVA_INCL} "${APXSLDFLAGS}" mod_jk.c ${APACHE_OBJECTS} 
22
 
 
23
 
clean:
24
 
        rm *.o *.so