52897b80cb
Submitted by: bento via kris
25 lines
813 B
Text
25 lines
813 B
Text
PREFIX?= /usr/local
|
|
|
|
NEO_LIBRARY?= ${PREFIX}/lib/neo8.2
|
|
TCL_VER?= 8.4
|
|
TCL_DVER= ${TCL_VER:S/.//}
|
|
CFLAGS+= -I${PREFIX}/include/tcl${TCL_VER} -I${PREFIX}/include
|
|
CFLAGS+= -DNEO_LIBRARY=\"${NEO_LIBRARY}\"
|
|
CFLAGS+= -DHAVE_TERMIOS_H -DHAVE_STDLIB_H -DHAVE_SYS_TIME_H -DHAVE_UNISTD_H
|
|
CFLAGS+= -DNEO_DB # -DDB_185_COMPAT -- seems broken :-(
|
|
CFLAGS+= -DNEOSOFT_TCL_ENCRYPTION -DCUTE
|
|
# OpenLDAP requires db3, while the NEO_DB stuff works only with db2.
|
|
# Disable NEO_LDAP until the NEW_DB is upgraded
|
|
# CFLAGS+= -DNEO_LDAP
|
|
|
|
SRCS= neoXcrypt.c neoPkgInit.c neoXwww.c neoXgeneral.c \
|
|
neoXcute.c neoXcomma.c neoXkdebug.c neoCbuf.c \
|
|
neoXlist.c neoXdb.c # neoXldap.c
|
|
|
|
SHLIB_NAME= libneo82.so.1
|
|
|
|
LDADD+= -lcrypt -L${PREFIX}/lib -ltcl${TCL_DVER} -lm -lmd -ldb2 # -ldap -llber
|
|
|
|
LIBDIR= ${PREFIX}/lib
|
|
|
|
.include <bsd.lib.mk>
|