1SRCDIR = .
2TOPDIR = $(SRCDIR)/..
3
4include $(TOPDIR)/Make.defaults
5
6MAN1TARGETS = efivar.1
7MAN3TARGETS = efi_append_variable.3 \
8	     efi_del_variable.3 \
9	     efi_get_next_variable_name.3 \
10	     efi_get_variable.3 \
11	     efi_get_variable_attributes.3 \
12	     efi_get_variable_size.3 \
13	     efi_guid_to_name.3 \
14	     efi_guid_to_str.3 \
15	     efi_guid_to_symbol.3 \
16	     efi_name_to_guid.3 \
17	     efi_set_variable.3 \
18	     efi_str_to_guid.3 \
19	     efi_symbol_to_guid.3 \
20	     efi_variables_supported.3
21
22all :
23
24clean :
25
26test :
27
28install :
29	$(INSTALL) -d -m 755 $(DESTDIR)$(mandir)/man1
30	$(foreach x, $(MAN1TARGETS), $(INSTALL) -m 644 $(x) $(DESTDIR)/$(mandir)/man1/;)
31	$(INSTALL) -d -m 755 $(DESTDIR)$(mandir)/man3
32	$(foreach x, $(MAN3TARGETS), $(INSTALL) -m 644 $(x) $(DESTDIR)/$(mandir)/man3/;)
33
34.PHONY: all clean install
35
36include $(TOPDIR)/Make.rules
37