components/Makefile
changeset 58 d8024c042a00
parent 53 e398cb2c4b45
child 70 c610cf9d3d5d
equal deleted inserted replaced
57:91dc164c5b46 58:d8024c042a00
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 # Copyright (c) 2010, Oracle and/or it's affiliates.  All rights reserved.
    21 # Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved.
    22 #
    22 #
    23 
    23 
    24 include ../make-rules/shared-macros.mk
    24 include ../make-rules/shared-macros.mk
    25 
    25 
    26 # for now, the assumption is we build any directory with a Makefile.  This may
    26 # for now, the assumption is we build any directory with a Makefile.  This may
    34 components.mk:	# Makefile # $(WS_TOP)/components
    34 components.mk:	# Makefile # $(WS_TOP)/components
    35 	@echo "Generating component list..."
    35 	@echo "Generating component list..."
    36 	@$(BASS_O_MATIC) --workspace=$(WS_TOP) --components=paths \
    36 	@$(BASS_O_MATIC) --workspace=$(WS_TOP) --components=paths \
    37 		| sed -e 's;^$(shell pwd)/;COMPONENT_DIRS += ;g' >$@
    37 		| sed -e 's;^$(shell pwd)/;COMPONENT_DIRS += ;g' >$@
    38 
    38 
    39 include components.mk
    39 -include components.mk
    40 
    40 
    41 
    41 
    42 download:		TARGET = download
    42 download:		TARGET = download
    43 prep:			TARGET = prep
    43 prep:			TARGET = prep
    44 build:			TARGET = build
    44 build:			TARGET = build
    96 depends.mk:	components.mk
    96 depends.mk:	components.mk
    97 	@echo "Generating component dependencies..."
    97 	@echo "Generating component dependencies..."
    98 	@$(BASS_O_MATIC) --workspace=$(WS_TOP) --components=depend \
    98 	@$(BASS_O_MATIC) --workspace=$(WS_TOP) --components=depend \
    99 		| sed -e 's;$(shell pwd)/;;g' >$@
    99 		| sed -e 's;$(shell pwd)/;;g' >$@
   100 
   100 
   101 include depends.mk
   101 -include depends.mk
   102 
   102 
   103 FORCE:
   103 FORCE: