components/erlang/Makefile
changeset 1645 ff50a80c552a
parent 1605 7fc7910b6d94
child 1747 1ec73d77ec62
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 PATH=$(SPRO_VROOT)/bin:$(JAVA_HOME)/bin:/usr/bin
    28 PATH=$(SPRO_VROOT)/bin:$(JAVA_HOME)/bin:/usr/bin
    69 # R(major)(minor)(micro) - (major).(minor as number).(micro)
    69 # R(major)(minor)(micro) - (major).(minor as number).(micro)
    70 IPS_COMPONENT_VERSION=  $(COMPONENT_VERSION_MAJOR).2.3
    70 IPS_COMPONENT_VERSION=  $(COMPONENT_VERSION_MAJOR).2.3
    71 
    71 
    72 # Built in SFW with gcc and builds cleanly now only with gcc
    72 # Built in SFW with gcc and builds cleanly now only with gcc
    73 COMPILER =	gcc
    73 COMPILER =	gcc
    74 # Parfait doesn't work with the GNU 4.7 compilers yet.
       
    75 ifeq   ($(strip $(PARFAIT_BUILD)),yes)
       
    76 COMPILER =	gcc3
       
    77 endif
       
    78 
    74 
    79 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
    75 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
    80 CONFIGURE_OPTIONS += CPPFLAGS="$(CPPFLAGS) -I/usr/include/gd2"
    76 CONFIGURE_OPTIONS += CPPFLAGS="$(CPPFLAGS) -I/usr/include/gd2"
    81 CONFIGURE_OPTIONS += --enable-smp-support
    77 CONFIGURE_OPTIONS += --enable-smp-support
    82 CONFIGURE_OPTIONS += --enable-threads
    78 CONFIGURE_OPTIONS += --enable-threads