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.
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.
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]
23 # Copyright 2009 Sun Microsystems, Inc. All rights reserved.
24 # Use is subject to license terms.
41 include ../../Makefile.astmsg
43 include ../../Makefile.lib
45 # mapfile-vers does not live with the sources in in common/ to make
46 # automated code updates easier.
47 MAPFILES= ../mapfile-vers
49 # Set common AST build flags (e.g. C99/XPG6, needed to support the math stuff)
50 include ../../../Makefile.ast
60 # We use "=" here since using $(CPPFLAGS.master) is very tricky in our
61 # case - it MUST come as the last element but future changes in -D options
62 # may then cause silent breakage in the AST sources because the last -D
63 # option specified overrides previous -D options so we prefer the current
64 # way to explicitly list each single flag.
66 # - "-D_BLD_DLL" comes from ${mam_cc_DLL} in Mamfile
69 $(DLLPLATFORMCPPFLAGS) \
71 -I$(ROOT)/usr/include/ast \
72 -I$(ROOT)/usr/include \
73 '-DCONF_LIBSUFFIX=".so"' \
74 '-DCONF_LIBPREFIX="lib"' \
84 CERRWARN += -Wno-parentheses
85 CERRWARN += -Wno-uninitialized
91 include ../../Makefile.targ