## ----------------------------------------------------------------------- ## ## Copyright 2008-2009 H. Peter Anvin - All Rights Reserved ## Copyright 2009-2011 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. ## ## ----------------------------------------------------------------------- # # Makefile for gpxe/gpxelinux.0 # # Very simple, really... # TARGETS = gpxelinux.0 gpxelinuxk.0 gpxe.dsk gpxe.iso gpxe.usb gpxe.lkrn PXEMAKE = $(MAKE) -C src NO_WERROR=1 all: $(TARGETS) tidy: clean: tidy dist: $(MAKE) -C src veryclean > /dev/null 2>&1 spotless: clean dist rm -f $(TARGETS) installer: .NOTPARALLEL: src/bin/blib.a: $(PXEMAKE) bin/blib.a src/bin/undionly.kkpxe: src/bin/blib.a pxelinux.gpxe ../core/pxelinux.0 $(PXEMAKE) bin/undionly.kkpxe EMBEDDED_IMAGE=../pxelinux.gpxe,../../core/pxelinux.0 src/bin/gpxe.iso: $(PXEMAKE) bin/gpxe.iso src/bin/gpxe.dsk: $(PXEMAKE) bin/gpxe.dsk src/bin/gpxe.usb: $(PXEMAKE) bin/gpxe.usb src/bin/gpxe.lkrn: $(PXEMAKE) bin/gpxe.lkrn gpxelinux.0: src/bin/undionly.kkpxe cp -f $< $@ gpxe.iso: src/bin/gpxe.iso cp -f $< $@ gpxe.dsk: src/bin/gpxe.dsk cp -f $< $@ gpxe.usb: src/bin/gpxe.usb cp -f $< $@ gpxe.lkrn: src/bin/gpxe.lkrn cp -f $< $@ src/bin/undionly.kpxe: src/bin/blib.a pxelinuxk.gpxe ../core/pxelinux.0 $(PXEMAKE) bin/undionly.kpxe EMBEDDED_IMAGE=../pxelinuxk.gpxe,../../core/pxelinux.0 gpxelinuxk.0: src/bin/undionly.kpxe cp -f $< $@