Makefile revision 3817
59602f2a7c4e4809941583bed3e94cd26e628f1aTinderbox User# CDDL HEADER START
c78c39caab4cf8b5daefc9c65878f7f5ed3eb7a0Tinderbox User# The contents of this file are subject to the terms of the
f536382c59dd492a14667b753816d920f9981f1cTinderbox User# Common Development and Distribution License (the "License").
ab496cc3df1648e9ad992a87c35c2c0870fdc69dTinderbox User# You may not use this file except in compliance with the License.
c57668a2fbbe558c1bd21652813616f2f517c469Tinderbox User# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
287a6a8f9040dc43560cd69cddf83bfc0f53b76fTinderbox User# See the License for the specific language governing permissions
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews# and limitations under the License.
e5a6871cd0635ecdb2bf792316a2d8c53206f4b2Tinderbox User# When distributing Covered Code, include this CDDL HEADER in each
950d203b64f512b85fcc093ee1e9e3e531a1aea3Tinderbox User# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User# If applicable, add the following below this CDDL HEADER, with the
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
3759f10fc543747668b1ca4b4671f35b0dea8445Francis Dupont# information: Portions Copyright [yyyy] [name of copyright owner]
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# CDDL HEADER END
d5637bdbb931ff79fced3d4858d83212ea58ed15Tinderbox User# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox UserCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
0eb371ca0dab50ae3462e98794a6126198c52f4bMark AndrewsCOMPONENT_PROJECT_URL= http://github.com/vasi/pixz/
280a8a0544b4aeb52414d20e8c6e6c5b1108562eTinderbox User sha256:912c60de88f7eca2e1c6fe13eec5371f723018dca933796c47cd50bf6a349fc9
0eb371ca0dab50ae3462e98794a6126198c52f4bMark AndrewsCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)archive/$(COMPONENT_ARCHIVE)
015055b6e23f5c08f6a5b34726f90b62597e9e45Tinderbox User# Userland default includes -mt which links with libthread which we don't need.
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User# pixz's Makefile hard-codes some gcc-only flags in MYCFLAGS and MYLDFLAGS,
0e573cdd111e060e5f6c18249b5ccacbe8abe278Tinderbox User# then appends CFLAGS & LDFLAGS to each. Here we include their preset values
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt# minus the gcc-only parts, so we can build with Studio.
3759f10fc543747668b1ca4b4671f35b0dea8445Francis DupontCOMPONENT_BUILD_ARGS += MYCFLAGS='$(patsubst %,-I%/include,$(LIBPREFIX)) $(OPT)'
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterCOMPONENT_BUILD_ARGS += MYLDFLAGS='$(patsubst %,-L%/lib,$(LIBPREFIX)) $(OPT)'
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# common targets