mirror of https://github.com/ncroxon/gnu-efi
28 lines
704 B
Makefile
28 lines
704 B
Makefile
SRCDIR = .
|
|
|
|
VPATH = $(SRCDIR)
|
|
|
|
include $(SRCDIR)/../Make.defaults
|
|
|
|
TOPDIR = $(SRCDIR)/..
|
|
|
|
CDIR=$(TOPDIR)/..
|
|
|
|
all:
|
|
|
|
clean:
|
|
|
|
install:
|
|
mkdir -p $(INSTALLROOT)$(PREFIX)/include/efi
|
|
mkdir -p $(INSTALLROOT)$(PREFIX)/include/efi/protocol
|
|
mkdir -p $(INSTALLROOT)$(PREFIX)/include/efi/$(ARCH)
|
|
$(INSTALL) -m 644 *.h $(INSTALLROOT)$(PREFIX)/include/efi
|
|
$(INSTALL) -m 644 protocol/*.h $(INSTALLROOT)$(PREFIX)/include/efi/protocol
|
|
$(INSTALL) -m 644 $(ARCH)/*.h $(INSTALLROOT)$(PREFIX)/include/efi/$(ARCH)
|
|
ifeq ($(ARCH),ia64)
|
|
mkdir -p $(INSTALLROOT)$(PREFIX)/include/efi/protocol/ia64
|
|
$(INSTALL) -m 644 protocol/ia64/*.h $(INSTALLROOT)$(PREFIX)/include/efi/protocol/ia64
|
|
endif
|
|
|
|
include $(SRCDIR)/../Make.rules
|