components/libnet/Makefile
changeset 1645 ff50a80c552a
parent 1605 7fc7910b6d94
child 1948 2d1537e7942d
equal deleted inserted replaced
1644:99106880f744 1645:ff50a80c552a
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 
    21 
    22 #
    22 #
    23 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
    23 # Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
    24 #
    24 #
    25 
    25 
    26 include ../../make-rules/shared-macros.mk
    26 include ../../make-rules/shared-macros.mk
    27 
    27 
    28 COMPONENT_NAME=		libnet
    28 COMPONENT_NAME=		libnet
    42 COMPONENT_PRE_CONFIGURE_ACTION = \
    42 COMPONENT_PRE_CONFIGURE_ACTION = \
    43 	($(CLONEY) $(SOURCE_DIR) $(@D))
    43 	($(CLONEY) $(SOURCE_DIR) $(@D))
    44 
    44 
    45 PKG_PROTO_DIRS += $(COMPONENT_SRC)/doc/man/man3
    45 PKG_PROTO_DIRS += $(COMPONENT_SRC)/doc/man/man3
    46 COMPILER =	gcc
    46 COMPILER =	gcc
    47 # Parfait doesn't work with the GNU 4.7 compilers yet.
       
    48 ifeq   ($(strip $(PARFAIT_BUILD)),yes)
       
    49 COMPILER =	gcc3
       
    50 endif
       
    51 CFLAGS += -g -fPIC
    47 CFLAGS += -g -fPIC
    52 CONFIGURE_OPTIONS  +=		CFLAGS="$(CFLAGS)"
    48 CONFIGURE_OPTIONS  +=		CFLAGS="$(CFLAGS)"
    53 CONFIGURE_OPTIONS.32 += --srcdir=$(BUILD_DIR_32)
    49 CONFIGURE_OPTIONS.32 += --srcdir=$(BUILD_DIR_32)
    54 CONFIGURE_OPTIONS.64 += --srcdir=$(BUILD_DIR_64)
    50 CONFIGURE_OPTIONS.64 += --srcdir=$(BUILD_DIR_64)
    55 
    51