You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by jf...@apache.org on 2002/11/28 16:06:36 UTC
cvs commit: jakarta-tomcat-connectors/jk/native2/server/apache13 Makefile.in
jfclere 2002/11/28 07:06:36
Modified: jk/native2/server/apache13 Makefile.in
Log:
Arrange libtool logic.
Revision Changes Path
1.6 +8 -3 jakarta-tomcat-connectors/jk/native2/server/apache13/Makefile.in
Index: Makefile.in
===================================================================
RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/server/apache13/Makefile.in,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- Makefile.in 4 Jun 2002 10:33:45 -0000 1.5
+++ Makefile.in 28 Nov 2002 15:06:36 -0000 1.6
@@ -13,8 +13,9 @@
JK_DIR := ../..
BUILD_DIR = ${JK_DIR}/../build/jk2/apache13
+APACHE_LIBEXEC=${APACHE_HOME}/libexec
-#LIBTOOL=@LIBTOOL@
+LIBTOOL=@LIBTOOL@
# It doesn't hurt if we include all
INCLUDES= -I${JK_DIR}/include \
@@ -34,7 +35,8 @@
COMPILE = $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(ALL_INCLUDES)
SH_COMPILE = $(LIBTOOL) --mode=compile $(COMPILE) $(JK_CFLAGS)
-MOD_LINK = $(LIBTOOL) --mode=link $(CC) -module -shared $(LT_LDFLAGS) $(ALL_LDFLAGS) $(JK_LDFLAGS)
+MOD_LINK = $(LIBTOOL) --mode=link $(CC) -avoid-version -module -rpath $(APACHE_LIBEXEC) $(LT_LDFLAGS) $(ALL_LDFLAGS) $(JK_LDFLAGS)
+MOD_INSTALL = $(LIBTOOL) --mode=install $(CP)
#############################################################################
@@ -73,7 +75,10 @@
all: prepare ${BUILD_DIR}/mod_jk2.so
-${BUILD_DIR}/mod_jk2.so: ${COMMON_LO_FILES} ${A_LO_FILES}
+${BUILD_DIR}/mod_jk2.so: ${BUILD_DIR}/mod_jk2.la
+ $(MOD_INSTALL) cp $^ `pwd`/${BUILD_DIR}
+
+${BUILD_DIR}/mod_jk2.la: ${COMMON_LO_FILES} ${A_LO_FILES}
${MOD_LINK} -o $@ $^ @APR_LDFLAGS@
${COMMON_C_FILES} ${A_C_FILES}: ${H_FILES}
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>