summaryrefslogtreecommitdiff
path: root/ReferenceCode/Pfat/Smm/PfatServices.mak
blob: 2bf95764ba0fdce7363c05b892651c1d541a012c (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
#**********************************************************************
#**********************************************************************
#**                                                                  **
#**        (C)Copyright 1985-2012, American Megatrends, Inc.         **
#**                                                                  **
#**                       All Rights Reserved.                       **
#**                                                                  **
#**     5555 Oakbrook Pkwy, Suite 200, Norcross, GA 30093            **
#**                                                                  **
#**                       Phone: (770)-246-8600                      **
#**                                                                  **
#**********************************************************************
#*************************************************************************
# $Header: /Alaska/SOURCE/Modules/SharkBayRefCodes/IntelPfat/PfatServices.mak 3     9/25/12 6:14p Fredericko $
#
# $Revision: 3 $
#
# $Date: 9/25/12 6:14p $
#
# $Log: /Alaska/SOURCE/Modules/SharkBayRefCodes/IntelPfat/PfatServices.mak $
# 
# 3     9/25/12 6:14p Fredericko
# 
# 2     9/17/12 4:19p Fredericko
# 
#**********************************************************************
#<AMI_FHDR_START>
#
# Name:	PfatService.mak
#
# Description: Make file for PfatServices component
#
#<AMI_FHDR_END>
#**********************************************************************
# MAK file for the eModule:PowerManagement

EDK : PfatServices

BUILD_PfatServices_DIR = $(BUILD_DIR)\$(PfatServices_DIR)

$(BUILD_DIR)\PfatServices.mak : $(PfatServices_DIR)\PfatServices.cif $(BUILD_RULES)
    $(CIF2MAK) $(PfatServices_DIR)\PfatServices.cif $(CIF2MAK_DEFAULTS)

PfatServices : $(BUILD_DIR)\PfatServices.MAK PfatServicesBin

PfatServices_OBJECTS = \
    $(BUILD_PfatServices_DIR)\PfatServices.obj \
    
PfatServices_MY_INCLUDES= \
    $(EDK_INCLUDES)\
    $(PROJECT_CPU_INCLUDES)\
    $(INTEL_MCH_INCLUDES)\
    $(INTEL_PCH_INCLUDES)\
    $(INTEL_PLATFORM_PROTOCOL_INCLUDES)

PfatServices_DEFINES = $(MY_DEFINES)\
    /D"__EDKII_GLUE_MODULE_ENTRY_POINT__=InstallPfatProtocol"\
    /D __EDKII_GLUE_BASE_IO_LIB_INTRINSIC__ \
    /D __EDKII_GLUE_BASE_MEMORY_LIB__ \
    /D __EDKII_GLUE_DXE_MEMORY_ALLOCATION_LIB__ \
    /D __EDKII_GLUE_SMM_RUNTIME_DXE_REPORT_STATUS_CODE_LIB__ \
    /D __EDKII_GLUE_DXE_DEBUG_LIB_REPORT_STATUS_CODE__ \
    /D __EDKII_GLUE_UEFI_BOOT_SERVICES_TABLE_LIB__ \
    /D __EDKII_GLUE_UEFI_RUNTIME_SERVICES_TABLE_LIB__ \
    /D __EDKII_GLUE_UEFI_DEVICE_PATH_LIB__ \
    /D __EDKII_GLUE_DXE_HOB_LIB__ \
    /D __EDKII_GLUE_BASE_PCI_LIB_PCI_EXPRESS__

PfatServices_LIBS =\
  $(EDKPROTOCOLLIB)\
  $(EFISCRIPTLIB)\
  $(EDKFRAMEWORKPROTOCOLLIB)\
  $(EFIGUIDLIB)\
  $(PpmAslUpdateLib_LIB)\
  $(EdkIIGlueBaseLib_LIB)\
!IF "$(x64_BUILD)"=="1"
  $(EdkIIGlueBaseLibX64_LIB)\
!ELSE
  $(EdkIIGlueBaseLibIA32_LIB)\
!ENDIF
  $(IntelPlatformProtocolLib_LIB)\
  $(EdkIIGlueBaseIoLibIntrinsic_LIB)\
  $(EdkIIGlueDxeReportStatusCodeLib_LIB)\
  $(EFIDRIVERLIB)\
  $(EdkIIGlueBaseMemoryLib_LIB)\
  $(EdkIIGlueSmmRuntimeDxeReportStatusCodeLib_LIB)\
  $(EdkIIGlueDxeDebugLibReportStatusCode_LIB)\
  $(EdkIIGlueDxeMemoryAllocationLib_LIB)\
  $(EdkIIGlueUefiBootServicesTableLib_LIB)\
  $(EdkIIGlueUefiRuntimeServicesTableLib_LIB)\
  $(EdkIIGlueUefiDevicePathLib_LIB) \
  $(EdkIIGlueBasePciLibPciExpress_LIB)\
  $(EdkIIGlueUefiRuntimeServicesTableLib_LIB) \
  $(EdkIIGlueDxeHobLib_LIB)\
  $(CpuProtocolLib_LIB)\
  $(PchPlatformDxeLib_LIB)



PfatServicesBin : $(PfatServices_LIBS)
    $(MAKE) /$(MAKEFLAGS) $(EDKIIGLUE_DEFAULTS)\
    /f $(BUILD_DIR)\PfatServices.mak all\
    NAME=PfatServices\
    MAKEFILE=$(BUILD_DIR)\PfatServices.mak \
    "MY_INCLUDES=$(PfatServices_MY_INCLUDES)" \
    "MY_DEFINES=$(PfatServices_DEFINES)"\
    OBJECTS="$(PfatServices_OBJECTS)" \
    GUID=6D4BAA0B-F431-4370-AF19-99D6209239F6\
    ENTRY_POINT=_ModuleEntryPoint \
    TYPE=RT_DRIVER \
    EDKIIModule=SMMDRIVER\
    DEPEX1=$(PfatServices_DIR)\PfatServices.DXS \
    DEPEX1_TYPE=EFI_SECTION_DXE_DEPEX  \
    COMPRESS=1
#-----------------------------------------------------------------------
#**********************************************************************
#**                                                                  **
#**        (C)Copyright 1985-2012, American Megatrends, Inc.         **
#**                                                                  **
#**                       All Rights Reserved.                       **
#**                                                                  **
#**     5555 Oakbrook Pkwy, Suite 200, Norcross, GA 30093            **
#**                                                                  **
#**                       Phone: (770)-246-8600                      **
#**                                                                  **
#**********************************************************************
#**********************************************************************