components/clisp/Makefile
branchs11-update
changeset 2855 576d5a7857b7
parent 2434 6c9bb5cf5610
child 3661 47545fb8aed4
equal deleted inserted replaced
2854:78392507fd82 2855:576d5a7857b7
    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=		clisp
    28 COMPONENT_NAME=		clisp
    44 
    44 
    45 # Required to configure correctly.
    45 # Required to configure correctly.
    46 COMPONENT_PRE_CONFIGURE_ACTION = \
    46 COMPONENT_PRE_CONFIGURE_ACTION = \
    47 	($(CLONEY) $(SOURCE_DIR) $(@D))
    47 	($(CLONEY) $(SOURCE_DIR) $(@D))
    48 
    48 
    49 COMPILER=	gcc
    49 COMPILER=	gcc3
    50 PATCH_LEVEL=	0
    50 PATCH_LEVEL=	0
    51 
    51 
    52 # SHELLOPTS appears to cause clisp's configure script to fail while
    52 # SHELLOPTS appears to cause clisp's configure script to fail while
    53 # checking the compiler.
    53 # checking the compiler.
    54 unexport SHELLOPTS
    54 unexport SHELLOPTS
    55 
    55 
    56 # clisp's configure script is not a GNU auto* tools generated configure script
    56 # clisp's configure script is not a GNU auto* tools generated configure script
    57 # and doesn't take --sbindir, so we need to override the default values.
    57 # and doesn't take --sbindir, so we need to override the default values.
    58 CONFIGURE_OPTIONS = CC="$(CC) -DNO_GENERATIONAL_GC"
    58 CONFIGURE_OPTIONS = CC="$(CC) -DNO_GENERATIONAL_GC"
       
    59 ifeq   ($(strip $(PARFAIT_BUILD)),yes)
       
    60 CONFIGURE_OPTIONS = CC="$(CC) -DNO_GENERATIONAL_GC -DNO_ASM"
       
    61 endif
    59 CONFIGURE_OPTIONS += CPPFLAGS="$(CPPFLAGS)"
    62 CONFIGURE_OPTIONS += CPPFLAGS="$(CPPFLAGS)"
    60 CONFIGURE_OPTIONS += --prefix=$(CONFIGURE_PREFIX)
    63 CONFIGURE_OPTIONS += --prefix=$(CONFIGURE_PREFIX)
    61 CONFIGURE_OPTIONS += --mandir=$(CONFIGURE_MANDIR)
    64 CONFIGURE_OPTIONS += --mandir=$(CONFIGURE_MANDIR)
    62 CONFIGURE_OPTIONS += --bindir=$(CONFIGURE_BINDIR.$(BITS))
    65 CONFIGURE_OPTIONS += --bindir=$(CONFIGURE_BINDIR.$(BITS))
    63 CONFIGURE_OPTIONS += --libdir=$(CONFIGURE_LIBDIR.$(BITS))
    66 CONFIGURE_OPTIONS += --libdir=$(CONFIGURE_LIBDIR.$(BITS))