Makefile revision 4682
1725N/A# The contents of this file are subject to the terms of the 1725N/A# Common Development and Distribution License (the "License"). 1725N/A# You may not use this file except in compliance with the License. 1725N/A# See the License for the specific language governing permissions 1725N/A# and limitations under the License. 1725N/A# When distributing Covered Code, include this CDDL HEADER in each 1725N/A# If applicable, add the following below this CDDL HEADER, with the 1725N/A# fields enclosed by brackets "[]" replaced with your own identifying 1725N/A# information: Portions Copyright [yyyy] [name of copyright owner] 3817N/A# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved. 1725N/A# Userland default includes -mt which links with libthread which we don't need. 4682N/A# Nettle is coming. Disable building with it until it actually arrives, at 4682N/A# which point we can verify it works, then remove the following (and add a 4682N/A# REQUIRED_PACKAGES entry below). 1725N/A# libarchive's Makefile hard-codes some gcc-only flags in COMMON_CFLAGS, then 1725N/A# appends CFLAGS to that. Reset the former here so we can build with Studio. 1725N/A# We need GNU awk for the following to work; hence the PATH tweak. 3845N/A '-e "s|/tmp/.*_test.*|\\$$(TESTDIR)|g"' \
3845N/A '-e "s|^.*$(CC).*$$|XXX_CC_XXX|"' \
3845N/A '-e "s/ld: warning: symbol .* has differing sizes:$$/XXX_CC_XXX/"' \
3845N/A '-e "s/.*value=0x[0-9a-f]\+.*$$/XXX_CC_XXX/"' \
3845N/A '-e "s/.* definition taken$$/XXX_CC_XXX/"' \