blob: d15c5e62e77a7687913bd68d6ec338544740dac0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
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>
|