File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / mpd / doc / mpd8.html
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Mon Jul 22 08:44:30 2013 UTC (10 years, 11 months ago) by misho
Branches: mpd, MAIN
CVS tags: v5_7p0, v5_7, HEAD
5.7

    1: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
    2: <HTML>
    3: <HEAD>
    4: <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
    5: <TITLE>Building mpd</TITLE>
    6: </HEAD>
    7: <BODY text="#000000" bgcolor="#ffffff">
    8: 
    9: <A HREF="mpd.html"><EM>Mpd 5.7 User Manual</EM></A>
   10:  <b>:</b> <A HREF="mpd5.html"><EM>Installation</EM></A>
   11:  <b>:</b> <EM>Building mpd</EM><BR>
   12: <b>Previous:</b> <A HREF="mpd7.html"><EM>Installing mpd</EM></A><BR>
   13: <b>Next:</b> <A HREF="mpd9.html"><EM>Running Mpd</EM></A>
   14: 
   15: 
   16: <HR NOSHADE>
   17:   <H2><A NAME="8"></A>2.3. Building mpd<A NAME="building"></A></H2>
   18: <p>If you choose to build mpd yourself to customize it, the
   19: process is straightforward. First, edit the <code>Makefile</code>
   20: to define (or undefine) the various device types and options
   21: you want to support. Run 'configure' script and then type
   22: <code>make depend all</code> to rebuild the binary.</p>
   23: <p>The various build-time definitions in the Makefile are below:</p>
   24: <p>
   25: <dl>
   26: 
   27: <dt><b><code>MPD_CONF_DIR</code></b><dd><p>The default configuration directory where mpd looks for
   28: <code>mpd.conf</code>, etc.</p>
   29: 
   30: <dt><b><code>PHYSTYPE_MODEM</code></b><dd>
   31: <dt><b><code>PHYSTYPE_TCP</code></b><dd>
   32: <dt><b><code>PHYSTYPE_UDP</code></b><dd>
   33: <dt><b><code>PHYSTYPE_NG_SOCKET</code></b><dd>
   34: <dt><b><code>PHYSTYPE_PPTP</code></b><dd>
   35: <dt><b><code>PHYSTYPE_L2TP</code></b><dd>
   36: <dt><b><code>PHYSTYPE_PPPOE</code></b><dd>
   37: <p>Define these to include support for the corresponding device type.</p>
   38: 
   39: <dt><b><code>ENCRYPTION_DES</code></b><dd>
   40: <p>These enable support for the corresponding encryption types.</p>
   41: 
   42: <dt><b><code>SYSLOG_FACILITY</code></b><dd><p>Mpd normally logs via <code>syslog(3)</code> using the facility
   43: <code>LOG_DAEMON</code>. You can customize the facility here.</p>
   44: 
   45: </dl>
   46: </p>
   47: 
   48: 
   49:  <HR NOSHADE>
   50: <A HREF="mpd.html"><EM>Mpd 5.7 User Manual</EM></A>
   51:  <b>:</b> <A HREF="mpd5.html"><EM>Installation</EM></A>
   52:  <b>:</b> <EM>Building mpd</EM><BR>
   53: <b>Previous:</b> <A HREF="mpd7.html"><EM>Installing mpd</EM></A><BR>
   54: <b>Next:</b> <A HREF="mpd9.html"><EM>Running Mpd</EM></A>
   55: 
   56: 
   57: 
   58: </BODY>
   59: </HTML>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>