xref: /titanic_52/usr/src/lib/libcustr/Makefile (revision 1f0c339e39c0c782f9d4c4f3f11d373e24e1d76f)
1*1f0c339eSJason King#
2*1f0c339eSJason King# This file and its contents are supplied under the terms of the
3*1f0c339eSJason King# Common Development and Distribution License ("CDDL"), version 1.0.
4*1f0c339eSJason King# You may only use this file in accordance with the terms of version
5*1f0c339eSJason King# 1.0 of the CDDL.
6*1f0c339eSJason King#
7*1f0c339eSJason King# A full copy of the text of the CDDL should have accompanied this
8*1f0c339eSJason King# source.  A copy of the CDDL is also available via the Internet at
9*1f0c339eSJason King# http://www.illumos.org/license/CDDL.
10*1f0c339eSJason King#
11*1f0c339eSJason King
12*1f0c339eSJason King#
13*1f0c339eSJason King# Copyright 2018, Joyent, Inc.
14*1f0c339eSJason King#
15*1f0c339eSJason King
16*1f0c339eSJason Kinginclude $(SRC)/lib/Makefile.lib
17*1f0c339eSJason King
18*1f0c339eSJason KingHDRS =		libcustr.h
19*1f0c339eSJason KingHDRDIR =	common
20*1f0c339eSJason King
21*1f0c339eSJason KingSUBDIRS =		$(MACH)
22*1f0c339eSJason King$(BUILD64)SUBDIRS +=	$(MACH64)
23*1f0c339eSJason King
24*1f0c339eSJason Kingall :=		TARGET= all
25*1f0c339eSJason Kingclean :=	TARGET= clean
26*1f0c339eSJason Kingclobber :=	TARGET= clobber
27*1f0c339eSJason Kinginstall :=	TARGET= install
28*1f0c339eSJason Kinglint :=		TARGET= lint
29*1f0c339eSJason King
30*1f0c339eSJason King.KEEP_STATE:
31*1f0c339eSJason King
32*1f0c339eSJason Kingall clean clobber install lint: $(SUBDIRS)
33*1f0c339eSJason King
34*1f0c339eSJason Kinginstall_h: $(ROOTHDRS)
35*1f0c339eSJason King
36*1f0c339eSJason Kingcheck: $(CHECKHDRS)
37*1f0c339eSJason King
38*1f0c339eSJason King$(SUBDIRS):	FRC
39*1f0c339eSJason King	@cd $@; pwd; $(MAKE) $(TARGET)
40*1f0c339eSJason King
41*1f0c339eSJason KingFRC:
42*1f0c339eSJason King
43*1f0c339eSJason Kinginclude $(SRC)/lib/Makefile.targ
44