components/open-fabrics/opensm/Makefile
branchs11-update
changeset 3996 20c0f21bbe1e
parent 800 2ad056ed89ec
child 6322 c8b38df3868d
equal deleted inserted replaced
3994:3781477accf3 3996:20c0f21bbe1e
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
    21 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
    22 #
    22 #
    23 include ../../../make-rules/shared-macros.mk
    23 include ../../../make-rules/shared-macros.mk
    24 
    24 
    25 COMPONENT_NAME=		opensm
    25 COMPONENT_NAME=		opensm
    26 COMPONENT_VERSION=	3.3.9
    26 COMPONENT_VERSION=	3.3.9
    28 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
    28 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
    29 COMPONENT_ARCHIVE_HASH=	\
    29 COMPONENT_ARCHIVE_HASH=	\
    30     sha256:b8f333815e9d145cbb29310a38d2f2e39f9727b30eb6b15cb0d81fb9db39a2e1
    30     sha256:b8f333815e9d145cbb29310a38d2f2e39f9727b30eb6b15cb0d81fb9db39a2e1
    31 COMPONENT_ARCHIVE_URL=	http://www.openfabrics.org/downloads/management/$(COMPONENT_ARCHIVE)
    31 COMPONENT_ARCHIVE_URL=	http://www.openfabrics.org/downloads/management/$(COMPONENT_ARCHIVE)
    32 
    32 
    33 include $(WS_TOP)/make-rules/prep.mk
    33 include $(WS_MAKE_RULES)/prep.mk
    34 include $(WS_TOP)/make-rules/configure.mk
    34 include $(WS_MAKE_RULES)/configure.mk
    35 include ../ofed.mk
    35 include ../ofed.mk
    36 
    36 
    37 CFLAGS += -std=gnu99
    37 CFLAGS += -std=gnu99
    38 LIBS +=	-libverbs -lsocket -lnsl -libumad -libmad
    38 LIBS +=	-libverbs -lsocket -lnsl -libumad -libmad
    39 
    39 
    73 # common targets
    73 # common targets
    74 build:		$(BUILD_32_and_64)
    74 build:		$(BUILD_32_and_64)
    75 
    75 
    76 install:	$(INSTALL_32_and_64)
    76 install:	$(INSTALL_32_and_64)
    77 
    77 
    78 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
       
    79 
    78 
    80 test:		$(NO_TESTS)
    79 test:		$(NO_TESTS)
    81 
    80 
    82 include $(WS_TOP)/make-rules/depend.mk