Print this page
10197 build smatch in parallel

Split Close
Expand all
Collapse all
          --- old/usr/src/tools/smatch/Makefile
          +++ new/usr/src/tools/smatch/Makefile
↓ open down ↓ 122 lines elided ↑ open up ↑
 123  123          local_values.schema \
 124  124          mtag_map.schema
 125  125  
 126  126  ROOTONBLDDATAFILES = $(SMATCH_DATA:%=$(SMATCHDATADIR)/smatch_data/%)
 127  127  ROOTONBLDDATAFILES += $(SMATCH_DB_DATA:%=$(SMATCHDATADIR)/smatch_data/db/%)
 128  128  
 129  129  BUILT_HEADERS = src/version.h src/check_list_local.h
 130  130  
 131  131  .KEEP_STATE:
 132  132  
      133 +.PARALLEL: $(OBJS)
      134 +
 133  135  all: $(PROG)
 134  136  
 135  137  install: all .WAIT $(ROOTONBLDMACHPROG) $(ROOTONBLDDATAFILES)
 136  138  
 137  139  clean:
 138  140          rm -f $(OBJS) $(BUILT_HEADERS)
 139  141  
 140  142  $(ROOTONBLDDATAFILES): $(SMATCHDATADIR)/smatch_data/db
 141  143  
 142  144  $(SMATCHDATADIR)/smatch_data/%: src/smatch_data/%
↓ open down ↓ 25 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX