Releasing debian version 4.04+dfsg-9.
[syslinux-debian/hramrach.git] / gpxe / Makefile
blob8bce8d12640245cdff63b0708a2bfdd35d6d04c8
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 TARGETS = gpxelinux.0 gpxelinuxk.0
22 PXEMAKE = $(MAKE) -C src NO_WERROR=1
24 all: $(TARGETS)
26 tidy:
28 clean: tidy
30 dist:
31 $(MAKE) -C src veryclean > /dev/null 2>&1
33 spotless: clean dist
34 rm -f $(TARGETS)
36 installer:
38 .NOTPARALLEL:
40 src/bin/blib.a:
41 $(PXEMAKE) bin/blib.a
43 src/bin/undionly.kkpxe: src/bin/blib.a pxelinux.gpxe ../core/pxelinux.0
44 $(PXEMAKE) bin/undionly.kkpxe EMBEDDED_IMAGE=../pxelinux.gpxe,../../core/pxelinux.0
46 gpxelinux.0: src/bin/undionly.kkpxe
47 cp -f $< $@
49 src/bin/undionly.kpxe: src/bin/blib.a pxelinuxk.gpxe ../core/pxelinux.0
50 $(PXEMAKE) bin/undionly.kpxe EMBEDDED_IMAGE=../pxelinuxk.gpxe,../../core/pxelinux.0
52 gpxelinuxk.0: src/bin/undionly.kpxe
53 cp -f $< $@