syslinux/libinstaller/Makefile
<<
>>
Prefs
   1# _bin.c files required by both BTARGET and ITARGET installers
   2BINFILES = bootsect_bin.c ldlinux_bin.c \
   3           mbr_bin.c gptmbr_bin.c ldlinuxc32_bin.c
   4
   5PERL     = perl
   6
   7VPATH = $(SRC)
   8
   9all: installer
  10
  11bootsect_bin.c: $(OBJ)/../core/ldlinux.bss bin2c.pl
  12        $(PERL) $(SRC)/bin2c.pl syslinux_bootsect < $< > $@
  13
  14ldlinux_bin.c: $(OBJ)/../core/ldlinux.sys bin2c.pl
  15        $(PERL) $(SRC)/bin2c.pl syslinux_ldlinux 512 < $< > $@
  16
  17mbr_bin.c: $(OBJ)/../mbr/mbr.bin bin2c.pl
  18        $(PERL) $(SRC)/bin2c.pl syslinux_mbr < $< > $@
  19
  20gptmbr_bin.c: $(OBJ)/../mbr/gptmbr.bin bin2c.pl
  21        $(PERL) $(SRC)/bin2c.pl syslinux_gptmbr < $< > $@
  22
  23installer: $(BINFILES)
  24
  25ldlinuxc32_bin.c: $(OBJ)/../com32/elflink/ldlinux/ldlinux.c32 bin2c.pl
  26        $(PERL) $(SRC)/bin2c.pl syslinux_ldlinuxc32 < $< > $@
  27
  28tidy:
  29        rm -f $(BINFILES)
  30
  31clean: tidy
  32
  33dist: tidy
  34
  35spotless: clean
  36
  37strip:
  38