makefile

来自「ocfs1.2.7 源码」· 代码 · 共 65 行

TXT
65
字号
ifeq ($(KERNELRELEASE),)TOPDIR = ../..include $(TOPDIR)/Preamble.makeelse# We are included by kbuild, and the is pre-"Kbuild"-files.OUR_TOPDIR	:= $(M)/..include $(OUR_TOPDIR)/Config.makeCPPFLAGS := -I$(OUR_TOPDIR)/include $(CPPFLAGS)endif# Always set this if asked to build the backport moduleEXTRA_CFLAGS += -DCONFIG_DEBUG_FSEXTRA_CFLAGS += -I$(OUR_TOPDIR)/fs/debugfs/includeINSTALL_MOD_DIR := fs/debugfsobj-m		:= debugfs.odebugfs-objs	:= inode.o file.o debugfs_compat.oifeq ($(KERNELRELEASE),)## Called from a regular "make".#DEBUGFS_HEADERS =		\	include/linux/debugfs.h	\	debugfs_compat.hDEBUGFS_SOURCES = 		\	file.c			\	inode.c			\	debugfs_compat.cDEBUGFS_OBJECTS = $(subst .c,.o,$(DEBUGFS_SOURCES))DIST_FILES = $(DEBUGFS_SOURCES) $(DEBUGFS_HEADERS)ALL_RULES = build-modulesCLEAN_RULES = clean-modulesINSTALL_RULES = install-modulesbuild-modules:	$(MAKE) -C $(TOPDIR)/fs build-modulesinstall-modules:	$(MAKE) -C $(TOPDIR)/fs install-modulesclean-modules:	$(MAKE) -C $(TOPDIR)/fs clean-modulesdist-subdircreate:	 $(TOPDIR)/mkinstalldirs $(DIST_DIR)/include/linuxDIST_RULES = dist-subdircreateinclude $(TOPDIR)/Postamble.makeendif

⌨️ 快捷键说明

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