summaryrefslogtreecommitdiff
path: root/EDK/MiniSetup/Legacy/Legacy.mak
blob: 04fcd6f7443ef7eb6a8d1d3617ad76ef3327b9a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
##*****************************************************************##
##*****************************************************************##
##*****************************************************************##
##**                                                             **##
##**         (C)Copyright 1985-2010, American Megatrends, Inc.   **##
##**                                                             **##
##**                     All Rights Reserved.                    **##
##**                                                             **##
##**           5555 Oakbrook Pkwy   , Norcross, GA 30071         **##
##**                                                             **##
##**                     Phone (770)-246-8600                    **##
##**                                                             **##
##*****************************************************************##
##*****************************************************************##
##*****************************************************************##
## $Archive: /Alaska/SOURCE/Modules/AMITSE2_0/AMITSE/Legacy/Legacy.mak $
##
## $Author: Arunsb $
##
## $Revision: 2 $
##
## $Date: 10/18/12 6:06a $
##
##*****************************************************************##
##*****************************************************************##
## Revision History
## ----------------
## $Log: /Alaska/SOURCE/Modules/AMITSE2_0/AMITSE/Legacy/Legacy.mak $
# 
# 2     10/18/12 6:06a Arunsb
# Updated for 2.16.1235 QA submission
## 
## 2     10/10/12 12:42p Arunsb
## Synched the source for v2.16.1232, backup with Aptio
# 
# 1     3/28/11 11:52p Madhans
# [TAG]  		EIP54968
# [Category]  	Improvement
# [Description]  	To Support different style modules in TSE generically
# [Files]  		Ezport module updated. EzportPlus and Legacy Styles Modules
# added.
## 
## 1     9/16/10 6:37p Blaines
## 
## 1     9/16/10 6:32p Blaines
## 
## 5     2/19/10 8:15a Mallikarjunanv
## updated year in copyright message
## 
## 4     8/17/09 12:23p Presannar
## Removed Include path to Core directory
## 
## 3     6/24/09 6:10p Madhans
## Made TSE_USE_EDK_LIBRARY=OFF to not to refer EDK module.
## 
## 2     6/12/09 2:36p Blaines
## Update coding standard
## 
## 1     6/04/09 8:05p Madhans
# 
# 1     4/28/09 11:15p Madhans
# Tse 2.0 Code complete Checkin.
## 
## 3     4/28/09 9:39p Madhans
## Tse 2.0 Code complete Checkin.
## 
## 2     4/24/09 9:35p Blaines
## 
## 1     12/18/08 7:59p Madhans
## Intial version of TSE Lite sources
## 
## 
##*****************************************************************##
##*****************************************************************##

# MAK file for the eModule:TseLite

TSE_STYLE_INCLUDES = \
	-I $(TSE_STYLE_DIR) \
!if "$(UEFI_SOURCES_SUPPORT)" == "1"
	-I $(UEFISRC_DIR) \
!endif
	-I $(TSESRC_DIR) \
	-I $(TSESRC_DIR)\AMILOGO \
	-I $(TSELITESRC_DIR) \
	-I $(TSEBIN_DIR) \
	-I $(TSEBIN_DIR)\Inc \
!if "$(TSE_BOARD_SOURCE_SUPPORT)" == "1"
	-I $(TSE_BOARD_DIR)\
!endif
	-I $(PROJECT_DIR)\Include\Protocol \
	-I $(PROJECT_DIR) \
	-I $(PROJECT_DIR)\Include \
	-I $(BUILD_DIR) \

$(BUILD_DIR)\TseStyleLegacy.lib : TseStyleLib

TseStyleLib : $(BUILD_DIR)\Legacy.mak TseStyleLibBinLegacy

$(BUILD_DIR)\Legacy.mak : $(TSE_STYLE_DIR)\$(@B).cif $(TSE_STYLE_DIR)\$(@B).mak $(BUILD_RULES) 
	$(CIF2MAK) $(TSE_STYLE_DIR)\$(@B).cif $(CIF2MAK_DEFAULTS)

!if "$(TSE_USE_EDK_LIBRARY)" == "1"
TSE_DEFAULTS = $(EDK_DEFAULTS)
!else
TSE_DEFAULTS = $(BUILD_DEFAULTS)
!endif

TseStyleLibBinLegacy : 
	$(MAKE) /$(MAKEFLAGS) $(TSE_DEFAULTS)\
		/f $(BUILD_DIR)\Legacy.mak all\
		"MY_INCLUDES=$(TSE_STYLE_INCLUDES)"\
		"UNI_INCLUDE_PATH=$(TSEBIN_DIR)"\
		TYPE=LIBRARY \
        "EXT_HEADERS=$(BUILD_DIR)\token.h"\
		LIBRARY_NAME=$(BUILD_DIR)\TseStyleLegacy.lib\
		"CFLAGS=$(CFLAGS) /DTSE_FOR_APTIO_4_50"

##*****************************************************************##
##*****************************************************************##
##**                                                             **##
##**         (C)Copyright 1985-2010, American Megatrends, Inc.   **##
##**                                                             **##
##**                     All Rights Reserved.                    **##
##**                                                             **##
##**           5555 Oakbrook Pkwy   , Norcross, GA 30071         **##
##**                                                             **##
##**                     Phone (770)-246-8600                    **##
##**                                                             **##
##*****************************************************************##
##*****************************************************************##