summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2002-07-21 20:37:43 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2002-07-21 20:37:43 +0000
commit7368395c6386f5da70c04988583d9383565d0616 (patch)
tree5b6afaa672e93a8b64caaa73242ace26bb1c6dd9 /www
parentCatch up to the new bsd.lib.mk API. (diff)
Catch up to the new bsd.lib.mk API (the library is not internal).
Notes
Notes: svn path=/head/; revision=63337
Diffstat (limited to 'www')
-rw-r--r--www/mod_dtcl/files/Makefile.bsd9
-rw-r--r--www/neowebscript/files/Makefile.lib5
-rw-r--r--www/tclhttpd/files/Makefile.lib8
3 files changed, 4 insertions, 18 deletions
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 <bsd.lib.mk>
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 <bsd.lib.mk>
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}