⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fdi.mak

📁 FDI Intel开发的FLASH文件系统,功能很强大
💻 MAK
字号:
 ### Copyright(R) 1997 Intel Corporation
 ########################################################################
 ###
 ### Object: Makefile for fdi directory. This file includes make 
 ###         directives to make the fdi directory code. It should
 ###         not require porting unless your make tools are 
 ###         significantly different.
 ###
 ###
 ###   $Workfile: FDI.MAK $
 ###   $Revision: 42 $
 ###   $History: FDI.MAK $
 ### 
 ### *****************  Version 42  *****************
 ### User: Ssriniv1     Date: 6/01/01    Time: 11:31a
 ### Updated in $/FDI/SRC/FDI
 ### changed '\' to '/'
 ### 
 ### *****************  Version 38  *****************
 ### User: Ssriniv1     Date: 2/16/01    Time: 3:46p
 ### Updated in $/FDI/SRC/FDI
 ### Merge in ISF changes
 ### 
 ### *****************  Version 2  *****************
 ### User: Ssriniv1     Date: 2/09/01    Time: 2:41p
 ### Updated in $/Merged/FDI
 ### 
 ### *****************  Version 25  *****************
 ### User: Ramcgrew     Date: 11/01/99   Time: 10:13a
 ### Updated in $/FDI/SRC/FDI
 ### 1) FDI_Bkgd.c: BKGD_CheckForSpace is changed, new code is embraced in
 ### the compile option FIX_CHKSPACE_ISSUE.
 ### 2) FDI_Pckt.c: FDI_InitPacket is changed.
 ### 3) FDI_Recl.c: Recl_Task is changed for fixing a bug, the changed code
 ### is embraced in the compile option PACKET_DATA.
 ### 4) FDI_Int.h: the declaration of data structre COMMAND is changed for
 ### the compile option FIX_CHKSPACE_ISSUE.
 ### 5) FDI_Pckt.h: added OPTIMA_TASKDELAY for replacing taskDelay with
 ### semaphores.
 ### 6) FDI_type.h: added FIX_CHKSPACE_ISSUE, PACKETNPLRTEST is set to FALSE
 ### as default.
 ### 7) FDI_Lowl.h: FDI_LowLevelWritePacket is changed for performance
 ### enhancement.
 ### 7) Layer3.c: line 1401, changed to (DWORD)&flash_addr[0] for
 ### eliminating a warning line 1764, changed #ifndef PACKETNPLRTEST to #if
 ### (PACKETNPLRTEST == FALSE)
 ### 
 ### *****************  Version 24  *****************
 ### User: Ramcgrew     Date: 8/18/99    Time: 8:40a
 ### Updated in $/FDI/src/FDI
 ### FDI2.5 enhancement: Modify filenames so no porting conflicts arise.
 ### 
 ### *****************  Version 23  *****************
 ### User: Ramcgrew     Date: 8/12/99    Time: 5:31p
 ### Updated in $/FDI/src/FDI
 ### Updated for packet write
 ### 
 ### *****************  Version 5  *****************
 ### User: Depingre     Date: 9/02/98    Time: 1:28p
 ### Updated in $/FDI/SRC/FDI
 ### Added  Mutex Sems from Bin Sems
 ### 
 ### *****************  Version 4  *****************
 ### User: Depingre     Date: 8/18/98    Time: 5:28p
 ### Updated in $/FDI/SRC/FDI
 ###  
 ###
 ###$NoKeywords: $
 ######################################################################## */

# Target  Function
# ------  --------
# all           make module
# test          make module for unit test
# clean         remove objects


### Include FDI specific definitions and flags
include ../makeAnch
include $(FDI_PATH)/makeMac

# Output module names
FDI_MOD     = $(FDI)/fdi.out
FDI_TESTMOD = $(FDI)/dbg_fdi.out

### Source dependencies
FDI_SRCS    = $(FDI)/fdi_ext.c $(FDI)/fdi_int.c $(FDI)/fdi_fmt.c
FDI_SRCS   += $(FDI)/fdi_bkgd.c $(FDI)/fdi_recl.c $(FDI)/FDI_Mutx.c
FDI_SRCS   += $(FDI)/fdi_pckt.c
FDI_OBJS    = $(FDI)/fdi_ext.o $(FDI)/fdi_int.o $(FDI)/fdi_fmt.o
FDI_OBJS   += $(FDI)/fdi_bkgd.o $(FDI)/fdi_recl.o $(FDI)/FDI_Mutx.o
FDI_OBJS   += $(FDI)/fdi_pckt.o
FDI_INCS =  $(INCS) 
FDI_MAKES=  $(MAKES) $(FDI)/fdi.mak

### Test source dependencies for unit level test
FDI_TESTSRCS = $(FDI)/main.c
FDI_TESTOBJS = $(FDI)/main.o 

### additional include paths
CPPFLAGS +=     

### additional compilation switches, macro definitions
CFLAGS +=  

### FDI target
all  : $(FDI_MOD) 

### Test target
test : $(FDI_TESTMOD) 

### Link test objects
$(FDI_TESTMOD) : $(FDI_OBJS) $(FDI_TESTOBJS)
	$(LD) -Map fdi.map $(LNKFLAGS) -o $@ -r $(FDI_OBJS) $(FDI_TESTOBJS)

### Link objects
$(FDI_MOD) : $(FDI_OBJS)
	$(LD) -Map fdi.map $(LNKFLAGS) -o $@ -r $(FDI_OBJS)

### Source code compilation
$(FDI_OBJS) : $(FDI_SRCS) $(FDI_INCS) $(FDI_MAKES)
	$(CC) $(CPPFLAGS) $(CFLAGS) $(FDI_SRCS)

### Source test code compilation
$(FDI_TESTOBJS) : $(FDI_TESTSRCS) $(FDI_INCS) $(FDI_MAKES)
	$(CC) $(CPPFLAGS) $(CFLAGS) $(FDI_TESTSRCS)

### Placebo rules
$(FDI_SRCS) :
$(FDI_INCS) :
$(FDI_MAKES):
$(FDI_TESTSRCS):

fdi_clean:
	del $(FDI_OBJS) $(FDI_MOD) $(FDI_TESTOBJS) $(FDI_TESTMOD)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -