Makefile 712 B

123456789101112131415161718192021222324252627
  1. SRCDIR = .
  2. VPATH = $(SRCDIR)
  3. include $(SRCDIR)/../Make.defaults
  4. TOPDIR = $(SRCDIR)/..
  5. CDIR=$(TOPDIR)/..
  6. all:
  7. clean:
  8. install:
  9. mkdir -p $(INSTALLROOT)$(INCLUDEDIR)/efi
  10. mkdir -p $(INSTALLROOT)$(INCLUDEDIR)/efi/protocol
  11. mkdir -p $(INSTALLROOT)$(INCLUDEDIR)/efi/$(ARCH)
  12. $(INSTALL) -m 644 $(SRCDIR)/*.h $(INSTALLROOT)$(INCLUDEDIR)/efi
  13. $(INSTALL) -m 644 $(SRCDIR)/protocol/*.h $(INSTALLROOT)$(INCLUDEDIR)/efi/protocol
  14. $(INSTALL) -m 644 $(SRCDIR)/$(ARCH)/*.h $(INSTALLROOT)$(INCLUDEDIR)/efi/$(ARCH)
  15. ifeq ($(ARCH),ia64)
  16. mkdir -p $(INSTALLROOT)$(INCLUDEDIR)/efi/protocol/ia64
  17. $(INSTALL) -m 644 $(SRCDIR)/protocol/ia64/*.h $(INSTALLROOT)$(INCLUDEDIR)/efi/protocol/ia64
  18. endif
  19. include $(SRCDIR)/../Make.rules