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