File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / mrouted / config.mk
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 23:10:48 2012 UTC (12 years, 3 months ago) by misho
Branches: mrouted, MAIN
CVS tags: v3_9_6p0, v3_9_6, v3_9_5, HEAD
mrouted

    1: # config.mk                                                     -*-Makefile-*-
    2: # This is the mrouted build configuration file.  See the below description for
    3: # details on each build option.
    4: 
    5: # -D_GNU_SOURCE : Use GNU extensions, where possible
    6: # -D_BSD_SOURCE : Use functions derived from 4.3 BSD Unix rather than POSIX.1
    7: DEFS = -D_BSD_SOURCE -D_GNU_SOURCE
    8: 
    9: ##
   10: # Compilation flags for different platforms. 
   11: # Uncomment only one of them. Default: Linux
   12: 
   13: # If the multicast header files are not in the standard place on your system,
   14: # define MCAST_INCLUDE to be an appropriate `-I' options for the C compiler.
   15: #MCAST_INCLUDE=	-I/sys
   16: 
   17: ## FreeBSD	-D__FreeBSD__ is defined by the OS
   18: ## FreeBSD-3.x, FreeBSD-4.x, FreeBSD-8.x
   19: #INCLUDES     =
   20: #DEFS        += -DHAVE_STRTONUM -DHAVE_STRLCPY
   21: #EXTRA_OBJS   = pidfile.o
   22: #EXTRA_LIBS   =
   23: ## FreeBSD-2.x
   24: #INCLUDES     =
   25: #DEFS        +=
   26: #EXTRA_OBJS   = strlcpy.o pidfile.o strtonum.o
   27: 
   28: ## NetBSD	-DNetBSD is defined by the OS
   29: #INCLUDES     =
   30: #DEFS        += -DHAVE_STRLCPY -DHAVE_PIDFILE
   31: #EXTRA_OBJS   = strtonum.o
   32: #EXTRA_LIBS   = -lutil
   33: 
   34: ## OpenBSD	-DOpenBSD is defined by the OS
   35: #INCLUDES     =
   36: #DEFS        += -DHAVE_STRTONUM -DHAVE_STRLCPY -DHAVE_PIDFILE
   37: #EXTRA_OBJS   =
   38: #EXTRA_LIBS   = -lutil
   39: 
   40: ## BSDI		-D__bsdi__ is defined by the OS
   41: #INCLUDES     =
   42: #DEFS        +=
   43: #EXTRA_OBJS   = strlcpy.o pidfile.o strtonum.o
   44: 
   45: ## SunOS, OSF1, gcc
   46: #INCLUDES     =
   47: #DEFS        += -DSunOS=43
   48: #EXTRA_OBJS   = strlcpy.o pidfile.o strtonum.o
   49: 
   50: ## SunOS, OSF1, cc
   51: #INCLUDES     =
   52: #DEFS        += -DSunOS=43
   53: #EXTRA_OBJS   = strlcpy.o pidfile.o strtonum.o
   54: 
   55: ## IRIX
   56: #INCLUDES     =
   57: #DEFS        += -D_BSD_SIGNALS -DIRIX
   58: #EXTRA_OBJS   = strlcpy.o pidfile.o strtonum.o
   59: 
   60: ## Solaris 2.5, gcc
   61: #INCLUDES     =
   62: #DEFS        += -DSYSV -DSUNOS5 -DSunOS=55
   63: ## Solaris 2.5, cc
   64: #INCLUDES     =
   65: #DEFS        += -DSYSV -DSUNOS5 -DSunOS=55
   66: ## Solaris 2.6
   67: #INCLUDES     =
   68: #DEFS        += -DSYSV -DSUNOS5 -DSunOS=56
   69: ## Solaris 2.x
   70: #EXTRA_OBJS   = strlcpy.o pidfile.o strtonum.o
   71: #EXTRA_LIBS   = -L/usr/ucblib -lucb -L/usr/lib -lsocket -lnsl
   72: 
   73: ## Linux	-D__linux__ is defined by the OS
   74: # For uClibc based Linux systems, add -DHAVE_STRLCPY to DEFS
   75: INCLUDES      =
   76: DEFS         += -DIOCTL_OK_ON_RAW_SOCKET
   77: EXTRA_OBJS    = strlcpy.o pidfile.o strtonum.o

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