aboutsummaryrefslogtreecommitdiffstats
path: root/com32/mboot/Makefile
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-04-26 15:15:24 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-04-26 15:15:24 -0700
commitd7406d5c1233b28554756d533dafd1886a879073 (patch)
treecb1016e01825d9432756e6c1a029c6d6f8cacb1e /com32/mboot/Makefile
parentd22cacb0a7e9f4f631f2390aad9517c877a9a1c4 (diff)
downloadsyslinux-d7406d5c1233b28554756d533dafd1886a879073.tar.gz
syslinux-d7406d5c1233b28554756d533dafd1886a879073.tar.xz
syslinux-d7406d5c1233b28554756d533dafd1886a879073.zip
First attempt at a rewritten mboot module
First attempt at rewriting the mboot module to use the Syslinux shuffle APIs. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'com32/mboot/Makefile')
-rw-r--r--com32/mboot/Makefile46
1 files changed, 46 insertions, 0 deletions
diff --git a/com32/mboot/Makefile b/com32/mboot/Makefile
new file mode 100644
index 00000000..64c1d078
--- /dev/null
+++ b/com32/mboot/Makefile
@@ -0,0 +1,46 @@
+## -----------------------------------------------------------------------
+##
+## Copyright 2001-2009 H. Peter Anvin - All Rights Reserved
+## Copyright 2009 Intel Corporation; author: H. Peter Anvin
+##
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+## Boston MA 02110-1301, USA; either version 2 of the License, or
+## (at your option) any later version; incorporated herein by reference.
+##
+## -----------------------------------------------------------------------
+
+##
+## Multiboot module
+##
+
+topdir = ../..
+include ../MCONFIG
+
+LIBS = ../libutil/libutil_com.a ../lib/libcom32.a $(LIBGCC)
+LNXLIBS = ../libutil/libutil_lnx.a
+
+MODULES = mboot.c32
+TESTFILES =
+
+OBJS = mboot.o map.o mem.o apm.o
+
+all: $(MODULES) $(TESTFILES)
+
+mboot.elf : $(OBJS) $(LIBS) $(C_LIBS)
+ $(LD) $(LDFLAGS) -o $@ $^
+
+tidy dist:
+ rm -f *.o *.lo *.a *.lst *.elf .*.d *.tmp
+
+clean: tidy
+ rm -f *.lnx
+
+spotless: clean
+ rm -f *.lss *.c32 *.com
+ rm -f *~ \#*
+
+install:
+
+-include .*.d