components/open-fabrics/perftest/Makefile
changeset 5347 91b282c6f1ce
parent 4661 353f8a998732
child 5624 8174ebe3b8ea
equal deleted inserted replaced
5346:548b4272f663 5347:91b282c6f1ce
    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, 2015, Oracle and/or its affiliates. All rights reserved.
    21 # Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
    22 #
    22 #
    23 
    23 
    24 # OFED only builds with GCC
    24 # OFED only builds with GCC
    25 COMPILER=gcc
    25 COMPILER=gcc
    26 
    26 
    47 include $(WS_MAKE_RULES)/shared-targets.mk
    47 include $(WS_MAKE_RULES)/shared-targets.mk
    48 
    48 
    49 LIBS +=         -lsocket -lnsl -lkstat -lrdmacm -libverbs -libumad -libmad
    49 LIBS +=         -lsocket -lnsl -lkstat -lrdmacm -libverbs -libumad -libmad
    50 
    50 
    51 LDFLAGS +=	-L$(PROTO_DIR)/$(CONFIGURE_LIBDIR.$(BITS))
    51 LDFLAGS +=	-L$(PROTO_DIR)/$(CONFIGURE_LIBDIR.$(BITS))
    52 CFLAGS +=	$(SHARED_INCLUDES)
    52 CFLAGS +=	$(SHARED_INCLUDES) -fgnu89-inline
    53 
    53 
    54 CONFIGURE_OPTIONS +=	--bindir=$(USRBINDIR)
    54 CONFIGURE_OPTIONS +=	--bindir=$(USRBINDIR)
    55 
    55 
    56 COMMON_ARGS  +=	CC="$(CC)"
    56 COMMON_ARGS  +=	CC="$(CC)"
    57 COMMON_ARGS  +=	CFLAGS="$(CFLAGS)"
    57 COMMON_ARGS  +=	CFLAGS="$(CFLAGS)"