?? makefile
字號:
## Makefile for the linux filesystem.## Note! Dependencies are done automagically by 'make dep', which also# removes any old dependencies. DON'T put your own dependencies here# unless it's something special (ie not a .c file).## Note 2! The CFLAGS definitions are now in the main makefile...L_TARGET := filesystems.aL_OBJS = $(join $(SUB_DIRS),$(SUB_DIRS:%=/%.o))O_TARGET := fs.oO_OBJS = open.o read_write.o inode.o devices.o file_table.o buffer.o \ super.o block_dev.o stat.o exec.o pipe.o namei.o fcntl.o \ ioctl.o readdir.o select.o fifo.o locks.o filesystems.o \ dcache.o bad_inode.o $(BINFMTS)OX_OBJS = $(NLS)MOD_LIST_NAME := FS_MODULESALL_SUB_DIRS = minix ext ext2 fat msdos vfat proc isofs nfs xiafs umsdos \ hpfs sysv smbfs ncpfs ufs affs autofs romfsifeq ($(CONFIG_QUOTA),y)O_OBJS += dquot.oelseO_OBJS += noquot.oendififeq ($(CONFIG_MINIX_FS),y)SUB_DIRS += minixelse ifeq ($(CONFIG_MINIX_FS),m) MOD_SUB_DIRS += minix endifendififeq ($(CONFIG_EXT_FS),y)SUB_DIRS += extelse ifeq ($(CONFIG_EXT_FS),m) MOD_SUB_DIRS += ext endifendififeq ($(CONFIG_JFFS_FS),y)SUB_DIRS += jffselse ifeq ($(CONFIG_JFFS_FS),m) MOD_SUB_DIRS += jffs endifendififeq ($(CONFIG_EXT2_FS),y)SUB_DIRS += ext2else ifeq ($(CONFIG_EXT2_FS),m) MOD_SUB_DIRS += ext2 endifendififeq ($(CONFIG_FAT_FS),y)SUB_DIRS += fatelse ifeq ($(CONFIG_FAT_FS),m) MOD_SUB_DIRS += fat endifendififeq ($(CONFIG_MSDOS_FS),y)SUB_DIRS += msdoselse ifeq ($(CONFIG_MSDOS_FS),m) MOD_SUB_DIRS += msdos endifendififeq ($(CONFIG_VFAT_FS),y)SUB_DIRS += vfatelse ifeq ($(CONFIG_VFAT_FS),m) MOD_SUB_DIRS += vfat endifendififdef CONFIG_PROC_FSSUB_DIRS += procendififeq ($(CONFIG_ISO9660_FS),y)SUB_DIRS += isofselse ifeq ($(CONFIG_ISO9660_FS),m) MOD_SUB_DIRS += isofs endifendififeq ($(CONFIG_NFS_FS),y)SUB_DIRS += nfselse ifeq ($(CONFIG_NFS_FS),m) MOD_SUB_DIRS += nfs endifendififeq ($(CONFIG_XIA_FS),y)SUB_DIRS += xiafselse ifeq ($(CONFIG_XIA_FS),m) MOD_SUB_DIRS += xiafs endifendififeq ($(CONFIG_UMSDOS_FS),y)SUB_DIRS += umsdoselse ifeq ($(CONFIG_UMSDOS_FS),m) MOD_SUB_DIRS += umsdos endifendififeq ($(CONFIG_SYSV_FS),y)SUB_DIRS += sysvelse ifeq ($(CONFIG_SYSV_FS),m) MOD_SUB_DIRS += sysv endifendififeq ($(CONFIG_SMB_FS),y)SUB_DIRS += smbfselse ifeq ($(CONFIG_SMB_FS),m) MOD_SUB_DIRS += smbfs endifendififeq ($(CONFIG_NCP_FS),y)SUB_DIRS += ncpfselse ifeq ($(CONFIG_NCP_FS),m) MOD_SUB_DIRS += ncpfs endifendififeq ($(CONFIG_HPFS_FS),y)SUB_DIRS += hpfselse ifeq ($(CONFIG_HPFS_FS),m) MOD_SUB_DIRS += hpfs endifendififeq ($(CONFIG_UFS_FS),y)SUB_DIRS += ufselse ifeq ($(CONFIG_UFS_FS),m) MOD_SUB_DIRS += ufs endifendififeq ($(CONFIG_AFFS_FS),y)SUB_DIRS += affselse ifeq ($(CONFIG_AFFS_FS),m) MOD_SUB_DIRS += affs endifendififeq ($(CONFIG_AUTOFS_FS),y)SUB_DIRS += autofselse ifeq ($(CONFIG_AUTOFS_FS),m) MOD_SUB_DIRS += autofs endifendififeq ($(CONFIG_ROMFS_FS),y)SUB_DIRS += romfselse ifeq ($(CONFIG_ROMFS_FS),m) MOD_SUB_DIRS += romfs endifendififeq ($(CONFIG_BINFMT_AOUT_CRIS_FLAT),y)BINFMTS += binfmt_aout_cris_flat.o eshlibld.oelse ifeq ($(CONFIG_BINFMT_AOUT_CRIS_FLAT),m) M_OBJS += binfmt_aout_cris_flat.o eshlibld.o endifendififeq ($(CONFIG_BINFMT_AOUT_CRIS),y)BINFMTS += binfmt_aout_cris.oelse ifeq ($(CONFIG_BINFMT_AOUT_CRIS),m) M_OBJS += binfmt_aout_cris.o endifendififeq ($(CONFIG_BINFMT_FLAT),y)BINFMTS += binfmt_flat.oelse ifeq ($(CONFIG_BINFMT_FLAT),m) M_OBJS += binfmt_flat.o endifendififeq ($(CONFIG_BINFMT_ELF),y)BINFMTS += binfmt_elf.oelse ifeq ($(CONFIG_BINFMT_ELF),m) M_OBJS += binfmt_elf.o endifendififeq ($(CONFIG_BINFMT_AOUT),y)BINFMTS += binfmt_aout.oelse ifeq ($(CONFIG_BINFMT_AOUT),m) M_OBJS += binfmt_aout.o endifendififeq ($(CONFIG_BINFMT_JAVA),y)BINFMTS += binfmt_java.oelse ifeq ($(CONFIG_BINFMT_JAVA),m) M_OBJS += binfmt_java.o endifendififeq ($(CONFIG_BINFMT_EM86),y)BINFMTS += binfmt_em86.oelse ifeq ($(CONFIG_BINFMT_EM86),m) M_OBJS += binfmt_em86.o endifendif# binfmt_script is always thereBINFMTS += binfmt_script.oifeq ($(CONFIG_NLS),y)NLS += nls.oelse ifeq ($(CONFIG_NLS),m) MX_OBJS += nls.o endifendififeq ($(CONFIG_NLS_CODEPAGE_437),y)NLS += nls_cp437.oelse ifeq ($(CONFIG_NLS_CODEPAGE_437),m) M_OBJS += nls_cp437.o endifendififeq ($(CONFIG_NLS_CODEPAGE_737),y)NLS += nls_cp737.oelse ifeq ($(CONFIG_NLS_CODEPAGE_737),m) M_OBJS += nls_cp737.o endifendififeq ($(CONFIG_NLS_CODEPAGE_775),y)NLS += nls_cp775.oelse ifeq ($(CONFIG_NLS_CODEPAGE_775),m) M_OBJS += nls_cp775.o endifendififeq ($(CONFIG_NLS_CODEPAGE_850),y)NLS += nls_cp850.oelse ifeq ($(CONFIG_NLS_CODEPAGE_850),m) M_OBJS += nls_cp850.o endifendififeq ($(CONFIG_NLS_CODEPAGE_852),y)NLS += nls_cp852.oelse ifeq ($(CONFIG_NLS_CODEPAGE_852),m) M_OBJS += nls_cp852.o endifendififeq ($(CONFIG_NLS_CODEPAGE_855),y)NLS += nls_cp855.oelse ifeq ($(CONFIG_NLS_CODEPAGE_855),m) M_OBJS += nls_cp855.o endifendififeq ($(CONFIG_NLS_CODEPAGE_857),y)NLS += nls_cp857.oelse ifeq ($(CONFIG_NLS_CODEPAGE_857),m) M_OBJS += nls_cp857.o endifendififeq ($(CONFIG_NLS_CODEPAGE_860),y)NLS += nls_cp860.oelse ifeq ($(CONFIG_NLS_CODEPAGE_860),m) M_OBJS += nls_cp860.o endifendififeq ($(CONFIG_NLS_CODEPAGE_861),y)NLS += nls_cp861.oelse ifeq ($(CONFIG_NLS_CODEPAGE_861),m) M_OBJS += nls_cp861.o endifendififeq ($(CONFIG_NLS_CODEPAGE_862),y)NLS += nls_cp862.oelse ifeq ($(CONFIG_NLS_CODEPAGE_862),m) M_OBJS += nls_cp862.o endifendififeq ($(CONFIG_NLS_CODEPAGE_863),y)NLS += nls_cp863.oelse ifeq ($(CONFIG_NLS_CODEPAGE_863),m) M_OBJS += nls_cp863.o endifendififeq ($(CONFIG_NLS_CODEPAGE_864),y)NLS += nls_cp864.oelse ifeq ($(CONFIG_NLS_CODEPAGE_864),m) M_OBJS += nls_cp864.o endifendififeq ($(CONFIG_NLS_CODEPAGE_865),y)NLS += nls_cp865.oelse ifeq ($(CONFIG_NLS_CODEPAGE_865),m) M_OBJS += nls_cp865.o endifendififeq ($(CONFIG_NLS_CODEPAGE_866),y)NLS += nls_cp866.oelse ifeq ($(CONFIG_NLS_CODEPAGE_866),m) M_OBJS += nls_cp866.o endifendififeq ($(CONFIG_NLS_CODEPAGE_869),y)NLS += nls_cp869.oelse ifeq ($(CONFIG_NLS_CODEPAGE_869),m) M_OBJS += nls_cp869.o endifendififeq ($(CONFIG_NLS_CODEPAGE_874),y)NLS += nls_cp874.oelse ifeq ($(CONFIG_NLS_CODEPAGE_874),m) M_OBJS += nls_cp874.o endifendififeq ($(CONFIG_NLS_CODEPAGE_1250),y)NLS += nls_cp1250.oelse ifeq ($(CONFIG_NLS_CODEPAGE_1250),m) M_OBJS += nls_cp1250.o endifendififeq ($(CONFIG_NLS_CODEPAGE_1251),y)NLS += nls_cp1251.oelse ifeq ($(CONFIG_NLS_CODEPAGE_1251),m) M_OBJS += nls_cp1251.o endifendififeq ($(CONFIG_NLS_CODEPAGE_1252),y)NLS += nls_cp1252.oelse ifeq ($(CONFIG_NLS_CODEPAGE_1252),m) M_OBJS += nls_cp1252.o endifendififeq ($(CONFIG_NLS_CODEPAGE_1253),y)NLS += nls_cp1253.oelse ifeq ($(CONFIG_NLS_CODEPAGE_1253),m) M_OBJS += nls_cp1253.o endifendififeq ($(CONFIG_NLS_CODEPAGE_1254),y)NLS += nls_cp1254.oelse ifeq ($(CONFIG_NLS_CODEPAGE_1254),m) M_OBJS += nls_cp1254.o endifendififeq ($(CONFIG_NLS_CODEPAGE_1255),y)NLS += nls_cp1255.oelse ifeq ($(CONFIG_NLS_CODEPAGE_1255),m) M_OBJS += nls_cp1255.o endifendififeq ($(CONFIG_NLS_CODEPAGE_1256),y)NLS += nls_cp1256.oelse ifeq ($(CONFIG_NLS_CODEPAGE_1256),m) M_OBJS += nls_cp1256.o endifendififeq ($(CONFIG_NLS_CODEPAGE_1257),y)NLS += nls_cp1257.oelse ifeq ($(CONFIG_NLS_CODEPAGE_1257),m) M_OBJS += nls_cp1257.o endifendififeq ($(CONFIG_NLS_CODEPAGE_1258),y)NLS += nls_cp1258.oelse ifeq ($(CONFIG_NLS_CODEPAGE_1258),m) M_OBJS += nls_cp1258.o endifendififeq ($(CONFIG_NLS_ISO8859_1),y)NLS += nls_iso8859_1.oelse ifeq ($(CONFIG_NLS_ISO8859_1),m) M_OBJS += nls_iso8859_1.o endifendififeq ($(CONFIG_NLS_ISO8859_2),y)NLS += nls_iso8859_2.oelse ifeq ($(CONFIG_NLS_ISO8859_2),m) M_OBJS += nls_iso8859_2.o endifendififeq ($(CONFIG_NLS_ISO8859_3),y)NLS += nls_iso8859_3.oelse ifeq ($(CONFIG_NLS_ISO8859_3),m) M_OBJS += nls_iso8859_3.o endifendififeq ($(CONFIG_NLS_ISO8859_4),y)NLS += nls_iso8859_4.oelse ifeq ($(CONFIG_NLS_ISO8859_4),m) M_OBJS += nls_iso8859_4.o endifendififeq ($(CONFIG_NLS_ISO8859_5),y)NLS += nls_iso8859_5.oelse ifeq ($(CONFIG_NLS_ISO8859_5),m) M_OBJS += nls_iso8859_5.o endifendififeq ($(CONFIG_NLS_ISO8859_6),y)NLS += nls_iso8859_6.oelse ifeq ($(CONFIG_NLS_ISO8859_6),m) M_OBJS += nls_iso8859_6.o endifendififeq ($(CONFIG_NLS_ISO8859_7),y)NLS += nls_iso8859_7.oelse ifeq ($(CONFIG_NLS_ISO8859_7),m) M_OBJS += nls_iso8859_7.o endifendififeq ($(CONFIG_NLS_ISO8859_8),y)NLS += nls_iso8859_8.oelse ifeq ($(CONFIG_NLS_ISO8859_8),m) M_OBJS += nls_iso8859_8.o endifendififeq ($(CONFIG_NLS_ISO8859_9),y)NLS += nls_iso8859_9.oelse ifeq ($(CONFIG_NLS_ISO8859_9),m) M_OBJS += nls_iso8859_9.o endifendififeq ($(CONFIG_NLS_KOI8_R),y)NLS += nls_koi8_r.oelse ifeq ($(CONFIG_NLS_KOI8_R),m) M_OBJS += nls_koi8_r.o endifendifinclude $(TOPDIR)/Rules.make
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -