1#
| 1#
|
2# CDDL HEADER START
| 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.
|
3#
| 6#
|
4# The contents of this file are subject to the terms of the 5# Common Development and Distribution License (the "License"). 6# You may not use this file except in compliance with the License.
| 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.
|
7#
| 10#
|
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9# or http://www.opensolaris.org/os/licensing. 10# See the License for the specific language governing permissions 11# and limitations under the License.
| 11
|
12#
| 12#
|
13# When distributing Covered Code, include this CDDL HEADER in each 14# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15# If applicable, add the following below this CDDL HEADER, with the 16# fields enclosed by brackets "[]" replaced with your own identifying 17# information: Portions Copyright [yyyy] [name of copyright owner]
| 13# Copyright 2021 OmniOS Community Edition (OmniOSce) Association.
|
18#
| 14#
|
19# CDDL HEADER END 20# 21# 22# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 23# Use is subject to license terms. 24#
| |
25
| 15
|
26SHELL=/usr/bin/ksh93
| 16# Note that these AST components deliver installed headers to /usr/include/ast/ 17# but nothing else in gate depends on these to build, and serveral of them are 18# auto-generated. The install_h target is deliberately not wired into 19# 'cmdheaders' in usr/src/Makefile as that would significantly increase the 20# time taken to run the 'setup' target. Instead, sub-components automatically 21# install header files as part of the 'install' target.
|
27
| 22
|
28include ../Makefile.cmd
| 23include $(SRC)/Makefile.master
|
29
| 24
|
| 25all := TARGET= all 26clean := TARGET= clean 27clobber := TARGET= clobber 28_msg := TARGET= _msg 29install := TARGET= install 30install_h := TARGET= install_h 31# The _feature target is used to initially populate and to update the 32# FEATURE files for each component. It is not run as part of a normal 33# build. 34_feature := TARGET= _feature install 35
|
30SUBDIRS= \
| 36SUBDIRS= \
|
31 msgcc
| 37 tools \ 38 libast \ 39 libcmd \ 40 libdll \ 41 libpp \ 42 libshell \ 43 libsum \ 44 ksh \ 45 msgcc \ 46 shcomp
|
32
| 47
|
33all := TARGET = all 34install := TARGET = install 35clean := TARGET = clean 36clobber := TARGET = clobber 37lint := TARGET = lint 38
| |
39.KEEP_STATE:
| 48.KEEP_STATE:
|
| 49.PARALLEL: $(SUBDIRS)
|
40
| 50
|
41all install clean clobber lint: $(SUBDIRS)
| 51all clean clobber install install_h _msg _feature: $(SUBDIRS)
|
42
| 52
|
43$(SUBDIRS): FRC
| 53$(SUBDIRS): FRC
|
44 @cd $@; pwd; $(MAKE) $(TARGET) 45 46FRC: 47
| 54 @cd $@; pwd; $(MAKE) $(TARGET) 55 56FRC: 57
|
48include ../Makefile.targ
| 58libast: tools 59libcmd: libsum libast 60libdll: libast 61libpp: libast 62libshell: libast libcmd libdll 63libsum: libast 64 65shcomp: libshell 66msgcc: libast libpp 67ksh: libshell shcomp
|
| |