diff options
author | Steve Price <steve@FreeBSD.org> | 2000-01-29 05:51:46 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 2000-01-29 05:51:46 +0000 |
commit | 2afc94ccbe99f9dfabdb754001e892aedee09e09 (patch) | |
tree | f43625391e6b2ac52acabbd711ba40632766ed77 /www/mod_dtcl/files/Makefile.bsd | |
parent | Adding p5-Apache-ASP version 0.17. (diff) |
Adding mod_dtcl version 0.6.4.2.
Embeds a TCL8 interpreter in the Apache webserver.
PR: 16020
Submitted by: Mikhail Teterin <mi@aldan.algebra.com>
Diffstat (limited to 'www/mod_dtcl/files/Makefile.bsd')
-rw-r--r-- | www/mod_dtcl/files/Makefile.bsd | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/www/mod_dtcl/files/Makefile.bsd b/www/mod_dtcl/files/Makefile.bsd new file mode 100644 index 000000000000..e8d5430e7cab --- /dev/null +++ b/www/mod_dtcl/files/Makefile.bsd @@ -0,0 +1,28 @@ +# If you link against Tcl like so "-ltcl", leave this blank. +TCL_VERSION?=8.2 +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} + +LIB= mod_dtcl +SHLIB_MAJOR=1 +SHLIB_MINOR=0 + +LDADD= -L${PREFIX}/lib -ltcl${TCL_NDVER} +LDFLAGS=${LDADD} -lm + +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> |