1 # _bin.c files required by both BTARGET and ITARGET installers
2 BINFILES
= bootsect_bin.c ldlinux_bin.c \
3 mbr_bin.c gptmbr_bin.c ldlinuxc32_bin.c
11 bootsect_bin.c
: $(OBJ
)/..
/core
/ldlinux.bss bin2c.pl
12 $(PERL
) $(SRC
)/bin2c.pl syslinux_bootsect
< $< > $@
14 ldlinux_bin.c
: $(OBJ
)/..
/core
/ldlinux.sys bin2c.pl
15 $(PERL
) $(SRC
)/bin2c.pl syslinux_ldlinux
512 < $< > $@
17 mbr_bin.c
: $(OBJ
)/..
/mbr
/mbr.bin bin2c.pl
18 $(PERL
) $(SRC
)/bin2c.pl syslinux_mbr
< $< > $@
20 gptmbr_bin.c
: $(OBJ
)/..
/mbr
/gptmbr.bin bin2c.pl
21 $(PERL
) $(SRC
)/bin2c.pl syslinux_gptmbr
< $< > $@
23 installer
: $(BINFILES
)
25 ldlinuxc32_bin.c
: $(OBJ
)/..
/com32
/elflink
/ldlinux
/ldlinux.c32 bin2c.pl
26 $(PERL
) $(SRC
)/bin2c.pl syslinux_ldlinuxc32
< $< > $@