Adding upstream version 4.00~pre61+dfsg.
[syslinux-debian/hramrach.git] / com32 / mboot / Makefile
blob7e6c2e961b6c8a3b8f468773f436a659bc514c5c
1 ## -----------------------------------------------------------------------
2 ##
3 ## Copyright 2001-2009 H. Peter Anvin - All Rights Reserved
4 ## Copyright 2009 Intel Corporation; author: H. Peter Anvin
5 ##
6 ## This program is free software; you can redistribute it and/or modify
7 ## it under the terms of the GNU General Public License as published by
8 ## the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
9 ## Boston MA 02110-1301, USA; either version 2 of the License, or
10 ## (at your option) any later version; incorporated herein by reference.
12 ## -----------------------------------------------------------------------
15 ## Multiboot module
18 topdir = ../..
19 include ../MCONFIG
21 LIBS = ../libutil/libutil_com.a ../lib/libcom32.a $(LIBGCC)
22 LNXLIBS = ../libutil/libutil_lnx.a
24 MODULES = mboot.c32
25 TESTFILES =
27 OBJS = mboot.o map.o mem.o initvesa.o apm.o solaris.o syslinux.o
29 all: $(MODULES) $(TESTFILES)
31 mboot.elf : $(OBJS) $(LIBS) $(C_LIBS)
32 $(LD) $(LDFLAGS) -o $@ $^
34 tidy dist:
35 rm -f *.o *.lo *.a *.lst *.elf .*.d *.tmp
37 clean: tidy
38 rm -f *.lnx
40 spotless: clean
41 rm -f *.lss *.c32 *.com
42 rm -f *~ \#*
44 install:
46 -include .*.d