summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorhpa <hpa>2003-04-16 03:04:57 +0000
committerhpa <hpa>2003-04-16 03:04:57 +0000
commit5bc83a208a25f61313597d734d8a6f561fba6417 (patch)
treeffb34bcfb09652c0f155c13eb46c6c9fe7a39c2d /Makefile
parent278300aa6fa63aa1dabd52b3ae8c8da63f850fc5 (diff)
downloadsyslinux-5bc83a208a25f61313597d734d8a6f561fba6417.tar.gz
Resurrect the no-mtools installersyslinux-2.04-pre1
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e6797fa4..5494a6d1 100644
--- a/Makefile
+++ b/Makefile
@@ -41,13 +41,14 @@ VERSION = $(shell cat version)
# like to keep those uniform for debugging reasons; however, distributors
# want to recompile the installers (ITARGET).
#
-CSRC = syslinux.c syslxmod.c gethostip.c
+CSRC = syslinux.c syslinux-nomtools.c syslxmod.c gethostip.c
NASMSRC = ldlinux.asm syslinux.asm copybs.asm \
pxelinux.asm mbr.asm isolinux.asm isolinux-debug.asm
SOURCES = $(CSRC) *.h $(NASMSRC) *.inc
BTARGET = kwdhash.gen version.gen ldlinux.bss ldlinux.sys ldlinux.bin \
pxelinux.0 mbr.bin isolinux.bin isolinux-debug.bin libsyslinux.a
-ITARGET = syslinux.com syslinux copybs.com gethostip mkdiskimage
+ITARGET = syslinux.com syslinux syslinux-nomtools copybs.com gethostip \
+ mkdiskimage
DOCS = COPYING NEWS README TODO *.doc sample com32
OTHER = Makefile bin2c.pl now.pl genhash.pl keywords findpatch.pl \
keytab-lilo.pl version version.pl sys2ansi.pl \
@@ -147,6 +148,9 @@ libsyslinux.a: bootsect_bin.o ldlinux_bin.o syslxmod.o
syslinux: syslinux.o libsyslinux.a
$(CC) $(LDFLAGS) -o $@ $^
+syslinux-nomtools: syslinux-nomtools.o libsyslinux.a
+ $(CC) $(LDFLAGS) -o $@ $^
+
syslxmod.o: syslxmod.c patch.offset
$(CC) $(INCLUDE) $(CFLAGS) -DPATCH_OFFSET=`cat patch.offset` \
-c -o $@ $<