components/quagga/Makefile
changeset 641 719d637aca9f
parent 609 775168282b2f
child 800 2ad056ed89ec
equal deleted inserted replaced
640:4afec94b6313 641:719d637aca9f
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 
    21 
    22 #
    22 #
    23 # Copyright (c) 2006, 2011, Oracle and/or its affiliates. All rights reserved.
    23 # Copyright (c) 2006, 2012, Oracle and/or its affiliates. All rights reserved.
    24 #
    24 #
    25 
    25 
    26 include ../../make-rules/shared-macros.mk
    26 include ../../make-rules/shared-macros.mk
    27 
    27 
    28 COMPONENT_NAME=		quagga
    28 COMPONENT_NAME=		quagga
    29 COMPONENT_VERSION=	0.99.8
    29 COMPONENT_VERSION=	0.99.19
    30 IPS_COMPONENT_VERSION=	$(COMPONENT_VERSION)
    30 IPS_COMPONENT_VERSION=	$(COMPONENT_VERSION)
    31 COMPONENT_PROJECT_URL=	http://www.quagga.net/
    31 COMPONENT_PROJECT_URL=	http://www.quagga.net/
    32 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
    32 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
    33 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
    33 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
    34 COMPONENT_ARCHIVE_HASH=	sha1:9576d0ac266d173d2a90b8c6f72da8c6b43583d7
    34 COMPONENT_ARCHIVE_HASH=	sha1:614923aa21415a4d6dc19d4438ccee63548e2a9d
    35 COMPONENT_ARCHIVE_URL=	$(COMPONENT_PROJECT_URL)download/attic/$(COMPONENT_ARCHIVE)
    35 COMPONENT_ARCHIVE_URL=	$(COMPONENT_PROJECT_URL)download/$(COMPONENT_ARCHIVE)
    36 PATCH_LEVEL = 0
    36 PATCH_LEVEL = 0
    37 
    37 
    38 # without this we bus error on sparc. Until the code in all of Quagga
    38 # without this we bus error on sparc. Until the code in all of Quagga
    39 # does not have any misaligned code we will need the following flag.
    39 # does not have any misaligned code we will need the following flag.
    40 studio_ALIGN.sparc.32=  -xmemalign=8i
    40 studio_ALIGN.sparc.32=  -xmemalign=8i
    41 
    41 
    42 # These options are carried over from the SFW consolidation. Using -xO4 was
    42 # These options are carried over from the SFW consolidation. Using -xO4 was
    43 # explicitly commented out, but no reason was docuemnted.
    43 # explicitly commented out, but no reason was documented.
    44 
    44 
    45 studio_OPT = -xO3
    45 studio_OPT = -xO3
    46 
    46 
    47 LDFLAGS +=-lumem
    47 LDFLAGS +=-lumem
    48 CFGLOCALSTATEDIR=/system/volatile/quagga
    48 CFGLOCALSTATEDIR=/system/volatile/quagga
    57 
    57 
    58 include ../../make-rules/prep.mk
    58 include ../../make-rules/prep.mk
    59 include ../../make-rules/configure.mk
    59 include ../../make-rules/configure.mk
    60 include ../../make-rules/ips.mk
    60 include ../../make-rules/ips.mk
    61 
    61 
    62 CONFIGURE_OPTIONS +=	--with-tags=""
       
    63 CONFIGURE_OPTIONS +=	--with-cflags="$(CFLAGS)"
    62 CONFIGURE_OPTIONS +=	--with-cflags="$(CFLAGS)"
    64 CONFIGURE_OPTIONS +=	--enable-opaque-lsa
    63 CONFIGURE_OPTIONS +=	--enable-opaque-lsa
    65 CONFIGURE_OPTIONS +=	--localstatedir=$(CFGLOCALSTATEDIR)
    64 CONFIGURE_OPTIONS +=	--localstatedir=$(CFGLOCALSTATEDIR)
    66 CONFIGURE_OPTIONS +=	--sysconfdir=$(CFGSYSCONFDIR)
    65 CONFIGURE_OPTIONS +=	--sysconfdir=$(CFGSYSCONFDIR)
    67 CONFIGURE_OPTIONS +=	--includedir=$(CONFIGURE_INCLUDEDIR)
    66 CONFIGURE_OPTIONS +=	--includedir=$(CONFIGURE_INCLUDEDIR)
    71 CONFIGURE_OPTIONS +=	--disable-watchquagga
    70 CONFIGURE_OPTIONS +=	--disable-watchquagga
    72 CONFIGURE_OPTIONS +=	--enable-ospf6d
    71 CONFIGURE_OPTIONS +=	--enable-ospf6d
    73 CONFIGURE_OPTIONS +=	--enable-ripngd
    72 CONFIGURE_OPTIONS +=	--enable-ripngd
    74 CONFIGURE_OPTIONS +=	--enable-user=root
    73 CONFIGURE_OPTIONS +=	--enable-user=root
    75 CONFIGURE_OPTIONS +=	--enable-group=root
    74 CONFIGURE_OPTIONS +=	--enable-group=root
       
    75 CONFIGURE_OPTIONS +=	--enable-solaris
    76 
    76 
    77 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
    77 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
    78 
    78 
    79 build:		$(BUILD_32)
    79 build:		$(BUILD_32)
    80 install:	$(INSTALL_32)
    80 install:	$(INSTALL_32)