Makefile revision 7c2fbfb345896881c631598ee3852ce9ce33fb07
123c13eb1384c256a66438ca2110750baba7eef8wrowe# CDDL HEADER START
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# The contents of this file are subject to the terms of the
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# Common Development and Distribution License (the "License").
8f5dca296674091bd47a7846d0cc16ce5bbc272ejerenkrantz# You may not use this file except in compliance with the License.
91cacb801f6c0215b38322f6d2fc58cbfedfecfbjerenkrantz# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
df14f0d3a5191cdd7c4bb5b03acd135d43a6f51brbb# See the License for the specific language governing permissions
df14f0d3a5191cdd7c4bb5b03acd135d43a6f51brbb# and limitations under the License.
571760de5e60c0b459cb11be45507b923cd023eejwoolley# When distributing Covered Code, include this CDDL HEADER in each
571760de5e60c0b459cb11be45507b923cd023eejwoolley# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
9180a5933673ffb1af633c255ceee029340f3b1erbb# If applicable, add the following below this CDDL HEADER, with the
bcb6e1be6041dfeb549c8ea8d37f97ad4e90a0c3rbb# fields enclosed by brackets "[]" replaced with your own identifying
9bd71e35f5d26d26d23fe3a677401828e842ed72wrowe# information: Portions Copyright [yyyy] [name of copyright owner]
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb# CDDL HEADER END
cf6bf6c34c936e6a6fe731dbce4a5c3c8bf8e9a3gstein# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
35330e0d79ceb8027223bbb8330a381b1f989d6etrawick# Use is subject to license terms.
af4c982a7cf4515f124935f99a329744035fc699slive# Set common AST build flags (e.g., needed to support the math stuff).
976501adbc040220270f7d1d77c4b8373033be69wrowe# 1. Make sure that the -D/-U defines in CFLAGS below are in sync
976501adbc040220270f7d1d77c4b8373033be69wrowe# 2. We use "=" here since using $(CPPFLAGS.master) is very tricky in our
b84f66c93f820824b1d5455181f55598b766319cwrowe# case - it MUST come as the last element but future changes in -D options
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbb# may then cause silent breakage in the AST sources because the last -D
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbb# option specified overrides previous -D options so we prefer the current
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbb# way to explicitly list each single flag.
976501adbc040220270f7d1d77c4b8373033be69wrowe $(COMPILE.c) -c -o $@ $<
7bce59d998f2e5ca1cb60038ef6c1d0817605d62stoddard# dummy file since AST/ksh/shcomp doesn't use *.po files
7bce59d998f2e5ca1cb60038ef6c1d0817605d62stoddard# (and "shcomp" is just a frontend which calls directly into libshell,
7bce59d998f2e5ca1cb60038ef6c1d0817605d62stoddard# e.g. there are no l10n strings here)