OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [automake/] [local.am] - Diff between revs 30 and 173

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 30 Rev 173
## $Id: local.am,v 1.2 2001-09-27 11:59:11 chris Exp $
## $Id: local.am,v 1.2 2001-09-27 11:59:11 chris Exp $
## NOTE: This is a temporary work-around to keep
## NOTE: This is a temporary work-around to keep
## RTEMS's non automake standard make targets working.
## RTEMS's non automake standard make targets working.
## Once automake is fully integrated these make targets
## Once automake is fully integrated these make targets
## and this file will probably be removed
## and this file will probably be removed
## translate VARIANT into VARIANT_V
## translate VARIANT into VARIANT_V
VARIANT = OPTIMIZE
VARIANT = OPTIMIZE
VARIANT_OPTIMIZE_V = OPTIMIZE
VARIANT_OPTIMIZE_V = OPTIMIZE
VARIANT_DEBUG_V = DEBUG
VARIANT_DEBUG_V = DEBUG
VARIANT_PROFILE_V = PROFILE
VARIANT_PROFILE_V = PROFILE
VARIANT_optimize_V = OPTIMIZE
VARIANT_optimize_V = OPTIMIZE
VARIANT_debug_V = DEBUG
VARIANT_debug_V = DEBUG
VARIANT_profile_V = PROFILE
VARIANT_profile_V = PROFILE
VARIANT_V = $(VARIANT_$(VARIANT)_V)
VARIANT_V = $(VARIANT_$(VARIANT)_V)
## Setup the variant build subdirectory
## Setup the variant build subdirectory
ARCH_OPTIMIZE_V = o-optimize
ARCH_OPTIMIZE_V = o-optimize
ARCH_DEBUG_V = o-debug
ARCH_DEBUG_V = o-debug
ARCH_PROFILE_V = o-profile
ARCH_PROFILE_V = o-profile
ARCH__V = $(ARCH_OPTIMIZE_V)
ARCH__V = $(ARCH_OPTIMIZE_V)
ARCH = $(ARCH_$(VARIANT_V)_V)
ARCH = $(ARCH_$(VARIANT_V)_V)
## Setup the library suffix
## Setup the library suffix
LIBSUFFIX_OPTIMIZE_V =
LIBSUFFIX_OPTIMIZE_V =
LIBSUFFIX_DEBUG_V = _g
LIBSUFFIX_DEBUG_V = _g
LIBSUFFIX_PROFILE_V = _p
LIBSUFFIX_PROFILE_V = _p
LIBSUFFIX__V = $(LIBSUFFIX_OPTIMIZE_V)
LIBSUFFIX__V = $(LIBSUFFIX_OPTIMIZE_V)
LIB_VARIANT = $(LIBSUFFIX_$(VARIANT_V)_V)
LIB_VARIANT = $(LIBSUFFIX_$(VARIANT_V)_V)
LIBSUFFIX_VA = $(LIB_VARIANT).a
LIBSUFFIX_VA = $(LIB_VARIANT).a
## These are supposed to be set in make/custom/.cfg
## These are supposed to be set in make/custom/.cfg
## CFLAGS_OPTIMIZE_V =
## CFLAGS_OPTIMIZE_V =
## CFLAGS_DEBUG_V =
## CFLAGS_DEBUG_V =
## CFLAGS_PROFILE_V =
## CFLAGS_PROFILE_V =
CFLAGS__V = $(CFLAGS_OPTIMIZE_V)
CFLAGS__V = $(CFLAGS_OPTIMIZE_V)
AM_CFLAGS += $(CFLAGS_$(VARIANT_V)_V)
AM_CFLAGS += $(CFLAGS_$(VARIANT_V)_V)
debug:
debug:
        @echo
        @echo
        @echo "\"make debug\" is obsolete, instead use:"
        @echo "\"make debug\" is obsolete, instead use:"
        @echo " make VARIANT=DEBUG"
        @echo " make VARIANT=DEBUG"
        @echo
        @echo
.PHONY: debug
.PHONY: debug
profile:
profile:
        @echo
        @echo
        @echo "\"make profile\" is obsolete, instead use:"
        @echo "\"make profile\" is obsolete, instead use:"
        @echo " make VARIANT=PROFILE"
        @echo " make VARIANT=PROFILE"
        @echo
        @echo
.PHONY: profile
.PHONY: profile
preinstall-am: $(PREINSTALL_FILES)
preinstall-am: $(PREINSTALL_FILES)
preinstall: preinstall-am
preinstall: preinstall-am
.PHONY: preinstall preinstall-am
.PHONY: preinstall preinstall-am
depend-am:
depend-am:
depend: depend-am
depend: depend-am
.PHONY: depend depend-am
.PHONY: depend depend-am
${ARCH}:
${ARCH}:
        mkdir ${ARCH}
        mkdir ${ARCH}
clean-local:
clean-local:
        $(RM) -r o-optimize o-debug o-profile $(CLEANDIRS)
        $(RM) -r o-optimize o-debug o-profile $(CLEANDIRS)
        $(RM) Depends-o-optimize.tmp Depends-o-debug.tmp Depends-o-profile.tmp
        $(RM) Depends-o-optimize.tmp Depends-o-debug.tmp Depends-o-profile.tmp
distclean-local:
distclean-local:
        $(RM) Depends-o-optimize Depends-o-debug Depends-o-profile
        $(RM) Depends-o-optimize Depends-o-debug Depends-o-profile
PROJECT_TOOLS = $(PROJECT_RELEASE)/build-tools
PROJECT_TOOLS = $(PROJECT_RELEASE)/build-tools
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.