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