Makefile 692 B

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