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))
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))
16 ALLDEPS += $(efibootmgr_FULLTARGET)
17 CLEANLIST += $(efibootmgr_FULLTARGET)
18 CLEANLIST += $(efibootmgr_FULLOBJECT)
19 bindir_TARGETS += $(efibootmgr_FULLTARGET)
21 $(efibootmgr_FULLTARGET): \
22 $(efibootmgr_FULLOBJECT) \
24 $(CC) $(CFLAGS) $(LDFLAGS) $(efibootmgr_SRCDIR)/efibootmgr.c $^ $(LIBS) -o $@