summaryrefslogtreecommitdiff
path: root/Board/EM/IdeAcoustic/Acoustic.mak
blob: b63ae9f36b8d3878b374a76f8108a08a6256aef9 (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
#*************************************************************************
#*************************************************************************
#**                                                                     **
#**        (C)Copyright 1985-2010, American Megatrends, Inc.            **
#**                                                                     **
#**                       All Rights Reserved.                          **
#**                                                                     **
#**      5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093           **
#**                                                                     **
#**                       Phone: (770)-246-8600                         **
#**                                                                     **
#*************************************************************************
#*************************************************************************

#*************************************************************************
# $Header: /Alaska/SOURCE/Modules/HddAcoustic/Acoustic.mak 1     1/05/11 12:22a Rameshr $
#
# $Revision: 1 $
#
# $Date: 1/05/11 12:22a $
#*************************************************************************
# Revision History
# ----------------
# $Log: /Alaska/SOURCE/Modules/HddAcoustic/Acoustic.mak $
# 
# 1     1/05/11 12:22a Rameshr
# Initial check-in for Hdd Acoustic Management Support.
# 
#*************************************************************************
#<AMI_FHDR_START>
#
# Name: Acoustic.mak
#
# Description: Make file for the Acoustic Module 
# 
#
#<AMI_FHDR_END>
#*************************************************************************
all : Acoustic

Acoustic : $(BUILD_DIR)\Acoustic.mak AcousticBin

$(BUILD_DIR)\Acoustic.mak : $(ACOUSTIC_DIR)\Acoustic.cif $(ACOUSTIC_DIR)\Acoustic.mak $(BUILD_RULES)
    $(CIF2MAK) $(ACOUSTIC_DIR)\Acoustic.cif $(CIF2MAK_DEFAULTS)

Acoustic_OBJECTS = \
        $(BUILD_DIR)\$(ACOUSTIC_DIR)\Acoustic.obj\
        $(BUILD_DIR)\$(ACOUSTIC_DIR)\AcousticBoard.obj\

Acoustic_INCLUDES = \
        /I$(PROJECT_DIR)\
        /I$(SB_CHIPSET_DIR)\
        /I$(ACOUSTIC_DIR)\
        /I$(SB_BOARD_DIR)\
        

AcousticBin : $(AMIDXELIB) $(AMICSPLib) $(EFIDRIVERLIB)
    $(MAKE) /$(MAKEFLAGS) $(BUILD_DEFAULTS)\
        "MY_INCLUDES=$(Acoustic_INCLUDES)"\
        /f $(BUILD_DIR)\Acoustic.mak all\
        GUID=0639408B-19A6-4b5d-BAFB-12A2F5114032\
        ENTRY_POINT=AcousticEntryPoint\
        TYPE=BS_DRIVER \
        COMPRESS=1 HAS_RESOURCES=1\
		"OBJECTS=$(Acoustic_OBJECTS)"

#---------------------------------------------------------------------------
#       Create Acoustic Setup Screens
#---------------------------------------------------------------------------
!IF "$(LOCAL_ACOUSTIC_SETUP)"=="1"

SetupSdbs : $(BUILD_DIR)\Acoustic.mak ACOUSTICSDB
SetupBin : $(BUILD_DIR)\AcousticSetup.obj

ACOUSTICSDB :
	$(MAKE) /$(MAKEFLAGS) $(BUILD_DEFAULTS)\
		/f $(BUILD_DIR)\Acoustic.mak all\
		TYPE=SDB NAME=Acoustic MAKEFILE=$(BUILD_DIR)\Acoustic.Mak STRING_CONSUMERS=$(ACOUSTIC_DIR)\Acoustic.sd

$(BUILD_DIR)\AcousticSetup.obj : $(ACOUSTIC_DIR)\AcousticSetup.c $(BUILD_DIR)\SetupStrTokens.h
	$(CC) $(CFLAGS) /Fo$(BUILD_DIR)\ $(ACOUSTIC_DIR)\AcousticSetup.c

!ENDIF

#*************************************************************************
#*************************************************************************
#**                                                                     **
#**        (C)Copyright 1985-2010, American Megatrends, Inc.            **
#**                                                                     **
#**                       All Rights Reserved.                          **
#**                                                                     **
#**      5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093           **
#**                                                                     **
#**                       Phone: (770)-246-8600                         **
#**                                                                     **
#*************************************************************************
#*************************************************************************