components/ptp/Makefile
branchs11-update
changeset 3996 20c0f21bbe1e
parent 3769 d867aacebb01
equal deleted inserted replaced
3994:3781477accf3 3996:20c0f21bbe1e
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 # Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
    21 # Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
    22 #
    22 #
    23 
    23 
       
    24 COMPILER =      gcc
       
    25 
    24 include ../../make-rules/shared-macros.mk
    26 include ../../make-rules/shared-macros.mk
    25 
    27 
    26 COMPONENT_NAME=		ptpd
    28 COMPONENT_NAME=		ptpd
    27 COMPONENT_VERSION=	2.2.0
    29 COMPONENT_VERSION=	2.2.0
    28 IPS_COMPONENT_VERSION=	$(COMPONENT_VERSION)
    30 IPS_COMPONENT_VERSION=	$(COMPONENT_VERSION)
    36 COMPONENT_BUGDB=	service/ptp
    38 COMPONENT_BUGDB=	service/ptp
    37 
    39 
    38 TPNO_PTP=		12665
    40 TPNO_PTP=		12665
    39 TPNO_SOLARFLARE=	15817
    41 TPNO_SOLARFLARE=	15817
    40 
    42 
    41 include ../../make-rules/prep.mk
    43 include $(WS_MAKE_RULES)/prep.mk
    42 include ../../make-rules/justmake.mk
    44 include $(WS_MAKE_RULES)/justmake.mk
    43 include ../../make-rules/ips.mk
    45 include $(WS_MAKE_RULES)/ips.mk
    44 
    46 
    45 PATCH_LEVEL =	1
    47 PATCH_LEVEL =	1
    46 
    48 
    47 PKG_PROTO_DIRS += $(BUILD_DIR_64)
    49 PKG_PROTO_DIRS += $(BUILD_DIR_64)
    48 
       
    49 COMPILER =      gcc
       
    50 
    50 
    51 COMPONENT_BUILD_ENV  +=         CC=$(CC)
    51 COMPONENT_BUILD_ENV  +=         CC=$(CC)
    52 
    52 
    53 # Enable ASLR for this component
    53 # Enable ASLR for this component
    54 ASLR_MODE = $(ASLR_ENABLE)
    54 ASLR_MODE = $(ASLR_ENABLE)
    57 
    57 
    58 install:	$(INSTALL_64)
    58 install:	$(INSTALL_64)
    59 
    59 
    60 test:		$(NO_TESTS)
    60 test:		$(NO_TESTS)
    61 
    61 
    62 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
       
    63 
       
    64 include ../../make-rules/depend.mk
       
    65 
    62 
    66 
    63 
       
    64 
       
    65 REQUIRED_PACKAGES += shell/ksh93
       
    66 REQUIRED_PACKAGES += system/core-os
       
    67 REQUIRED_PACKAGES += system/library
       
    68 REQUIRED_PACKAGES += system/library/libv12n
       
    69 REQUIRED_PACKAGES += system/library/math