1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/www/tclhttpd/files/Makefile.lib

20 lines
420 B
Makefile

TCL_DVER?= 8.3
TCL_VER= ${TCL_DVER:S/.//}
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=${LIBNAME}_Init -Wall -Werror
LDADD+=-L${LOCALBASE}/lib -ltclstub${TCL_VER} -lcrypt
.PATH: ${.CURDIR}/src ${FILESDIR}
LIBNAME= Tclhttpdbin
SHLIB_NAME= lib${LIBNAME}.so
ech:
@echo ${SHLIB_NAME}
.include <bsd.lib.mk>