]> code.delx.au - refind/blob - filesystems/Makefile
Version 0.4.0 release.
[refind] / filesystems / Makefile
1 # meta-Makefile for rEFInd filesystem drivers
2 #
3 # Most of the functionality is in Make.common; this Makefile merely
4 # deletes critical temporary files and calls Make.common with the
5 # name of the driver to be built. This is done because of a dependency
6 # in the fsw_efi.c file on the filesystem type; this file must be
7 # recompiled for each new filesystem built.
8
9 INSTALL_DIR = /boot/efi/EFI/refind/drivers
10
11 all: ext2 reiserfs iso9660 hfs
12
13 ext2:
14 rm -f fsw_efi.o
15 make DRIVERNAME=ext2 -f Make.common
16
17 reiserfs:
18 rm -f fsw_efi.o
19 make DRIVERNAME=reiserfs -f Make.common
20
21 iso9660:
22 rm -f fsw_efi.o
23 make DRIVERNAME=iso9660 -f Make.common
24
25 hfs:
26 rm -f fsw_efi.o
27 make DRIVERNAME=hfs -f Make.common
28
29 # utility rules
30
31 clean:
32 rm -f *~ *.so *.o *.efi *.dll err.txt ext2*.txt hfs*.txt iso9660*.txt reiserfs*.txt
33
34
35 install:
36 mkdir -p $(INSTALL_DIR)
37 cp *.efi $(INSTALL_DIR)
38
39 # DO NOT DELETE