xref: /illumos-gate/usr/src/data/Makefile (revision 16b76d3cb933ff92018a2a75594449010192eacb)
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# Copyright 2022 OmniOS Community Edition (OmniOSce) Association.
16#
17
18COMMON_SUBDIRS=	consfonts \
19		hwdata \
20		locale \
21		terminfo \
22		zoneinfo
23
24i386_SUBDIRS=	amdpmc bhyve perfmon ucode
25
26SUBDIRS = $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS)
27
28MSGSUBDIRS=	zoneinfo
29
30all :=		TARGET=all
31clean :=	TARGET=clean
32clobber :=	TARGET=clobber
33install :=	TARGET=install
34_msg :=		TARGET=_msg
35
36.PARALLEL: $(SUBDIRS)
37
38.KEEP_STATE:
39
40all clean clobber install: $(SUBDIRS)
41
42_msg:		$(MSGSUBDIRS)
43
44$(SUBDIRS):	FRC
45		cd $@; pwd; $(MAKE) $(TARGET)
46
47FRC:
48