X-Git-Url: https://code.delx.au/refind/blobdiff_plain/953397f78420efbd81d4ab60a2c01da0d2c19711..38c626aab2a451ca669576e4c57e5fbf5da987ad:/filesystems/Makefile diff --git a/filesystems/Makefile b/filesystems/Makefile new file mode 100644 index 0000000..d4f0b6c --- /dev/null +++ b/filesystems/Makefile @@ -0,0 +1,39 @@ +# meta-Makefile for rEFInd filesystem drivers +# +# Most of the functionality is in Make.common; this Makefile merely +# deletes critical temporary files and calls Make.common with the +# name of the driver to be built. This is done because of a dependency +# in the fsw_efi.c file on the filesystem type; this file must be +# recompiled for each new filesystem built. + +INSTALL_DIR = /boot/efi/EFI/refind/drivers + +all: ext2fs reiserfs iso9660 hfs + +ext2fs: + rm -f fsw_efi.o + make DRIVERNAME=ext2 -f Make.common + +reiserfs: + rm -f fsw_efi.o + make DRIVERNAME=reiserfs -f Make.common + +iso9660: + rm -f fsw_efi.o + make DRIVERNAME=iso9660 -f Make.common + +hfs: + rm -f fsw_efi.o + make DRIVERNAME=hfs -f Make.common + +# utility rules + +clean: + rm -f *~ *.so *.o *.efi *.dll err.txt ext2*.txt hfs*.txt iso9660*.txt reiserfs*.txt + + +install: + mkdir -p $(INSTALL_DIR) + cp *.efi $(INSTALL_DIR) + +# DO NOT DELETE