Releasing debian version 6.03~pre1+dfsg-1.
[syslinux-debian/hramrach.git] / com32 / mboot / Makefile
blobe9164369ee5b675efd91efbf552beb5f43f24e04
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 VPATH = $(SRC)
19 include $(MAKEDIR)/elf.mk
21 LNXLIBS = $(objdir)/com32/libutil/libutil_lnx.a
23 MODULES = mboot.c32
24 TESTFILES =
26 OBJS = mboot.o map.o mem.o initvesa.o apm.o solaris.o syslinux.o
28 all: $(MODULES) $(TESTFILES)
30 mboot.elf : $(OBJS) $(C_LIBS)
31 $(LD) $(LDFLAGS) -o $@ $^
33 tidy dist:
34 rm -f *.o *.lo *.a *.lst *.elf .*.d *.tmp
36 clean: tidy
37 rm -f *.lnx
39 spotless: clean
40 rm -f *.lss *.c32 *.com
41 rm -f *~ \#*
43 install:
45 -include .*.d