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

📄 makefile

📁 EFI(Extensible Firmware Interface)是下一代BIOS
💻
字号:
##  Copyright (C) 2001-2003 Hewlett-Packard Co.#	Contributed by Stephane Eranian <eranian@hpl.hp.com>## This file is part of ELILO, the LINUX EFI boot loader.##  ELILO is free software; you can redistribute it and/or modify#  it under the terms of the GNU General Public License as published by#  the Free Software Foundation; either version 2, or (at your option)#  any later version.##  ELILO is distributed in the hope that it will be useful,#  but WITHOUT ANY WARRANTY; without even the implied warranty of#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the#  GNU General Public License for more details.##  You should have received a copy of the GNU General Public License#  along with ELILO; see the file COPYING.  If not, write to the Free#  Software Foundation, 59 Temple Place - Suite 330, Boston, MA#  02111-1307, USA.## Please check out the elilo.txt for complete documentation on how# to use this program.#include Make.defaultsTOPDIR=.CRTOBJS       = $(EFICRT0)/crt0-efi-$(ARCH).oLDSCRIPT      = $(EFICRT0)/elf_$(ARCH)_efi.ldsLDFLAGS	     += -T $(LDSCRIPT) -shared -Bsymbolic -L$(EFILIB) -L$(GNUEFILIB) $(CRTOBJS)LOADLIBES     = -lefi -lgnuefi $(shell $(CC) -print-libgcc-file-name)FORMAT        = efi-app-$(ARCH)FILESYSTEM    =ifeq ($(CONFIG_localfs),y)FILESYSTEMS += glue_localfs.oendififeq ($(CONFIG_ext2fs),y)FILESYSTEMS += glue_ext2fs.oendififeq ($(CONFIG_netfs),y)FILESYSTEMS += glue_netfs.oendifSUBDIRS = fs choosers devschemes toolsifeq ($(ARCH),ia64)SUBDIRS += ia64endififeq ($(ARCH),ia32)SUBDIRS += ia32endifFILES = elilo.o getopt.o strops.o loader.o \        fileops.o util.o vars.o alloc.o chooser.o  \	config.o initrd.o alternate.o bootparams.o \	fs/fs.o \	choosers/choosers.o \	devschemes/devschemes.o \	$(ARCH)/sysdeps.o \	$(FILESYSTEMS)TARGETS = elilo.efiall: check_gcc $(SUBDIRS) $(TARGETS)elilo.efi: elilo.soelilo.so: $(FILES)elilo.o : elilo.cfileops.o : Make.defaultschooser.o : Make.defaults$(SUBDIRS): dummy	$(MAKE) -C $@dummy:clean:	@set -e ; for d in $(SUBDIRS) ; do $(MAKE) -C $$d $@ ; done	rm -f $(TARGETS) *~ *.so $(FILES).PRECIOUS: elilo.so## on both platforms you must use gcc 3.0 or higher #check_gcc:ifeq ($(GCC_VERSION),2)	@echo "you need to use a version of gcc >= 3.0, you are using `$(CC) --version`"	@exit 1endifinclude Make.rules

⌨️ 快捷键说明

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