gnu-efi/inc/Makefile

25 lines
692 B
Makefile
Raw Normal View History

2013-01-31 01:25:25 +04:00
SRCDIR = .
VPATH = $(SRCDIR)
TOPDIR = $(SRCDIR)/..
include $(SRCDIR)/../Make.defaults
2013-01-31 01:25:25 +04:00
all:
clean:
install:
mkdir -p $(INSTALLROOT)$(INCLUDEDIR)/efi
mkdir -p $(INSTALLROOT)$(INCLUDEDIR)/efi/protocol
mkdir -p $(INSTALLROOT)$(INCLUDEDIR)/efi/$(ARCH)
$(INSTALL) -m 644 $(SRCDIR)/*.h $(INSTALLROOT)$(INCLUDEDIR)/efi
$(INSTALL) -m 644 $(SRCDIR)/protocol/*.h $(INSTALLROOT)$(INCLUDEDIR)/efi/protocol
$(INSTALL) -m 644 $(SRCDIR)/$(ARCH)/*.h $(INSTALLROOT)$(INCLUDEDIR)/efi/$(ARCH)
ifeq ($(ARCH),ia64)
mkdir -p $(INSTALLROOT)$(INCLUDEDIR)/efi/protocol/ia64
$(INSTALL) -m 644 $(SRCDIR)/protocol/ia64/*.h $(INSTALLROOT)$(INCLUDEDIR)/efi/protocol/ia64
endif
2013-01-31 01:25:25 +04:00
include $(SRCDIR)/../Make.rules