components/desktop/libotr/Makefile
changeset 5091 81e5d6b75c3c
child 5291 4bfb8e510e74
equal deleted inserted replaced
5090:5f131162e136 5091:81e5d6b75c3c
       
     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 # Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
       
    22 #
       
    23 
       
    24 include ../../../make-rules/shared-macros.mk
       
    25 
       
    26 COMPONENT_NAME=		libotr
       
    27 COMPONENT_VERSION=	4.1.0
       
    28 COMPONENT_PROJECT_URL=	http://www.cypherpunks.ca/otr/
       
    29 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
       
    30 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
       
    31 COMPONENT_ARCHIVE_HASH= \
       
    32     sha256:4fdb891940ec89d300190a98f69a9138248dcb8c8d337633fb981b8d0a9cd930
       
    33 COMPONENT_ARCHIVE_URL=	$(COMPONENT_PROJECT_URL)$(COMPONENT_ARCHIVE)
       
    34 COMPONENT_BUGDB=	utility/pidgin
       
    35 
       
    36 TPNO=			21688
       
    37 
       
    38 include $(WS_MAKE_RULES)/prep.mk
       
    39 include $(WS_MAKE_RULES)/configure.mk
       
    40 include $(WS_MAKE_RULES)/ips.mk
       
    41 
       
    42 CFLAGS +=	-I $(SOURCE_DIR)/src
       
    43 
       
    44 COMPONENT_PREP_ACTION = \
       
    45 	(cd $(@D) ; \
       
    46 	glib-gettextize -f ; \
       
    47 	libtoolize --force ; \
       
    48 	aclocal -I . ; \
       
    49 	autoheader ; \
       
    50 	automake -a -c -f ; \
       
    51 	autoconf )
       
    52 
       
    53 CONFIGURE_OPTIONS +=	CFLAGS="$(CFLAGS)"
       
    54 
       
    55 ASLR_MODE = $(ASLR_ENABLE)
       
    56 
       
    57 configure:	$(CONFIGURE_32)
       
    58 
       
    59 build:		$(BUILD_32)
       
    60 
       
    61 install:	$(INSTALL_32)
       
    62 
       
    63 test:		$(NO_TESTS)
       
    64 
       
    65 system-test:	$(NO_TESTS)
       
    66 
       
    67 REQUIRED_PACKAGES += system/library
       
    68 REQUIRED_PACKAGES += system/library/security/libgcrypt