comm: add -Wall
[unleashed.git] / usr / src / lib / libofmt / Makefile
blob21bb7cdea8752a741248b4ecd954e03ddc10b22f
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.
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.
13 # Copyright 2017 Nexenta Systems, Inc.
16 include $(SRC)/lib/Makefile.lib
18 SUBDIRS= $(MACH) $(BUILD64) $(MACH64)
20 HDRS= ofmt.h
21 HDRDIR= common
23 POFILE= libofmt.po
24 MSGFILES= common/ofmt.c
25 XGETFLAGS= -a
27 all := TARGET= all
28 clean := TARGET= clean
29 clobber := TARGET= clobber
30 install := TARGET= install
31 lint := TARGET= lint
33 .KEEP_STATE:
35 all clean clobber install lint: $(SUBDIRS)
37 install_h: $(ROOTHDRS)
39 check: $(CHECKHDRS)
41 $(POFILE): $(MSGFILES)
42 $(BUILDPO.msgfiles)
44 _msg: $(MSGDOMAINPOFILE)
46 $(SUBDIRS): FRC
47 @cd $@; pwd; $(MAKE) $(TARGET)
49 FRC:
51 include $(SRC)/Makefile.msg.targ
52 include $(SRC)/lib/Makefile.targ