xref: /illumos-gate/usr/src/data/Makefile (revision a6a3654b)
1b599bd93SRobert Mustacchi#
2b599bd93SRobert Mustacchi# This file and its contents are supplied under the terms of the
3b599bd93SRobert Mustacchi# Common Development and Distribution License ("CDDL"), version 1.0.
4b599bd93SRobert Mustacchi# You may only use this file in accordance with the terms of version
5b599bd93SRobert Mustacchi# 1.0 of the CDDL.
6b599bd93SRobert Mustacchi#
7b599bd93SRobert Mustacchi# A full copy of the text of the CDDL should have accompanied this
8b599bd93SRobert Mustacchi# source.  A copy of the CDDL is also available via the Internet at
9b599bd93SRobert Mustacchi# http://www.illumos.org/license/CDDL.
10b599bd93SRobert Mustacchi#
11b599bd93SRobert Mustacchi
12b599bd93SRobert Mustacchi#
13503609a9SYuri Pankov# Copyright 2017 Nexenta Systems, Inc.
14d0e58ef5SRobert Mustacchi# Copyright 2019 Joyent, Inc.
15b599bd93SRobert Mustacchi#
16b599bd93SRobert Mustacchi
177e3dbbacSRobert MustacchiCOMMON_SUBDIRS=	consfonts \
184b529e40SToomas Soome		hwdata \
19503609a9SYuri Pankov		locale \
20503609a9SYuri Pankov		terminfo \
21503609a9SYuri Pankov		zoneinfo
22503609a9SYuri Pankov
2355908bd7SJohn Levoni386_SUBDIRS=	amdpmc perfmon ucode
247e3dbbacSRobert Mustacchi
257e3dbbacSRobert MustacchiSUBDIRS = $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS)
267e3dbbacSRobert Mustacchi
27d0e58ef5SRobert MustacchiMSGSUBDIRS=	zoneinfo
28503609a9SYuri Pankov
29503609a9SYuri Pankovall :=		TARGET=all
30503609a9SYuri Pankovclean :=	TARGET=clean
31503609a9SYuri Pankovclobber :=	TARGET=clobber
32503609a9SYuri Pankovinstall :=	TARGET=install
33503609a9SYuri Pankov_msg :=		TARGET=_msg
34503609a9SYuri Pankov
35*a6a3654bSRichard Lowe.PARALLEL: $(SUBDIRS)
36*a6a3654bSRichard Lowe
37503609a9SYuri Pankov.KEEP_STATE:
38503609a9SYuri Pankov
39503609a9SYuri Pankovall clean clobber install: $(SUBDIRS)
40503609a9SYuri Pankov
41503609a9SYuri Pankov_msg:		$(MSGSUBDIRS)
42503609a9SYuri Pankov
43503609a9SYuri Pankov$(SUBDIRS):	FRC
44503609a9SYuri Pankov		cd $@; pwd; $(MAKE) $(TARGET)
45b599bd93SRobert Mustacchi
46503609a9SYuri PankovFRC: