| 1 | ############################################################ |
|---|
| 2 | # Copyright (c) 2003-2009, Broadcom Corporation |
|---|
| 3 | # All Rights Reserved |
|---|
| 4 | # Confidential Property of Broadcom Corporation |
|---|
| 5 | # |
|---|
| 6 | # THIS SOFTWARE MAY ONLY BE USED SUBJECT TO AN EXECUTED SOFTWARE LICENSE |
|---|
| 7 | # AGREEMENT BETWEEN THE USER AND BROADCOM. YOU HAVE NO RIGHT TO USE OR |
|---|
| 8 | # EXPLOIT THIS MATERIAL EXCEPT SUBJECT TO THE TERMS OF SUCH AN AGREEMENT. |
|---|
| 9 | # |
|---|
| 10 | # $brcm_Workfile: bstd.inc $ |
|---|
| 11 | # $brcm_Revision: Hydra_Software_Devel/3 $ |
|---|
| 12 | # $brcm_Date: 9/15/09 1:37p $ |
|---|
| 13 | # |
|---|
| 14 | # Module Description: |
|---|
| 15 | # |
|---|
| 16 | # Revision History: |
|---|
| 17 | # |
|---|
| 18 | # Created: 01/09/2007 by Jon Garrett |
|---|
| 19 | # |
|---|
| 20 | # $brcm_Log: /magnum/basemodules/std/bstd.inc $ |
|---|
| 21 | # |
|---|
| 22 | # Hydra_Software_Devel/3 9/15/09 1:37p erickson |
|---|
| 23 | # SW7400-2511: use B_REFSW_OS |
|---|
| 24 | # |
|---|
| 25 | # Hydra_Software_Devel/2 1/18/07 1:56p jgarrett |
|---|
| 26 | # PR 27004: Adding BSTD_OMIT_DEFAULT_CONFIG |
|---|
| 27 | # |
|---|
| 28 | # Hydra_Software_Devel/1 1/11/07 2:37p jgarrett |
|---|
| 29 | # PR27004: Adding new .inc files |
|---|
| 30 | # |
|---|
| 31 | ############################################################ |
|---|
| 32 | |
|---|
| 33 | # |
|---|
| 34 | # Conditional Options for this Makefile |
|---|
| 35 | # |
|---|
| 36 | # BTD_OMIT_DEFAULT_CONFIG - If defined, the path to basemodules/std/config/bstd_cfg.h will be removed from the build. This allows the application to define a custom bstd_cfg.h file in their own directory. If not defined (default), the standard path will be included. |
|---|
| 37 | # |
|---|
| 38 | |
|---|
| 39 | # Define this module |
|---|
| 40 | MAGNUM_MODULES += BSTD |
|---|
| 41 | |
|---|
| 42 | # Backward-compatibility |
|---|
| 43 | B_REFSW_OS ?= $(OS) |
|---|
| 44 | |
|---|
| 45 | # Module Includes |
|---|
| 46 | BSTD_INCLUDES += $(MAGNUM)/basemodules/std |
|---|
| 47 | ifeq ($(BSTD_OMIT_DEFAULT_CONFIG),) |
|---|
| 48 | BSTD_INCLUDES += $(MAGNUM)/basemodules/std/config |
|---|
| 49 | endif |
|---|
| 50 | |
|---|
| 51 | # Module Sources |
|---|
| 52 | BSTD_INCLUDES += $(MAGNUM)/basemodules/std/types/$(B_REFSW_OS) |
|---|
| 53 | |
|---|
| 54 | # Warning if types are not found |
|---|
| 55 | ifeq ($(wildcard $(MAGNUM)/basemodules/std/types/$(B_REFSW_OS)),) |
|---|
| 56 | $(warning warning: Missing basemodules/std/types definition for OS=$(B_REFSW_OS)) |
|---|
| 57 | endif |
|---|
| 58 | |
|---|