xref: /illumos-gate/usr/src/lib/libofmt/Makefile (revision 8c69cc8fbe729fa7b091e901c4b50508ccc6bb33)
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 2017 Nexenta Systems, Inc.
14#
15
16include		$(SRC)/lib/Makefile.lib
17
18SUBDIRS=	$(MACH) $(BUILD64) $(MACH64)
19
20HDRS=		ofmt.h
21HDRDIR=		common
22
23POFILE=		libofmt.po
24MSGFILES=	common/ofmt.c
25XGETFLAGS=	-a
26
27all :=		TARGET= all
28clean :=	TARGET= clean
29clobber :=	TARGET= clobber
30install :=	TARGET= install
31lint :=		TARGET= lint
32
33.KEEP_STATE:
34
35all clean clobber install lint: $(SUBDIRS)
36
37install_h:	$(ROOTHDRS)
38
39check:		$(CHECKHDRS)
40
41$(POFILE):	$(MSGFILES)
42		$(BUILDPO.msgfiles)
43
44_msg:		$(MSGDOMAINPOFILE)
45
46$(SUBDIRS):	FRC
47		@cd $@; pwd; $(MAKE) $(TARGET)
48
49FRC:
50
51include		$(SRC)/Makefile.msg.targ
52include		$(SRC)/lib/Makefile.targ
53