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