xref: /illumos-gate/usr/src/boot/i386/Makefile (revision 22028508fd28d36ff74dc02c5774a8ba1f0db045)
1*22028508SToomas Soome#
2*22028508SToomas Soome# This file and its contents are supplied under the terms of the
3*22028508SToomas Soome# Common Development and Distribution License ("CDDL"), version 1.0.
4*22028508SToomas Soome# You may only use this file in accordance with the terms of version
5*22028508SToomas Soome# 1.0 of the CDDL.
6*22028508SToomas Soome#
7*22028508SToomas Soome# A full copy of the text of the CDDL should have accompanied this
8*22028508SToomas Soome# source.  A copy of the CDDL is also available via the Internet at
9*22028508SToomas Soome# http://www.illumos.org/license/CDDL.
10*22028508SToomas Soome#
11*22028508SToomas Soome
12*22028508SToomas Soome#
13*22028508SToomas Soome# Copyright 2017 Toomas Soome <tsoome@me.com>
14*22028508SToomas Soome#
15*22028508SToomas Soome
16*22028508SToomas Soomeinclude $(SRC)/Makefile.master
17*22028508SToomas Soome
18*22028508SToomas Soome
19*22028508SToomas Soome# likely targets for removal, keeping around just in case...
20*22028508SToomas Soome# SUBDIRS=	boot0 boot0sio kgzldr libfirewire
21*22028508SToomas Soome# current targets
22*22028508SToomas SoomeSUBDIRS=	pmbr btx cdboot gptzfsboot libi386 loader pxeldr isoboot
23*22028508SToomas SoomeINSTDIRS=	pmbr cdboot gptzfsboot loader pxeldr isoboot
24*22028508SToomas Soome
25*22028508SToomas Soomeall:=		TARGET= all
26*22028508SToomas Soomeinstall:=	TARGET= install
27*22028508SToomas Soomeclean:=		TARGET= clean
28*22028508SToomas Soomeclobber:=	TARGET= clobber
29*22028508SToomas Soome
30*22028508SToomas Soome.KEEP_STATE:
31*22028508SToomas Soome
32*22028508SToomas Soomeall clean clobber: $(SUBDIRS)
33*22028508SToomas Soome
34*22028508SToomas Soomeinstall: all .WAIT $(INSTDIRS)
35*22028508SToomas Soome
36*22028508SToomas Soomeloader gptzfsboot: libi386
37*22028508SToomas Soomepxeldr: loader
38*22028508SToomas Soomecdboot gptzfsboot loader pxeldr isoboot: btx
39*22028508SToomas Soome
40*22028508SToomas SoomeFRC:
41*22028508SToomas Soome
42*22028508SToomas Soome.PARALLEL:
43*22028508SToomas Soome$(SUBDIRS): FRC
44*22028508SToomas Soome	@cd $@; pwd; $(MAKE) $(TARGET)
45