xref: /illumos-gate/usr/src/data/Makefile (revision d7b72f7b52f902da47cc7210a9121f4caabbcb9c)
1503609a9SYuri Pankov#
2503609a9SYuri Pankov# This file and its contents are supplied under the terms of the
3503609a9SYuri Pankov# Common Development and Distribution License ("CDDL"), version 1.0.
4503609a9SYuri Pankov# You may only use this file in accordance with the terms of version
5503609a9SYuri Pankov# 1.0 of the CDDL.
6503609a9SYuri Pankov#
7503609a9SYuri Pankov# A full copy of the text of the CDDL should have accompanied this
8503609a9SYuri Pankov# source.  A copy of the CDDL is also available via the Internet at
9503609a9SYuri Pankov# http://www.illumos.org/license/CDDL.
10503609a9SYuri Pankov#
11503609a9SYuri Pankov
12503609a9SYuri Pankov#
13503609a9SYuri Pankov# Copyright 2017 Nexenta Systems, Inc.
14d0e58ef5SRobert Mustacchi# Copyright 2019 Joyent, Inc.
15*d7b72f7bSAndy Fiddaman# Copyright 2022 OmniOS Community Edition (OmniOSce) Association.
16503609a9SYuri Pankov#
17503609a9SYuri Pankov
187e3dbbacSRobert MustacchiCOMMON_SUBDIRS=	consfonts \
194b529e40SToomas Soome		hwdata \
20503609a9SYuri Pankov		locale \
21503609a9SYuri Pankov		terminfo \
22503609a9SYuri Pankov		zoneinfo
23503609a9SYuri Pankov
24*d7b72f7bSAndy Fiddamani386_SUBDIRS=	amdpmc bhyve perfmon ucode
257e3dbbacSRobert Mustacchi
267e3dbbacSRobert MustacchiSUBDIRS = $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS)
277e3dbbacSRobert Mustacchi
28503609a9SYuri PankovMSGSUBDIRS=	zoneinfo
29503609a9SYuri Pankov
30503609a9SYuri Pankovall :=		TARGET=all
31503609a9SYuri Pankovclean :=	TARGET=clean
32503609a9SYuri Pankovclobber :=	TARGET=clobber
33503609a9SYuri Pankovinstall :=	TARGET=install
34503609a9SYuri Pankov_msg :=		TARGET=_msg
35503609a9SYuri Pankov
36a6a3654bSRichard Lowe.PARALLEL: $(SUBDIRS)
37a6a3654bSRichard Lowe
38503609a9SYuri Pankov.KEEP_STATE:
39503609a9SYuri Pankov
40503609a9SYuri Pankovall clean clobber install: $(SUBDIRS)
41503609a9SYuri Pankov
42503609a9SYuri Pankov_msg:		$(MSGSUBDIRS)
43503609a9SYuri Pankov
44503609a9SYuri Pankov$(SUBDIRS):	FRC
45503609a9SYuri Pankov		cd $@; pwd; $(MAKE) $(TARGET)
46503609a9SYuri Pankov
47503609a9SYuri PankovFRC:
48