summaryrefslogtreecommitdiff
path: root/gnu-efi/inc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'gnu-efi/inc/Makefile')
-rw-r--r--gnu-efi/inc/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu-efi/inc/Makefile b/gnu-efi/inc/Makefile
new file mode 100644
index 00000000..13022fd6
--- /dev/null
+++ b/gnu-efi/inc/Makefile
@@ -0,0 +1,20 @@
+SRCDIR = .
+
+VPATH = $(SRCDIR)
+TOPDIR = $(SRCDIR)/..
+
+include $(SRCDIR)/../Make.defaults
+
+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 $(SRCDIR)/*.h $(INSTALLROOT)$(PREFIX)/include/efi
+ $(INSTALL) -m 644 $(SRCDIR)/protocol/*.h $(INSTALLROOT)$(PREFIX)/include/efi/protocol
+ $(INSTALL) -m 644 $(SRCDIR)/$(ARCH)/*.h $(INSTALLROOT)$(PREFIX)/include/efi/$(ARCH)
+
+include $(SRCDIR)/../Make.rules