From 7368395c6386f5da70c04988583d9383565d0616 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Sun, 21 Jul 2002 20:37:43 +0000 Subject: Catch up to the new bsd.lib.mk API (the library is not internal). --- www/mod_dtcl/files/Makefile.bsd | 9 +-------- www/neowebscript/files/Makefile.lib | 5 ----- www/tclhttpd/files/Makefile.lib | 8 +++----- 3 files changed, 4 insertions(+), 18 deletions(-) (limited to 'www') diff --git a/www/mod_dtcl/files/Makefile.bsd b/www/mod_dtcl/files/Makefile.bsd index 142e804e3f7c..499162efa819 100644 --- a/www/mod_dtcl/files/Makefile.bsd +++ b/www/mod_dtcl/files/Makefile.bsd @@ -11,22 +11,15 @@ CC!= ${PREFIX}/sbin/apxs -q CC CFLAGS!= ${PREFIX}/sbin/apxs -q CFLAGS CFLAGS_SHLIB CFLAGS+= ${INCLUDES} -DDTCL_VERSION="\"${DTCL_VERSION}\"" -LIB= mod_dtcl -SHLIB_MAJOR=1 -SHLIB_MINOR=0 +SHLIB_NAME= libmod_dtcl.so.1 LDADD= -L${PREFIX}/lib -ltcl${TCL_NDVER} -lm LDFLAGS=${LDADD} -NOPROFILE= True # to avoid building profiled library -INTERNALLIB= True # to avoid building a static version - SRCS= mod_dtcl.c SRCS+= apache_cookie.c apache_multipart_buffer.c apache_request.c \ channel.c parser.c tcl_commands.c NOMAN= True # don't bother with the man-page here, let the port handle it -all: ${SHLIB_NAME} - .include diff --git a/www/neowebscript/files/Makefile.lib b/www/neowebscript/files/Makefile.lib index bc014befe903..4f57d17c79be 100644 --- a/www/neowebscript/files/Makefile.lib +++ b/www/neowebscript/files/Makefile.lib @@ -25,11 +25,6 @@ LDADD+= -ldb2 #LDFLAGS= ${LDADD} -NOPROFILE= True # to avoid building profiled library -INTERNALLIB= True # to avoid building a static version - NOMAN= True # don't bother with the man-page here, let the port handle it -all: ${SHLIB_NAME} - .include diff --git a/www/tclhttpd/files/Makefile.lib b/www/tclhttpd/files/Makefile.lib index b7be3b2eeca1..fc8e63104efa 100644 --- a/www/tclhttpd/files/Makefile.lib +++ b/www/tclhttpd/files/Makefile.lib @@ -5,15 +5,13 @@ PREFIX?= /usr/local SRCS=crypt.c setuid.c limit.c utime.c metaPackage.c CFLAGS+=-I${LOCALBASE}/include/tcl${TCL_DVER} -DUSE_TCL_STUBS \ - -DTclhttpdbin_Init=${LIB}_Init -Wall -Werror + -DTclhttpdbin_Init=${LIBNAME}_Init -Wall -Werror LDADD+=-L${LOCALBASE}/lib -ltclstub${TCL_VER} -lcrypt .PATH: ${.CURDIR}/src ${FILESDIR} -LIB= Tclhttpdbin -SHLIB_NAME= lib${LIB}.so -INTERNALLIB= no need for static version -NOPROFILE= no need for profiling this +LIBNAME= Tclhttpdbin +SHLIB_NAME= lib${LIBNAME}.so ech: @echo ${SHLIB_NAME} -- cgit v1.2.3