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 #
  13 # Copyright 2017 Nexenta Systems, Inc.
  14 # Copyright 2019 Joyent, Inc.
  15 #
  16 
  17 COMMON_SUBDIRS= consfonts \
  18                 hwdata \
  19                 locale \
  20                 terminfo \
  21                 zoneinfo
  22 
  23 i386_SUBDIRS=   amdpmc perfmon ucode
  24 
  25 SUBDIRS = $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS)
  26 
  27 MSGSUBDIRS=     zoneinfo
  28 
  29 all :=          TARGET=all
  30 clean :=        TARGET=clean
  31 clobber :=      TARGET=clobber
  32 install :=      TARGET=install
  33 _msg :=         TARGET=_msg
  34 
  35 .KEEP_STATE:
  36 
  37 all clean clobber install: $(SUBDIRS)
  38 
  39 _msg:           $(MSGSUBDIRS)
  40 
  41 $(SUBDIRS):     FRC
  42                 cd $@; pwd; $(MAKE) $(TARGET)
  43 
  44 FRC: