components/liblogging/Makefile
branchs11-update
changeset 4450 423f06e4bc35
child 5682 94c0ca64c022
equal deleted inserted replaced
4449:7824aa88c6b2 4450:423f06e4bc35
       
     1 #
       
     2 # CDDL HEADER START
       
     3 #
       
     4 # The contents of this file are subject to the terms of the
       
     5 # Common Development and Distribution License (the "License").
       
     6 # You may not use this file except in compliance with the License.
       
     7 #
       
     8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
       
     9 # or http://www.opensolaris.org/os/licensing.
       
    10 # See the License for the specific language governing permissions
       
    11 # and limitations under the License.
       
    12 #
       
    13 # When distributing Covered Code, include this CDDL HEADER in each
       
    14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
       
    15 # If applicable, add the following below this CDDL HEADER, with the
       
    16 # fields enclosed by brackets "[]" replaced with your own identifying
       
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
       
    18 #
       
    19 # CDDL HEADER END
       
    20 #
       
    21 
       
    22 #
       
    23 # Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
       
    24 #
       
    25 
       
    26 include ../../make-rules/shared-macros.mk
       
    27 
       
    28 COMPONENT_NAME=		liblogging
       
    29 COMPONENT_VERSION=	1.0.4
       
    30 COMPONENT_PROJECT_URL=	http://www.liblogging.org/
       
    31 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
       
    32 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
       
    33 COMPONENT_ARCHIVE_HASH=	\
       
    34     sha256:aceb5d2aa8bdc771ff66f407f9adf4176b654db63e34a8605795b68be537b81c
       
    35 COMPONENT_ARCHIVE_URL=	\
       
    36     http://download.rsyslog.com/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
       
    37 COMPONENT_BUGDB=	service/rsyslog
       
    38 TPNO=			20535
       
    39 
       
    40 include $(WS_MAKE_RULES)/prep.mk
       
    41 include $(WS_MAKE_RULES)/configure.mk
       
    42 include $(WS_MAKE_RULES)/ips.mk
       
    43 
       
    44 # Means build only stdlog
       
    45 CONFIGURE_OPTIONS +=    --disable-journal
       
    46 
       
    47 # There are built man pages in the tarball, which we shall patch. Making them
       
    48 # here would require python-docutils.
       
    49 CONFIGURE_OPTIONS +=	--disable-man-pages
       
    50 CONFIGURE_OPTIONS +=    --bindir=$(USRBINDIR)
       
    51 
       
    52 # Set -m32 or -m64 correctly for 32 and 64 bit versions.
       
    53 CC +=	$(CC_BITS)
       
    54 
       
    55 ASLR_MODE = $(ASLR_ENABLE)
       
    56 
       
    57 # common targets
       
    58 build:		$(BUILD_32_and_64)
       
    59 
       
    60 install:	$(INSTALL_32_and_64)
       
    61 
       
    62 test:		$(NO_TESTS)
       
    63 
       
    64 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
       
    65 
       
    66 REQUIRED_PACKAGES += system/library