components/tcl/expect/Makefile
changeset 1138 6e1f85fa0151
parent 1058 34d7aaa03423
child 1460 21deed5f135f
equal deleted inserted replaced
1137:5f35de46aa92 1138:6e1f85fa0151
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 
    21 
    22 #
    22 #
    23 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
    23 # Copyright (c) 2011, 2013, 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=		expect
    28 COMPONENT_NAME=		expect
    44           tknewsbiff unbuffer mkpasswd cryptdir decryptdir autoexpect multixterm
    44           tknewsbiff unbuffer mkpasswd cryptdir decryptdir autoexpect multixterm
    45 
    45 
    46 COMPONENT_PRE_CONFIGURE_ACTION = \
    46 COMPONENT_PRE_CONFIGURE_ACTION = \
    47 	($(CLONEY) $(SOURCE_DIR) $(@D))
    47 	($(CLONEY) $(SOURCE_DIR) $(@D))
    48 
    48 
    49 COMPONENT_PRE_BUILD_ACTION = \
    49 COMPONENT_BUILD_TARGETS = all ${SCRIPTS}
    50 	(cd $(@D); $(GMAKE) all ${SCRIPTS};)
       
    51 
    50 
    52 CONFIGURE_OPTIONS 	+= CFLAGS="$(CFLAGS)"
    51 CONFIGURE_OPTIONS 	+= CFLAGS="$(CFLAGS)"
    53 CONFIGURE_OPTIONS 	+= --enable-shared
    52 CONFIGURE_OPTIONS 	+= --enable-shared
    54 CONFIGURE_OPTIONS 	+= --with-tcl="$(COMPONENT_DIR)/../tcl/build/$(MACH$(BITS))"
    53 CONFIGURE_OPTIONS 	+= --with-tcl="$(COMPONENT_DIR)/../tcl/build/$(MACH$(BITS))"
    55 CONFIGURE_OPTIONS 	+= --with-tclinclude="$(COMPONENT_DIR)/../tcl/build/$(MACH$(BITS))/generic"
    54 CONFIGURE_OPTIONS 	+= --with-tclinclude="$(COMPONENT_DIR)/../tcl/build/$(MACH$(BITS))/generic"