xref: /DragonStub/inc/Makefile (revision e0e1f53ce2056f4149f617993c8ef93cb2a5bb4c)
1SRCDIR = .
2
3VPATH = $(SRCDIR)
4
5include $(SRCDIR)/../Make.defaults
6
7TOPDIR = $(SRCDIR)/..
8
9CDIR=$(TOPDIR)/..
10
11all:
12
13clean:
14
15install:
16	mkdir -p $(INSTALLROOT)$(INCLUDEDIR)/efi
17	mkdir -p $(INSTALLROOT)$(INCLUDEDIR)/efi/protocol
18	mkdir -p $(INSTALLROOT)$(INCLUDEDIR)/efi/$(ARCH)
19	$(INSTALL) -m 644 $(SRCDIR)/*.h $(INSTALLROOT)$(INCLUDEDIR)/efi
20	$(INSTALL) -m 644 $(SRCDIR)/protocol/*.h $(INSTALLROOT)$(INCLUDEDIR)/efi/protocol
21	$(INSTALL) -m 644 $(SRCDIR)/$(ARCH)/*.h $(INSTALLROOT)$(INCLUDEDIR)/efi/$(ARCH)
22ifeq ($(ARCH),ia64)
23	mkdir -p $(INSTALLROOT)$(INCLUDEDIR)/efi/protocol/ia64
24	$(INSTALL) -m 644 $(SRCDIR)/protocol/ia64/*.h $(INSTALLROOT)$(INCLUDEDIR)/efi/protocol/ia64
25endif
26
27include $(SRCDIR)/../Make.rules
28