makefile

来自「Linux内核源代码 为压缩文件 是<<Linux内核>&gt」· 代码 · 共 57 行

TXT
57
字号
## Makefile for the kernel pcmcia subsystem (c/o David Hinds)## 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 inherited from the# parent makes..O_TARGET := pcmcia.oexport-objs := ds.o cs.o cb_enabler.o yenta.o pci_socket.omulti-list = pcmcia_core.o yenta_socket.oyenta_socket-objs := pci_socket.o yenta.opcmcia_core-objs := cistpl.o rsrc_mgr.o bulkmem.o cs.oifeq ($(CONFIG_CARDBUS),y)  pcmcia_core-objs += cardbus.oendififeq ($(CONFIG_PCMCIA),y)  obj-y   := cistpl.o rsrc_mgr.o bulkmem.o ds.o cs.o  ifeq ($(CONFIG_CARDBUS),y)    obj-y += cardbus.o cb_enabler.o yenta.o pci_socket.o  endif  ifeq ($(CONFIG_I82365),y)    obj-y += i82365.o  endif  ifeq ($(CONFIG_TCIC),y)    obj-y += tcic.o  endifelse  ifeq ($(CONFIG_PCMCIA),m)    obj-m   := pcmcia_core.o ds.o    ifeq ($(CONFIG_I82365),y)      obj-m += i82365.o    endif    ifeq ($(CONFIG_TCIC),y)      obj-m += tcic.o    endif     ifeq ($(CONFIG_CARDBUS),y)	obj-m += yenta_socket.o cb_enabler.o     endif  endifendifinclude $(TOPDIR)/Rules.makepcmcia_core.o:  $(pcmcia_core-objs)	$(LD) $(LD_RFLAG) -r -o $@ $(pcmcia_core-objs)yenta_socket.o: $(yenta_socket-objs)	$(LD) $(LD_RFLAG) -r -o $@ $(yenta_socket-objs)

⌨️ 快捷键说明

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