xref: /illumos-gate/usr/src/data/Makefile (revision 5328fc53d11d7151861fa272e4fb0248b8f0e145)
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.KEEP_STATE:
36
37all clean clobber install: $(SUBDIRS)
38
39_msg:		$(MSGSUBDIRS)
40
41$(SUBDIRS):	FRC
42		cd $@; pwd; $(MAKE) $(TARGET)
43
44FRC:
45