--- embedaddon/mpd/src/Makefile 2012/02/21 23:32:47 1.1.1.1 +++ embedaddon/mpd/src/Makefile 2013/07/22 08:44:29 1.1.1.2 @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.1.1.1 2012/02/21 23:32:47 misho Exp $ +# $Id: Makefile,v 1.1.1.2 2013/07/22 08:44:29 misho Exp $ # # Makefile for mpd, multi-link PPP daemon for FreeBSD # @@ -10,10 +10,11 @@ PROG?= mpd5 PREFIX?= /usr/local BINDIR?= ${PREFIX}/sbin -VERSION= 5.6 +VERSION= 5.7 NOMAN= NO_MAN= + # Default configuration directory MPD_CONF_DIR?= ${PREFIX}/etc/mpd5 @@ -58,18 +59,23 @@ USE_AUTH_PAM= yes USE_AUTH_SYSTEM= yes # Build with builtin libpdel - NOLIBPDEL= yes -# Build without builtin web server - +# Build without builtin web server. #NOWEB= yes # Set syslog logging facility. Change LOG_DAEMON to whatever you like. - +# Comment this line disable syslog (3) support SYSLOG_FACILITY= LOG_DAEMON + +# Print wide protocol names instead of short names. +# Comment this line, to save about 10 KB space COPTS+= -DPROTO_NAME_LIST +# Reduce some internal structures size to save more memory +# This is to limit amount of active sessions +#SMALL_SYSTEM= yes + # Compiler & linker flags .if defined ( USE_TCP_WRAP ) @@ -94,12 +100,12 @@ COPTS+= -DUSE_PAM .if defined ( USE_AUTH_SYSTEM ) ## based on /etc/password -LDADD+= -lcrypt -lutil +LDADD+= -lcrypt DPADD+= ${LIBCRYPT} ${LIBUTIL} COPTS+= -DUSE_SYSTEM .endif -LDADD+= -lnetgraph +LDADD+= -lnetgraph -lutil DPADD+= ${LIBNETGRAPH} LDADD+= -L/usr/lib -lradius