| 1 |
|
|---|
| 2 |
ifneq ($(HAS_INCL),) |
|---|
| 3 |
|
|---|
| 4 |
ifeq ($(BUILD_INC),1) |
|---|
| 5 |
|
|---|
| 6 |
INCL_$(OS_BASE) += $(call buildIncPath,$(INCL_DIR)) |
|---|
| 7 |
|
|---|
| 8 |
else |
|---|
| 9 |
|
|---|
| 10 |
ifeq ($(MAKE_OLD_DOLLAR),1) |
|---|
| 11 |
INCL_DIR := $$ |
|---|
| 12 |
|
|---|
| 13 |
ifeq ($(OS_BASE), cygwin) |
|---|
| 14 |
ifeq ($(OS_CMPLR),g++) |
|---|
| 15 |
INCL_DIR := $(INCL_DIR)$(INCL_DIR)BD/$(SUB_DIR) |
|---|
| 16 |
else |
|---|
| 17 |
INCL_DIR := "$(INCL_DIR)$(INCL_DIR)BD\$(shell cygpath -w $(SUB_DIR))" |
|---|
| 18 |
endif |
|---|
| 19 |
else |
|---|
| 20 |
INCL_DIR := $(INCL_DIR)$(INCL_DIR)BD/$(SUB_DIR) |
|---|
| 21 |
endif |
|---|
| 22 |
else |
|---|
| 23 |
ifeq ($(OS_BASE), cygwin) |
|---|
| 24 |
ifeq ($(OS_CMPLR),g++) |
|---|
| 25 |
INCL_DIR := $$BD/$(SUB_DIR) |
|---|
| 26 |
else |
|---|
| 27 |
INCL_DIR := "$$BD\$(shell cygpath -w $(SUB_DIR))" |
|---|
| 28 |
endif |
|---|
| 29 |
else |
|---|
| 30 |
INCL_DIR := $$BD/$(SUB_DIR) |
|---|
| 31 |
endif |
|---|
| 32 |
|
|---|
| 33 |
INCL_DIR_DEP := $$BD_DEP/$(SUB_DIR) |
|---|
| 34 |
|
|---|
| 35 |
endif |
|---|
| 36 |
|
|---|
| 37 |
INCL_$(OS_BASE) += $(call buildIncPathPlain,$(INCL_DIR)) |
|---|
| 38 |
INCL_$(OS_BASE)_DEP += $(call buildIncPathPlain,$(INCL_DIR_DEP)) |
|---|
| 39 |
|
|---|
| 40 |
endif |
|---|
| 41 |
|
|---|
| 42 |
ifndef NO_INCL_EXP |
|---|
| 43 |
INCL_EXP_$(OS_BASE) += $(call buildIncPathPlain,../../../Source/$(SUB_DIR)) |
|---|
| 44 |
endif |
|---|
| 45 |
|
|---|
| 46 |
endif |
|---|
| 47 |
|
|---|
| 48 |
ifneq ($(HAS_LIB),) |
|---|
| 49 |
LIBPATHS_$(SUB_DIR) := \ |
|---|
| 50 |
$(call buildLibPath,$(call cnvSubDirUnix2Win,$(SUB_DIR))) |
|---|
| 51 |
|
|---|
| 52 |
LIB_FILE_$(SUB_DIR) := $(call buildLibName,$(PACKAGENAME)) |
|---|
| 53 |
|
|---|
| 54 |
LIB_FILE_$(SUB_DIR)_LNK := $(call buildLnkLibName,$(PACKAGENAME)) |
|---|
| 55 |
|
|---|
| 56 |
ifeq ($(OS_BASE), darwin) |
|---|
| 57 |
ifeq ($(LNK),lnk) |
|---|
| 58 |
LIB_FILE_$(SUB_DIR)_LNK := -all_load $(LIB_FILE_$(SUB_DIR)_LNK) |
|---|
| 59 |
LIB_FILE_$(SUB_DIR) := -all_load $(LIB_FILE_$(SUB_DIR)) |
|---|
| 60 |
else |
|---|
| 61 |
LIB_FILE_$(SUB_DIR)_LNK := $(LIB_FILE_$(SUB_DIR)_LNK) |
|---|
| 62 |
LIB_FILE_$(SUB_DIR) := $(LIB_FILE_$(SUB_DIR)) |
|---|
| 63 |
endif |
|---|
| 64 |
endif |
|---|
| 65 |
|
|---|
| 66 |
|
|---|
| 67 |
LIB_FILE_DEP_$(SUB_DIR) := \ |
|---|
| 68 |
$(call buildDepLibPath,$(SUB_DIR))/$(call buildDepLibName,$(PACKAGENAME)) |
|---|
| 69 |
|
|---|
| 70 |
LIB_FILE_DEP_$(SUB_DIR)_LNK := \ |
|---|
| 71 |
$(call buildDepLibPath,$(SUB_DIR))/$(call buildDepLnkLibName,$(PACKAGENAME)) |
|---|
| 72 |
endif |
|---|