Last change
on this file was
e16e8f2,
checked in by Edwin Eefting <edwin@datux.nl>, 3 years ago
|
bootstuff
|
-
Property mode set to
100644
|
File size:
827 bytes
|
Rev | Line | |
---|
[e16e8f2] | 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 |
---|
| 4 | |
---|
| 5 | PERL = perl |
---|
| 6 | |
---|
| 7 | VPATH = $(SRC) |
---|
| 8 | |
---|
| 9 | all: installer |
---|
| 10 | |
---|
| 11 | bootsect_bin.c: $(OBJ)/../core/ldlinux.bss bin2c.pl |
---|
| 12 | $(PERL) $(SRC)/bin2c.pl syslinux_bootsect < $< > $@ |
---|
| 13 | |
---|
| 14 | ldlinux_bin.c: $(OBJ)/../core/ldlinux.sys bin2c.pl |
---|
| 15 | $(PERL) $(SRC)/bin2c.pl syslinux_ldlinux 512 < $< > $@ |
---|
| 16 | |
---|
| 17 | mbr_bin.c: $(OBJ)/../mbr/mbr.bin bin2c.pl |
---|
| 18 | $(PERL) $(SRC)/bin2c.pl syslinux_mbr < $< > $@ |
---|
| 19 | |
---|
| 20 | gptmbr_bin.c: $(OBJ)/../mbr/gptmbr.bin bin2c.pl |
---|
| 21 | $(PERL) $(SRC)/bin2c.pl syslinux_gptmbr < $< > $@ |
---|
| 22 | |
---|
| 23 | installer: $(BINFILES) |
---|
| 24 | |
---|
| 25 | ldlinuxc32_bin.c: $(OBJ)/../com32/elflink/ldlinux/ldlinux.c32 bin2c.pl |
---|
| 26 | $(PERL) $(SRC)/bin2c.pl syslinux_ldlinuxc32 < $< > $@ |
---|
| 27 | |
---|
| 28 | tidy: |
---|
| 29 | rm -f $(BINFILES) |
---|
| 30 | |
---|
| 31 | clean: tidy |
---|
| 32 | |
---|
| 33 | dist: tidy |
---|
| 34 | |
---|
| 35 | spotless: clean |
---|
| 36 | |
---|
| 37 | strip: |
---|
Note: See
TracBrowser
for help on using the repository browser.