Imported Debian patch 0.4.9-0.sarge.2
[debian/efibootmgr] / src / efibootmgr / module.mk
1 efibootmgr_SRCDIR := src/efibootmgr
2 efibootmgr_OBJECTS := efibootmgr.o
3 efibootmgr_TARGETS := efibootmgr
4 efibootmgr_FULLTARGET :=  \
5         $(patsubst %, $(efibootmgr_SRCDIR)/%, $(efibootmgr_TARGETS))
6 efibootmgr_FULLOBJECT :=  \
7         $(patsubst %, $(efibootmgr_SRCDIR)/%, $(efibootmgr_OBJECT))
8
9 efibootmgr_LIBS    := crc32.o disk.o efi.o efichar.o gpt.o scsi_ioctls.o \
10                       unparse_path.o efivars_procfs.o efivars_sysfs.o
11 efibootmgr_LIBDIR  := src/lib
12 efibootmgr_FULLLIB := \
13         $(patsubst %,$(efibootmgr_LIBDIR)/%,$(efibootmgr_LIBS))
14
15 ALLDEPS += $(efibootmgr_FULLTARGET)
16 CLEANLIST += $(efibootmgr_FULLTARGET)
17 CLEANLIST += $(efibootmgr_FULLOBJECT)
18 bindir_TARGETS += $(efibootmgr_FULLTARGET)
19
20 $(efibootmgr_FULLTARGET): \
21         $(efibootmgr_FULLOBJECT) \
22         $(efibootmgr_FULLLIB)