1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/www/mod_dtcl/files/Makefile.bsd
Mikhail Teterin 97d3f9d9d8 Upgrade to 0.11.1... The contents of the patch-tmp should really be
submitted  to the  libapreq  developers --  the  mod_dtcl author  simply
bundles a couple of their source files with mod_dtcl...
2001-08-08 03:23:35 +00:00

33 lines
799 B
Makefile

TCL_VERSION?=8.3
TCL_NDVER?=${TCL_VERSION:S/.//} # same, but without the dot
PREFIX?= /usr/local
INCLUDES=-I${PREFIX}/include/apache -I${PREFIX}/include/tcl${TCL_VERSION}
DTCL_VERSION!= cat ${.CURDIR}/VERSION
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
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 \
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>