xref: /titanic_44/usr/src/lib/libsff/Makefile (revision 48a4016cae8aa2b8b3d8b258eb22e0c781912bed)
1*48a4016cSRobert Mustacchi#
2*48a4016cSRobert Mustacchi# This file and its contents are supplied under the terms of the
3*48a4016cSRobert Mustacchi# Common Development and Distribution License ("CDDL"), version 1.0.
4*48a4016cSRobert Mustacchi# You may only use this file in accordance with the terms of version
5*48a4016cSRobert Mustacchi# 1.0 of the CDDL.
6*48a4016cSRobert Mustacchi#
7*48a4016cSRobert Mustacchi# A full copy of the text of the CDDL should have accompanied this
8*48a4016cSRobert Mustacchi# source.  A copy of the CDDL is also available via the Internet at
9*48a4016cSRobert Mustacchi# http://www.illumos.org/license/CDDL.
10*48a4016cSRobert Mustacchi#
11*48a4016cSRobert Mustacchi
12*48a4016cSRobert Mustacchi#
13*48a4016cSRobert Mustacchi# Copyright (c) 2017 Joyent, Inc.
14*48a4016cSRobert Mustacchi#
15*48a4016cSRobert Mustacchi
16*48a4016cSRobert Mustacchiinclude		../Makefile.lib
17*48a4016cSRobert Mustacchi
18*48a4016cSRobert MustacchiHDRS =		libsff.h
19*48a4016cSRobert MustacchiHDRDIR =	common
20*48a4016cSRobert MustacchiSUBDIRS =	$(MACH)
21*48a4016cSRobert Mustacchi$(BUILD64)SUBDIRS +=	$(MACH64)
22*48a4016cSRobert Mustacchi
23*48a4016cSRobert Mustacchiall :=		TARGET = all
24*48a4016cSRobert Mustacchiclean :=	TARGET = clean
25*48a4016cSRobert Mustacchiclobber :=	TARGET = clobber
26*48a4016cSRobert Mustacchiinstall :=	TARGET = install
27*48a4016cSRobert Mustacchilint :=		TARGET = lint
28*48a4016cSRobert Mustacchi
29*48a4016cSRobert Mustacchi.KEEP_STATE:
30*48a4016cSRobert Mustacchi
31*48a4016cSRobert Mustacchiall clean clobber lint: $(SUBDIRS)
32*48a4016cSRobert Mustacchi
33*48a4016cSRobert Mustacchiinstall: 	$(SUBDIRS) $(VARPD_MAPFILES) install_h
34*48a4016cSRobert Mustacchi
35*48a4016cSRobert Mustacchiinstall_h: 	$(ROOTHDRS)
36*48a4016cSRobert Mustacchi
37*48a4016cSRobert Mustacchicheck:		$(CHECKHDRS)
38*48a4016cSRobert Mustacchi
39*48a4016cSRobert Mustacchi$(SUBDIRS):  FRC
40*48a4016cSRobert Mustacchi	@cd $@; pwd; $(MAKE) $(TARGET)
41*48a4016cSRobert Mustacchi
42*48a4016cSRobert MustacchiFRC:
43*48a4016cSRobert Mustacchi
44*48a4016cSRobert Mustacchiinclude ../Makefile.targ
45