version 1.1, 2012/02/21 23:32:47
|
version 1.1.1.2, 2013/07/22 08:44:29
|
Line 10
|
Line 10
|
PROG?= mpd5 |
PROG?= mpd5 |
PREFIX?= /usr/local |
PREFIX?= /usr/local |
BINDIR?= ${PREFIX}/sbin |
BINDIR?= ${PREFIX}/sbin |
VERSION= 5.6 | VERSION= 5.7 |
NOMAN= |
NOMAN= |
NO_MAN= |
NO_MAN= |
|
|
|
|
# Default configuration directory |
# Default configuration directory |
|
|
MPD_CONF_DIR?= ${PREFIX}/etc/mpd5 |
MPD_CONF_DIR?= ${PREFIX}/etc/mpd5 |
Line 58 USE_AUTH_PAM= yes
|
Line 59 USE_AUTH_PAM= yes
|
USE_AUTH_SYSTEM= yes |
USE_AUTH_SYSTEM= yes |
|
|
# Build with builtin libpdel |
# Build with builtin libpdel |
|
|
NOLIBPDEL= yes |
NOLIBPDEL= yes |
|
|
# Build without builtin web server | # Build without builtin web server. |
| |
#NOWEB= yes |
#NOWEB= yes |
|
|
# Set syslog logging facility. Change LOG_DAEMON to whatever you like. |
# Set syslog logging facility. Change LOG_DAEMON to whatever you like. |
| # Comment this line disable syslog (3) support |
SYSLOG_FACILITY= LOG_DAEMON |
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 |
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 |
# Compiler & linker flags |
|
|
.if defined ( USE_TCP_WRAP ) |
.if defined ( USE_TCP_WRAP ) |
Line 94 COPTS+= -DUSE_PAM
|
Line 100 COPTS+= -DUSE_PAM
|
|
|
.if defined ( USE_AUTH_SYSTEM ) |
.if defined ( USE_AUTH_SYSTEM ) |
## based on /etc/password |
## based on /etc/password |
LDADD+= -lcrypt -lutil | LDADD+= -lcrypt |
DPADD+= ${LIBCRYPT} ${LIBUTIL} |
DPADD+= ${LIBCRYPT} ${LIBUTIL} |
COPTS+= -DUSE_SYSTEM |
COPTS+= -DUSE_SYSTEM |
.endif |
.endif |
|
|
LDADD+= -lnetgraph | LDADD+= -lnetgraph -lutil |
DPADD+= ${LIBNETGRAPH} |
DPADD+= ${LIBNETGRAPH} |
|
|
LDADD+= -L/usr/lib -lradius |
LDADD+= -L/usr/lib -lradius |