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