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

« back to all changes in this revision

Viewing changes to native/apache-2.0/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.la
 
19
 
 
20
mod_jk.la: 
 
21
        $(APXS)  -c -o $@ -Wc,"${APXSCFLAGS} ${JK_INCL}" "${JAVA_INCL}" "${APXSLDFLAGS}" mod_jk.c ${APACHE_OBJECTS} 
 
22
 
 
23
install: mod_jk.la
 
24
        $(APXS) -i mod_jk.la
 
25
 
 
26
clean:
 
27
        rm -f *.o *.lo *.a *.la *.so *.so.* *.slo
 
28
        rm -rf .libs