Changeset df49c60 in rtems for automake


Ignore:
Timestamp:
Jun 12, 2000, 3:00:15 PM (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
edeed26
Parents:
0ab65474
Message:

Merged from 4.5.0-beta3a

Location:
automake
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • automake/local.am

    r0ab65474 rdf49c60  
    66## and this file will probably be removed
    77
    8 debug-am:
    9 debug: debug-am
    10 .PHONY: debug debug-am
     8## translate VARIANT into VARIANT_V
     9VARIANT = OPTIMIZE
    1110
    12 profile-am:
    13 profile: profile-am
    14 .PHONY: profile profile-am
     11VARIANT_OPTIMIZE_V = OPTIMIZE
     12VARIANT_DEBUG_V = DEBUG
     13VARIANT_PROFILE_V = PROFILE
     14VARIANT_optimize_V = OPTIMIZE
     15VARIANT_debug_V = DEBUG
     16VARIANT_profile_V = PROFILE
     17
     18VARIANT_V = $(VARIANT_$(VARIANT)_V)
     19
     20## Setup the variant build subdirectory
     21ARCH_OPTIMIZE_V = o-optimize
     22ARCH_DEBUG_V = o-debug
     23ARCH_PROFILE_V = o-profile
     24
     25ARCH__V = $(ARCH_OPTIMIZE_V)
     26ARCH = $(ARCH_$(VARIANT_V)_V)
     27
     28## Setup the library suffix
     29LIBSUFFIX_OPTIMIZE_V =
     30LIBSUFFIX_DEBUG_V = _g
     31LIBSUFFIX_PROFILE_V = _p
     32
     33LIBSUFFIX__V = $(LIBSUFFIX_OPTIMIZE_V)
     34LIB_VARIANT = $(LIBSUFFIX_$(VARIANT_V)_V)
     35
     36LIBSUFFIX_VA = $(LIB_VARIANT).a
     37
     38## These are supposed to be set in make/custom/<bsp>.cfg
     39## CFLAGS_OPTIMIZE_V =
     40## CFLAGS_DEBUG_V =
     41## CFLAGS_PROFILE_V =
     42
     43CFLAGS__V = $(CFLAGS_OPTIMIZE_V)
     44AM_CFLAGS += $(CFLAGS_$(VARIANT_V)_V)
     45
     46debug:
     47        @echo
     48        @echo "\"make debug\" is obsolete, instead use:"
     49        @echo " make VARIANT=DEBUG"
     50        @echo
     51
     52.PHONY: debug
     53
     54profile:
     55        @echo
     56        @echo "\"make profile\" is obsolete, instead use:"
     57        @echo " make VARIANT=PROFILE"
     58        @echo
     59
     60.PHONY: profile
    1561
    1662preinstall-am: $(PREINSTALL_FILES)
     
    2167depend: depend-am
    2268.PHONY: depend depend-am
     69
     70${ARCH}:
     71        mkdir ${ARCH}
     72
     73clean-local:
     74        $(RM) -r o-optimize o-debug o-profile $(CLEANDIRS)
     75        $(RM) Depends-o-optimize.tmp Depends-o-debug.tmp Depends-o-profile.tmp
     76
     77distclean-local:
     78        $(RM) Depends-o-optimize Depends-o-debug Depends-o-profile
     79
     80PROJECT_TOOLS = $(PROJECT_RELEASE)/build-tools
  • automake/subdirs.am

    r0ab65474 rdf49c60  
    99
    1010depend-recursive \
    11 preinstall-recursive \
    12 debug-recursive \
    13 profile-recursive:
     11preinstall-recursive:
    1412        @set fnord $(MAKEFLAGS); amf=$$2; \
    1513        dot_seen=no; \
     
    3230        fi; test -z "$$fail"
    3331
    34 debug: debug-recursive
    35 .PHONY: debug-recursive
    36 
    37 profile: profile-recursive
    38 .PHONY: profile-recursive
    39 
    4032preinstall: preinstall-recursive
    4133.PHONY: preinstall-recursive
Note: See TracChangeset for help on using the changeset viewer.