Print this page
Bring back LX zones.


  47 all             :=      TARGET= all
  48 all.prereq      :=      TARGET= all
  49 install         :=      TARGET= install
  50 install.prereq  :=      TARGET= all
  51 clean           :=      TARGET= clean
  52 clobber         :=      TARGET= clobber
  53 lint            :=      TARGET= lint
  54 lint.prereq     :=      TARGET= lint
  55 modlintlib      :=      TARGET= modlintlib
  56 modlist         :=      TARGET= modlist
  57 modlist         :=      NO_STATE= -K $$MODSTATE$$$$
  58 clean.lint      :=      TARGET= clean.lint
  59 check           :=      TARGET= check
  60 install_h       :=      TARGET= install_h
  61 install_h.prereq        :=      TARGET= install_h
  62 
  63 .KEEP_STATE:
  64 
  65 .PARALLEL:      $(PARALLEL_KMODS) $(XMODS) config $(LINT_DEPS)
  66 
  67 def all install clean clobber modlist: $(KMODS) $(XMODS) config
  68 
  69 clobber: clobber.targ
  70 
  71 #
  72 # Privilege constants
  73 #
  74 # NOTE: The rules for generating priv_const.c file are shared between all
  75 # processor architectures and and should be kept in sync. If they are changed in
  76 # this file make sure that sparc rules are updated as well.
  77 #
  78 PRIVS_C = $(SRC)/uts/common/os/priv_const.c
  79 
  80 $(PRIVS_C): $(PRIVS_AWK) $(PRIVS_DEF)
  81         $(NAWK) -f $(PRIVS_AWK) < $(PRIVS_DEF) cfile=$@
  82 
  83 CLOBBERFILES += $(PRIVS_C)
  84 
  85 #
  86 # Prerequisites
  87 #


  89 # i86xpv and intel are all built in parallel. This requires building certain
  90 # parts before the parallel build can start. The uts/Makefile appends the
  91 # '.prereq' string to the original target and executes this Makefile to build
  92 # any prerequisites needed before the full parallel build can start. After that
  93 # make continues with normal targets.
  94 #
  95 # Any build prerequisites for x86 builds should be described here.
  96 #
  97 # genassym is used to build intel/dtrace and genunix, so it should be built
  98 # first.
  99 #
 100 # priv_const.c is required to build genunix.
 101 #
 102 # genunix is used by everyone to ctf-merge with. Genunix is CTF-merged with
 103 #   intel/ip so as a side effect this dependency builds intel/ip as part of the
 104 #   prerequisites.
 105 #
 106 # intel/dtrace depends on i86pc/genassym, so we need to build both
 107 # i86pc/genassym and intel/genassym.
 108 #
 109 all.prereq install.prereq def.prereq: genunix FRC
 110         @cd ../i86pc/genassym; pwd; $(MAKE) $(@:%.prereq=%)
 111 
 112 #
 113 # i86pc lint libraries should be built first
 114 #
 115 lint.prereq: FRC
 116         @cd ../i86pc; pwd; $(MAKE) $(NO_STATE) lint
 117 
 118 #
 119 # Nothing to do for any other prerequisite targets.
 120 #
 121 %.prereq:
 122 
 123 genunix: $(PRIVS_C)
 124 
 125 modlintlib clean.lint: $(LINT_KMODS) $(XMODS)
 126 
 127 $(KMODS) $(SUBDIRS) config:     FRC
 128         @cd $@; pwd; $(MAKE) $(NO_STATE) $(TARGET)
 129 
 130 $(XMODS):       FRC
 131         @if [ -f $@/Makefile  ]; then \
 132                 cd $@; pwd; $(MAKE) $(NO_STATE) $(TARGET); \
 133         else \
 134                 true; \
 135         fi
 136 
 137 install_h check:        FRC
 138         @cd sys; pwd; $(MAKE) $(TARGET)
 139         @cd asm; pwd; $(MAKE) $(TARGET)
 140         @cd ia32/sys; pwd; $(MAKE) $(TARGET)
 141         @cd amd64/sys; pwd; $(MAKE) $(TARGET)
 142 
 143 #
 144 # Work-around to disable acpica global crosscheck lint warnings
 145 #
 146 LGREP.intel =   grep -v 'intel/io/acpica'
 147 


  47 all             :=      TARGET= all
  48 all.prereq      :=      TARGET= all
  49 install         :=      TARGET= install
  50 install.prereq  :=      TARGET= all
  51 clean           :=      TARGET= clean
  52 clobber         :=      TARGET= clobber
  53 lint            :=      TARGET= lint
  54 lint.prereq     :=      TARGET= lint
  55 modlintlib      :=      TARGET= modlintlib
  56 modlist         :=      TARGET= modlist
  57 modlist         :=      NO_STATE= -K $$MODSTATE$$$$
  58 clean.lint      :=      TARGET= clean.lint
  59 check           :=      TARGET= check
  60 install_h       :=      TARGET= install_h
  61 install_h.prereq        :=      TARGET= install_h
  62 
  63 .KEEP_STATE:
  64 
  65 .PARALLEL:      $(PARALLEL_KMODS) $(XMODS) config $(LINT_DEPS)
  66 
  67 def all install clean clobber modlist: genassym $(KMODS) $(XMODS) config
  68 
  69 clobber: clobber.targ
  70 
  71 #
  72 # Privilege constants
  73 #
  74 # NOTE: The rules for generating priv_const.c file are shared between all
  75 # processor architectures and and should be kept in sync. If they are changed in
  76 # this file make sure that sparc rules are updated as well.
  77 #
  78 PRIVS_C = $(SRC)/uts/common/os/priv_const.c
  79 
  80 $(PRIVS_C): $(PRIVS_AWK) $(PRIVS_DEF)
  81         $(NAWK) -f $(PRIVS_AWK) < $(PRIVS_DEF) cfile=$@
  82 
  83 CLOBBERFILES += $(PRIVS_C)
  84 
  85 #
  86 # Prerequisites
  87 #


  89 # i86xpv and intel are all built in parallel. This requires building certain
  90 # parts before the parallel build can start. The uts/Makefile appends the
  91 # '.prereq' string to the original target and executes this Makefile to build
  92 # any prerequisites needed before the full parallel build can start. After that
  93 # make continues with normal targets.
  94 #
  95 # Any build prerequisites for x86 builds should be described here.
  96 #
  97 # genassym is used to build intel/dtrace and genunix, so it should be built
  98 # first.
  99 #
 100 # priv_const.c is required to build genunix.
 101 #
 102 # genunix is used by everyone to ctf-merge with. Genunix is CTF-merged with
 103 #   intel/ip so as a side effect this dependency builds intel/ip as part of the
 104 #   prerequisites.
 105 #
 106 # intel/dtrace depends on i86pc/genassym, so we need to build both
 107 # i86pc/genassym and intel/genassym.
 108 #
 109 all.prereq install.prereq def.prereq: genassym genunix FRC
 110         @cd ../i86pc/genassym; pwd; $(MAKE) $(@:%.prereq=%)
 111 
 112 #
 113 # i86pc lint libraries should be built first
 114 #
 115 lint.prereq: FRC
 116         @cd ../i86pc; pwd; $(MAKE) $(NO_STATE) lint
 117 
 118 #
 119 # Nothing to do for any other prerequisite targets.
 120 #
 121 %.prereq:
 122 
 123 genunix: $(PRIVS_C)
 124 
 125 modlintlib clean.lint: $(LINT_KMODS) $(XMODS)
 126 
 127 genassym $(KMODS) $(SUBDIRS) config:    FRC
 128         @cd $@; pwd; $(MAKE) $(NO_STATE) $(TARGET)
 129 
 130 $(XMODS):       FRC
 131         @if [ -f $@/Makefile  ]; then \
 132                 cd $@; pwd; $(MAKE) $(NO_STATE) $(TARGET); \
 133         else \
 134                 true; \
 135         fi
 136 
 137 install_h check:        FRC
 138         @cd sys; pwd; $(MAKE) $(TARGET)
 139         @cd asm; pwd; $(MAKE) $(TARGET)
 140         @cd ia32/sys; pwd; $(MAKE) $(TARGET)
 141         @cd amd64/sys; pwd; $(MAKE) $(TARGET)
 142 
 143 #
 144 # Work-around to disable acpica global crosscheck lint warnings
 145 #
 146 LGREP.intel =   grep -v 'intel/io/acpica'
 147