Makefile revision 1773
70025d765b044c6d8594bb965a2247a61e991a99johnny# CDDL HEADER START
70025d765b044c6d8594bb965a2247a61e991a99johnny# The contents of this file are subject to the terms of the
f808c858fa61e7769218966759510a8b1190dfcfraf# Common Development and Distribution License (the "License").
f808c858fa61e7769218966759510a8b1190dfcfraf# You may not use this file except in compliance with the License.
70025d765b044c6d8594bb965a2247a61e991a99johnny# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
70025d765b044c6d8594bb965a2247a61e991a99johnny# See the License for the specific language governing permissions
70025d765b044c6d8594bb965a2247a61e991a99johnny# and limitations under the License.
70025d765b044c6d8594bb965a2247a61e991a99johnny# When distributing Covered Code, include this CDDL HEADER in each
70025d765b044c6d8594bb965a2247a61e991a99johnny# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
70025d765b044c6d8594bb965a2247a61e991a99johnny# If applicable, add the following below this CDDL HEADER, with the
70025d765b044c6d8594bb965a2247a61e991a99johnny# fields enclosed by brackets "[]" replaced with your own identifying
70025d765b044c6d8594bb965a2247a61e991a99johnny# information: Portions Copyright [yyyy] [name of copyright owner]
70025d765b044c6d8594bb965a2247a61e991a99johnny# CDDL HEADER END
70025d765b044c6d8594bb965a2247a61e991a99johnny# Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
70025d765b044c6d8594bb965a2247a61e991a99johnny sha256:76e8d7c7b100ec4071e48c1b7d3f3ea1d22b39db3e45b7189f75b5ff4df90fac
70025d765b044c6d8594bb965a2247a61e991a99johnny $(COMPONENT_PROJECT_URL)downloads/libarchive/libarchive/$(COMPONENT_ARCHIVE)
70025d765b044c6d8594bb965a2247a61e991a99johnny# Userland default includes -mt which links with libthread which we don't need.
4466400188e2b3a0fa0e310d049f282862508982Zach Kissel# libarchive's Makefile hard-codes some gcc-only flags in COMMON_CFLAGS, then
4466400188e2b3a0fa0e310d049f282862508982Zach Kissel# appends CFLAGS to that. Reset the former here so we can build with Studio.
f808c858fa61e7769218966759510a8b1190dfcfraf# We need GNU awk for the following to work; hence the PATH tweak.
4466400188e2b3a0fa0e310d049f282862508982Zach Kissel (cd $(@D)/doc/man ; rm *.[135] ; env PATH=/usr/gnu/bin:$$PATH gmake all)
70025d765b044c6d8594bb965a2247a61e991a99johnny# common targets