1*09fcda9fSToomas Soome#
2*09fcda9fSToomas Soome# This file and its contents are supplied under the terms of the
3*09fcda9fSToomas Soome# Common Development and Distribution License ("CDDL"), version 1.0.
4*09fcda9fSToomas Soome# You may only use this file in accordance with the terms of version
5*09fcda9fSToomas Soome# 1.0 of the CDDL.
6*09fcda9fSToomas Soome#
7*09fcda9fSToomas Soome# A full copy of the text of the CDDL should have accompanied this
8*09fcda9fSToomas Soome# source.  A copy of the CDDL is also available via the Internet at
9*09fcda9fSToomas Soome# http://www.illumos.org/license/CDDL.
10*09fcda9fSToomas Soome#
11*09fcda9fSToomas Soome
12*09fcda9fSToomas Soome#
13*09fcda9fSToomas Soome# Copyright 2020 Toomas Soome <tsoome@me.com>
14*09fcda9fSToomas Soome#
15*09fcda9fSToomas Soome
16*09fcda9fSToomas Soomeinclude		../Makefile.lib
17*09fcda9fSToomas Soome
18*09fcda9fSToomas SoomeHDRS=		libzfsbootenv.h
19*09fcda9fSToomas Soome
20*09fcda9fSToomas SoomeHDRDIR=		common
21*09fcda9fSToomas Soome
22*09fcda9fSToomas SoomeSUBDIRS=	$(MACH)
23*09fcda9fSToomas Soome$(BUILD64)SUBDIRS += $(MACH64)
24*09fcda9fSToomas Soome
25*09fcda9fSToomas Soomeall :=		TARGET= all
26*09fcda9fSToomas Soomeclean :=	TARGET= clean
27*09fcda9fSToomas Soomeclobber :=	TARGET= clobber
28*09fcda9fSToomas Soomeinstall :=	TARGET= install
29*09fcda9fSToomas Soome
30*09fcda9fSToomas SoomePOFILE =	libzfsbootenv.po
31*09fcda9fSToomas SoomeMSGFILES =	`$(GREP) -l gettext $(HDRDIR)/*.[ch]`
32*09fcda9fSToomas Soome
33*09fcda9fSToomas Soome.KEEP_STATE:
34*09fcda9fSToomas Soome
35*09fcda9fSToomas Soomeall install: install_h $(SUBDIRS)
36*09fcda9fSToomas Soome
37*09fcda9fSToomas Soomeclean clobber: $(SUBDIRS)
38*09fcda9fSToomas Soome
39*09fcda9fSToomas Soome$(POFILE):	pofile_MSGFILES
40*09fcda9fSToomas Soome
41*09fcda9fSToomas Soomeinstall_h:	$(ROOTHDRS)
42*09fcda9fSToomas Soome
43*09fcda9fSToomas Soomecheck:		$(CHECKHDRS)
44*09fcda9fSToomas Soome
45*09fcda9fSToomas Soome_msg: $(MSGDOMAINPOFILE)
46*09fcda9fSToomas Soome
47*09fcda9fSToomas Soome$(SUBDIRS): FRC
48*09fcda9fSToomas Soome	@cd $@; pwd; $(MAKE) $(TARGET)
49*09fcda9fSToomas Soome
50*09fcda9fSToomas SoomeFRC:
51*09fcda9fSToomas Soome
52*09fcda9fSToomas Soomeinclude $(SRC)/Makefile.msg.targ
53*09fcda9fSToomas Soomeinclude $(SRC)/lib/Makefile.targ
54