Correcting debconf field name for extlinux installation (Closes: #746785).
[syslinux-debian/hramrach.git] / gpxe / Makefile
blobd2f5e756fc813e54d32d2b71927b61eff9620172
1 ## -----------------------------------------------------------------------
2 ##
3 ## Copyright 2008-2009 H. Peter Anvin - All Rights Reserved
4 ## Copyright 2009-2011 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 # Makefile for gpxe/gpxelinux.0
17 # Very simple, really...
20 VPATH = $(SRC)
21 TARGETS = gpxelinux.0 gpxelinuxk.0
23 PXEMAKE = $(MAKE) -C $(SRC)/src NO_WERROR=1
25 all: $(TARGETS)
27 tidy:
29 clean: tidy
31 dist:
32 $(MAKE) -C $(SRC)/src veryclean > /dev/null 2>&1
34 #spotless: clean dist
35 #Including 'dist' errors out for make ARCH=x86_64 spotless
36 spotless: clean
37 rm -f $(TARGETS)
39 installer:
41 .NOTPARALLEL:
43 src/bin/blib.a:
44 $(PXEMAKE) bin/blib.a
46 src/bin/undionly.kkpxe: src/bin/blib.a pxelinux.gpxe $(objdir)/core/pxelinux.0
47 $(PXEMAKE) bin/undionly.kkpxe EMBEDDED_IMAGE=$(SRC)/pxelinux.gpxe,$(objdir)/core/pxelinux.0
49 gpxelinux.0: src/bin/undionly.kkpxe
50 cp -f $(SRC)/$< $@
52 src/bin/undionly.kpxe: src/bin/blib.a pxelinuxk.gpxe $(objdir)/core/pxelinux.0
53 $(PXEMAKE) bin/undionly.kpxe EMBEDDED_IMAGE=$(SRC)/pxelinuxk.gpxe,$(objdir)/core/pxelinux.0
55 gpxelinuxk.0: src/bin/undionly.kpxe
56 cp -f $(SRC)/$< $@