xref: /illumos-gate/usr/src/lib/libcustr/Makefile (revision 241c90a0)
1500cf85bSJason King#
2500cf85bSJason King# This file and its contents are supplied under the terms of the
3500cf85bSJason King# Common Development and Distribution License ("CDDL"), version 1.0.
4500cf85bSJason King# You may only use this file in accordance with the terms of version
5500cf85bSJason King# 1.0 of the CDDL.
6500cf85bSJason King#
7500cf85bSJason King# A full copy of the text of the CDDL should have accompanied this
8500cf85bSJason King# source.  A copy of the CDDL is also available via the Internet at
9500cf85bSJason King# http://www.illumos.org/license/CDDL.
10500cf85bSJason King#
11500cf85bSJason King
12500cf85bSJason King#
13500cf85bSJason King# Copyright 2018, Joyent, Inc.
14500cf85bSJason King#
15500cf85bSJason King
16500cf85bSJason Kinginclude $(SRC)/lib/Makefile.lib
17500cf85bSJason King
18500cf85bSJason KingHDRS =		libcustr.h
19500cf85bSJason KingHDRDIR =	common
20500cf85bSJason King
21500cf85bSJason KingSUBDIRS =		$(MACH)
22500cf85bSJason King$(BUILD64)SUBDIRS +=	$(MACH64)
23500cf85bSJason King
24500cf85bSJason Kingall :=		TARGET= all
25500cf85bSJason Kingclean :=	TARGET= clean
26500cf85bSJason Kingclobber :=	TARGET= clobber
27500cf85bSJason Kinginstall :=	TARGET= install
28500cf85bSJason King
2905ede3dbSJohn Levon# needs work
3005ede3dbSJohn LevonSMOFF=all_func_returns
3105ede3dbSJohn Levon
32500cf85bSJason King.KEEP_STATE:
33500cf85bSJason King
34*241c90a0SRichard Loweall clean clobber install: $(SUBDIRS)
35500cf85bSJason King
36500cf85bSJason Kinginstall_h: $(ROOTHDRS)
37500cf85bSJason King
38500cf85bSJason Kingcheck: $(CHECKHDRS)
39500cf85bSJason King
40500cf85bSJason King$(SUBDIRS):	FRC
41500cf85bSJason King	@cd $@; pwd; $(MAKE) $(TARGET)
42500cf85bSJason King
43500cf85bSJason KingFRC:
44500cf85bSJason King
45500cf85bSJason Kinginclude $(SRC)/lib/Makefile.targ