17c478bd9Sstevel@tonic-gate# 27c478bd9Sstevel@tonic-gate# CDDL HEADER START 37c478bd9Sstevel@tonic-gate# 47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the 508278a5eSRod Evans# Common Development and Distribution License (the "License"). 608278a5eSRod Evans# You may not use this file except in compliance with the License. 77c478bd9Sstevel@tonic-gate# 87c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 97c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 107c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions 117c478bd9Sstevel@tonic-gate# and limitations under the License. 127c478bd9Sstevel@tonic-gate# 137c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 147c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 157c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 167c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 177c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 187c478bd9Sstevel@tonic-gate# 197c478bd9Sstevel@tonic-gate# CDDL HEADER END 207c478bd9Sstevel@tonic-gate# 215661bb76SJohn Levon# Copyright (c) 2018, Joyent, Inc. 22cf9a187cSAndy Fiddaman# Copyright 2019 OmniOS Community Edition (OmniOSce) Association. 2308278a5eSRod Evans 247c478bd9Sstevel@tonic-gate# 2508278a5eSRod Evans# Copyright 2010 Sun Microsystems, Inc. All rights reserved. 267c478bd9Sstevel@tonic-gate# Use is subject to license terms. 277c478bd9Sstevel@tonic-gate# 2808278a5eSRod Evans 2908278a5eSRod Evans# 307c478bd9Sstevel@tonic-gate# Makefile to support tools used for linker development: 317c478bd9Sstevel@tonic-gate# 3269b1fd3fSRichard Lowe# piglatin - generates phone message catalogs for testing 337c478bd9Sstevel@tonic-gate# 3469b1fd3fSRichard Lowe 357c478bd9Sstevel@tonic-gate# Note, these tools are not part of the product. 367c478bd9Sstevel@tonic-gate# 377c478bd9Sstevel@tonic-gate# cmd/sgs/tools/Makefile.com 387c478bd9Sstevel@tonic-gate 397c478bd9Sstevel@tonic-gateinclude $(SRC)/cmd/Makefile.cmd 407c478bd9Sstevel@tonic-gate 417c478bd9Sstevel@tonic-gateinclude $(SRC)/cmd/sgs/Makefile.com 427c478bd9Sstevel@tonic-gate 4369b1fd3fSRichard LoweOBJECTS= piglatin.o 44*5801b0f0SToomas SoomeNATIVECC_CFLAGS = -O 45*5801b0f0SToomas SoomeNATIVE_LDFLAGS = $(LDASSERTS) $(ZASSERTDEFLIB)=libc.so $(BDIRECT) 467c478bd9Sstevel@tonic-gate 4769b1fd3fSRichard LoweNATIVE= $(OBJECTS:%.o=%) 4869b1fd3fSRichard LoweSRCS= $(OBJECTS:%.o=../common/%.c) 497c478bd9Sstevel@tonic-gate 507c478bd9Sstevel@tonic-gateCPPFLAGS += $(VAR_TOOLS_CPPFLAGS) 517c478bd9Sstevel@tonic-gate 527c478bd9Sstevel@tonic-gateROOTDIR= $(ROOT)/opt/SUNWonld 537c478bd9Sstevel@tonic-gateROOTPROGS= $(PROGS:%=$(ROOTDIR)/bin/%) 547c478bd9Sstevel@tonic-gate 557c478bd9Sstevel@tonic-gateFILEMODE= 0755 565661bb76SJohn Levon 575661bb76SJohn Levon# not linted 585661bb76SJohn LevonSMATCH=off 59