1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-13 23:36:08 +00:00
freebsd-ports/www/mod_dtcl/files/Makefile.bsd
Steve Price 10db431aa7 Update to version 0.8.1.1.
PR:		19878
Submitted by:	maintainer
2000-07-16 19:54:39 +00:00

30 lines
794 B
Makefile

# If you link against Tcl like so "-ltcl", leave this blank.
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}
CC!= ${PREFIX}/sbin/apxs -q CC
CFLAGS!= ${PREFIX}/sbin/apxs -q CFLAGS CFLAGS_SHLIB
CFLAGS+= -Wall -DSTATUS -DNO_DBM_REWRITEMAP ${INCLUDES}
CFLAGS+= -DDEBUG_SCRIPT_DIR="\"${PREFIX}/share/mod_dtcl/\""
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
NOMAN= True # don't bother with the man-page here, let the port handle it
all: ${SHLIB_NAME} testdtcl
.include <bsd.lib.mk>