www.pudn.com > efs.rar > efs.min
#-------------------------------------------------------------------------------
# EFS (file services: PSX compatible version)
#-------------------------------------------------------------------------------
EFS_SOURCES=\
fs_benchmark.c \
fs_buffer.c \
jzap.c \
fs_compat.c \
fs_db.c \
fs_desc.c \
fs_device.c \
fs_diag.c \
fs_diag_access.c \
fs_efs2.c \
fs_efs2_names.c \
fs_extfs.c \
fs_ext_hfat.c \
fs_ext_sfat.c \
fs_factory.c \
fs_hotplug.c \
fs_hotplug_devnull.c \
fs_hotplug_usb.c \
fs_hotplug_sd.c \
fs_hotplug_sd_cprm.c \
fs_hotplug_sd_lock.c \
fs_inode.c \
fs_journal.c \
fs_logr.c \
fs_mount.c \
fs_namei.c \
fs_nodev.c \
fs_pathbuff.c \
fs_pm.c \
fs_pm_gc.c \
fs_pm_log.c \
fs_pm_ptable_nand.c \
fs_pm_ptable_nor.c \
fs_pm_super.c \
fs_privatedir.c \
fs_public.c \
fs_realpath.c \
fs_rollback.c \
fs_romfs.c \
fs_stdio.c \
fs_upgrade.c \
fs_util.c \
fs_vnode.c \
fs_ftl_device.c \
fs_ftl_cache.c \
fs_ftl.c \
fs_hc.c \
fs_rs_ecc.c \
fs_rs_decoder.c \
fs_rs_encoder.c \
fs_hotplug_ftl.c \
fs_lib.c
FS_RAPI_L4LINUX_SOURCES =\
fs_iguana_server.c \
fs_rmtefs_server.c
FS_RAPI_CLIENT_SOURCES =\
fs_rmtefs.c
FS_RAPI_SERVER_SOURCES =\
fs_rmtefs_server.c
vpath %.h $(EFS)
vpath %.c $(EFS)
vpath %.s $(EFS)
ifeq ($(USES_L4LINUX),yes)
EFS_SOURCES += $(FS_RAPI_L4LINUX_SOURCES)
endif
ifeq ($(USES_EXPORT_FS_RAPI),yes)
HTORPC_fs_rapi_ARGS = -d $(TARGETDIR) -a fs_rapi -v 0 $(FS_RAPI_HTORPC_ARGS)
PREREQ_OBJS := $(PREREQ_OBJS) $(subst api,fs_rapi,$(RPC_FILES))
FS_RAPI_CLIENT_OBJS := $(addprefix $(TARGETDIR)/, $(FS_RAPI_CLIENT_SOURCES:%.c=%.o))
FS_RAPI_SERVER_OBJS := $(addprefix $(TARGETDIR)/, $(FS_RAPI_SERVER_SOURCES:%.c=%.o))
ifeq ($(USES_FS_IG_IPC_SERVER),yes)
EFS_SOURCES += $(FS_RAPI_L4LINUX_SOURCES)
endif
ifeq ($(IMAGE),APPS_PROC)
EFS_SOURCES += $(FS_RAPI_SERVER_SOURCES)
endif
ifeq ($(IMAGE), MODEM_PROC)
EFS_SOURCES += $(FS_RAPI_CLIENT_SOURCES)
endif
endif
ifeq ($(BIG),yes)
EFS_OBJS := $(TARGETDIR)/efs.lib
else
EFS_OBJS := $(addprefix $(TARGETDIR)/, $(EFS_SOURCES:%.c=%.o))
endif
EFS_OBJS += $(TARGETDIR)/jzap_dcc.o
$(TARGETDIR)/efs.lib : $(EFS_SOURCES)
$(group_c_compile)
ifeq ($(DO_LINT),yes)
EFS_LINT_OBJS := $(addprefix lint/, $(EFS_SOURCES:%.c=%.lint))
$(EFS_LINT_OBJS) : LINT_FLAGS := $(LINT_FLAGS) efs.lnt
lint/efs_lint : $(EFS_LINT_OBJS)
endif