aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorhpa <hpa>2005-08-30 22:54:14 +0000
committerhpa <hpa>2005-08-30 22:54:14 +0000
commit659607438046d7899e59e5abea995e1b7d63c048 (patch)
tree3fdbbc373decc5ebb68069f230e0748135b683ca /Makefile
parent69cb61943ba3649974243dc36b4c6b0ecd6feb48 (diff)
downloadsyslinux-elf-659607438046d7899e59e5abea995e1b7d63c048.tar.gz
syslinux-elf-659607438046d7899e59e5abea995e1b7d63c048.tar.xz
syslinux-elf-659607438046d7899e59e5abea995e1b7d63c048.zip
Fix generation of dependencies for isolinux; fix totaltimeout command
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile22
1 files changed, 10 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index 742ea126..024eff9e 100644
--- a/Makefile
+++ b/Makefile
@@ -124,33 +124,31 @@ kwdhash.gen: keywords genhash.pl
ldlinux.bin: ldlinux.asm kwdhash.gen version.gen
$(NASM) -f bin -DDATE_STR="'$(DATE)'" -DHEXDATE="$(HEXDATE)" \
- -DMAP=ldlinux.map -l ldlinux.lst -o ldlinux.bin ldlinux.asm
+ -DMAP=$(@:.bin=.map) -l $(@:.bin=.lst) -o $@ $<
$(PERL) checkov.pl ldlinux.map $@
pxelinux.bin: pxelinux.asm kwdhash.gen version.gen
$(NASM) -f bin -DDATE_STR="'$(DATE)'" -DHEXDATE="$(HEXDATE)" \
- -DMAP=pxelinux.map -l pxelinux.lst -o pxelinux.bin pxelinux.asm
- $(PERL) checkov.pl pxelinux.map $@
+ -DMAP=$(@:.bin=.map) -l $(@:.bin=.lst) -o $@ $<
+ $(PERL) checkov.pl $(@:.bin=.map) $@
isolinux.bin: isolinux.asm kwdhash.gen version.gen checksumiso.pl
$(NASM) -f bin -DDATE_STR="'$(DATE)'" -DHEXDATE="$(HEXDATE)" \
- -DMAP=isolinux.map -l isolinux.lst -o isolinux.bin isolinux.asm
- $(PERL) checkov.pl isolinux.map $@
+ -DMAP=$(@:.bin=.map) -l $(@:.bin=.lst) -o $@ $<
+ $(PERL) checkov.pl $(@:.bin=.map) $@
$(PERL) checksumiso.pl $@
# Special verbose version of isolinux.bin
-isolinux-debug.bin: isolinux.asm kwdhash.gen version.gen checksumiso.pl
+isolinux-debug.bin: isolinux-debug.asm kwdhash.gen version.gen checksumiso.pl
$(NASM) -f bin -DDATE_STR="'$(DATE)'" -DHEXDATE="$(HEXDATE)" \
- -DDEBUG_MESSAGES \
- -DMAP=isolinux-debug.map -l isolinux-debug.lst \
- -o isolinux-debug.bin isolinux.asm
- $(PERL) checkov.pl isolinux-debug.map $@
+ -DMAP=$(@:.bin=.map) -l $(@:.bin=.lst) -o $@ $<
+ $(PERL) checkov.pl $(@:.bin=.map) $@
$(PERL) checksumiso.pl $@
extlinux.bin: extlinux.asm kwdhash.gen version.gen
$(NASM) -f bin -DDATE_STR="'$(DATE)'" -DHEXDATE="$(HEXDATE)" \
- -DMAP=extlinux.map -l extlinux.lst -o extlinux.bin extlinux.asm
- $(PERL) checkov.pl extlinux.map $@
+ -DMAP=$(@:.bin=.map) -l $(@:.bin=.lst) -o $@ $<
+ $(PERL) checkov.pl $(@:.bin=.map) $@
pxelinux.0: pxelinux.bin
cp pxelinux.bin pxelinux.0