xref: /titanic_51/usr/src/data/Makefile (revision 7fd791373689a6af05e27efec3b1ab556e02aa23)
1#
2# This file and its contents are supplied under the terms of the
3# Common Development and Distribution License ("CDDL"), version 1.0.
4# You may only use this file in accordance with the terms of version
5# 1.0 of the CDDL.
6#
7# A full copy of the text of the CDDL should have accompanied this
8# source.  A copy of the CDDL is also available via the Internet at
9# http://www.illumos.org/license/CDDL.
10#
11
12#
13# Copyright 2017 Nexenta Systems, Inc.
14# Copyright 2019 Joyent, Inc.
15#
16
17COMMON_SUBDIRS=	hwdata \
18		zoneinfo
19
20i386_SUBDIRS=	amdpmc perfmon
21
22SUBDIRS = $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS)
23
24MSGSUBDIRS=	zoneinfo
25
26all :=		TARGET=all
27clean :=	TARGET=clean
28clobber :=	TARGET=clobber
29install :=	TARGET=install
30_msg :=		TARGET=_msg
31
32.KEEP_STATE:
33
34all clean clobber install: $(SUBDIRS)
35
36_msg:		$(MSGSUBDIRS)
37
38$(SUBDIRS):	FRC
39		cd $@; pwd; $(MAKE) $(TARGET)
40
41FRC:
42