Merge illumos-gate
[unleashed.git] / usr / src / lib / libcustr / Makefile
blob8ca9874ff0cc366bf6744d6c62253b56eceb9351
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 2018, Joyent, Inc.
16 include $(SRC)/lib/Makefile.lib
18 HDRS = libcustr.h
19 HDRDIR = common
21 SUBDIRS = $(MACH)
22 $(BUILD64)SUBDIRS += $(MACH64)
24 all := TARGET= all
25 clean := TARGET= clean
26 clobber := TARGET= clobber
27 install := TARGET= install
29 # needs work
30 SMOFF=all_func_returns
32 .KEEP_STATE:
34 all clean clobber install: $(SUBDIRS)
36 install_h: $(ROOTHDRS)
38 check: $(CHECKHDRS)
40 $(SUBDIRS): FRC
41 @cd $@; pwd; $(MAKE) $(TARGET)
43 FRC:
45 include $(SRC)/lib/Makefile.targ