Print this page
11394 iconv_modules build could be much more parallel


  21 #
  22 # Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 #
  25 # Copyright (c) 2018, Joyent, Inc.
  26 
  27 include $(SRC)/Makefile.master
  28 
  29 BTS_DIR                 = $(ROOT)/usr/lib/iconv/geniconvtbl/binarytables
  30 
  31 # geniconvtbl loadmodule
  32 GENICONVTBL= /usr/bin/geniconvtbl
  33 #
  34 # Common sources come from following directory:
  35 COMMON                  = ../common/
  36 GENI_SRCS               = ../common/binarytables/srcs
  37 
  38 include $(SRC)/lib/iconv_modules/Makefile.iconv
  39 include $(SRC)/lib/iconv_modules/utf-8/Makefile.iconv
  40 
  41 CLEANFILES =    *.o *.so core *.bt
  42 
  43 .NO_PARALLEL:
  44 
  45 .PARALLEL: $(DYNOBJS) $(BINARYTABLES)
  46 
  47 
  48 all: $(DYNOBJS) $(BINARYTABLES)
  49 
  50 install: all $(ICONV_DIR) $(BTS_DIR) $(ICONV_DIR)/alias
  51         for f in  $(BINARYTABLES) ; do \
  52                 TMP=`echo $$f | $(TR) "+" "%"` ; \
  53                 echo installing $$TMP to $(BTS_DIR) ; \
  54                 $(RM) $(BTS_DIR)/$$TMP ; \
  55                 $(CP) $$f $(BTS_DIR)/$$TMP ; \
  56                 $(CHMOD) 444 $(BTS_DIR)/$$TMP ; \
  57         done
  58         for f in $(DYNOBJS) ; do \
  59                 TMP=`echo $$f | $(TR) "+" "%"` ; \
  60                 echo installing $$TMP to $(ICONV_DIR) ; \
  61                 $(RM) $(ICONV_DIR)/$$TMP ; \




  21 #
  22 # Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 #
  25 # Copyright (c) 2018, Joyent, Inc.
  26 
  27 include $(SRC)/Makefile.master
  28 
  29 BTS_DIR                 = $(ROOT)/usr/lib/iconv/geniconvtbl/binarytables
  30 
  31 # geniconvtbl loadmodule
  32 GENICONVTBL= /usr/bin/geniconvtbl
  33 #
  34 # Common sources come from following directory:
  35 COMMON                  = ../common/
  36 GENI_SRCS               = ../common/binarytables/srcs
  37 
  38 include $(SRC)/lib/iconv_modules/Makefile.iconv
  39 include $(SRC)/lib/iconv_modules/utf-8/Makefile.iconv
  40 
  41 CLEANFILES =    *.o *.so *.bt
  42 
  43 .NO_PARALLEL:
  44 
  45 .PARALLEL: $(DYNOBJS) $(BINARYTABLES)
  46 
  47 
  48 all: $(DYNOBJS) $(BINARYTABLES)
  49 
  50 install: all $(ICONV_DIR) $(BTS_DIR) $(ICONV_DIR)/alias
  51         for f in  $(BINARYTABLES) ; do \
  52                 TMP=`echo $$f | $(TR) "+" "%"` ; \
  53                 echo installing $$TMP to $(BTS_DIR) ; \
  54                 $(RM) $(BTS_DIR)/$$TMP ; \
  55                 $(CP) $$f $(BTS_DIR)/$$TMP ; \
  56                 $(CHMOD) 444 $(BTS_DIR)/$$TMP ; \
  57         done
  58         for f in $(DYNOBJS) ; do \
  59                 TMP=`echo $$f | $(TR) "+" "%"` ; \
  60                 echo installing $$TMP to $(ICONV_DIR) ; \
  61                 $(RM) $(ICONV_DIR)/$$TMP ; \