Print this page
fixup! tools: build a tools copy of make (which the build will automatically use)
   1 #
   2 # This file and its contents are supplied under the terms of the
   3 # Common Development and Distribution License ("CDDL"), version 1.0.
   4 # You may only use this file in accordance with the terms of version
   5 # 1.0 of the CDDL.
   6 #
   7 # A full copy of the text of the CDDL should have accompanied this
   8 # source.  A copy of the CDDL is also available via the Internet at
   9 # http://www.illumos.org/license/CDDL.
  10 #
  11 
  12 # Copyright 2015, Richard Lowe.
  13 
  14 MAKE_INCLUDE= $(SRC)/cmd/make/include
  15 $(RELEASE_BUILD)MAKE_DEFS += -DNDEBUG
  16 
  17 CC = $(NATIVECC)
  18 CCC = $(NATIVECCC)
  19 CFLAGS = $(NATIVE_CFLAGS)
  20 CFLAGS += $(CCVERBOSE)
  21 CPPFLAGS = $(CPPFLAGS.native)
  22 CPPFLAGS += -I$(MAKE_INCLUDE) $(MAKE_DEFS)
   1 #
   2 # This file and its contents are supplied under the terms of the
   3 # Common Development and Distribution License ("CDDL"), version 1.0.
   4 # You may only use this file in accordance with the terms of version
   5 # 1.0 of the CDDL.
   6 #
   7 # A full copy of the text of the CDDL should have accompanied this
   8 # source.  A copy of the CDDL is also available via the Internet at
   9 # http://www.illumos.org/license/CDDL.
  10 #
  11 
  12 # Copyright 2015, Richard Lowe.
  13 
  14 MAKE_INCLUDE= $(SRC)/cmd/make/include

  15 
  16 CC = $(NATIVECC)
  17 CCC = $(NATIVECCC)
  18 CFLAGS = $(NATIVE_CFLAGS)
  19 CFLAGS += $(CCVERBOSE)
  20 CPPFLAGS = $(CPPFLAGS.native)
  21 CPPFLAGS += -I$(MAKE_INCLUDE) $(MAKE_DEFS)