|
root / base / usr / src / tools / sgs / Makefile.com
Makefile.com Makefile 23 lines 926 B
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source.  A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#

# Copyright 2019, Richard Lowe.

# Hammerhead: Override ONBLD_TOOLS to use just-built tools from proto area.
# This must come AFTER Makefile.master is included (via other includes) because
# Makefile.master sets ONBLD_TOOLS = $(BUILD_TOOLS)/onbld = /opt/onbld.
# This allows tools like sgsmsg to be used to build libconv.
ONBLD_TOOLS =	$(TOOLS_PROTO)/opt/onbld

CPPFLAGS =	-I. -I$(SRCDIR) -I$(SRCDIR)/common \
	-I$(SGSHOME)/include -I$(SGSHOME)/include/$(MACH) \
	-I../include $(CPPFLAGS.native) -I$(ELFCAP) -DNATIVE_BUILD