Print this page
OS-2559 illumos-extra should provide native node in proto.strap


  57         pbzip2 \
  58         perl \
  59         rsync \
  60         rsyslog \
  61         screen \
  62         socat \
  63         tun \
  64         uuid \
  65         vim \
  66         wget
  67 
  68 STRAP_SUBDIRS = \
  69         cpp \
  70         bzip2 \
  71         libexpat \
  72         libidn \
  73         libm \
  74         libxml \
  75         libz \
  76         make \

  77         nss-nspr \
  78         openssl1x \
  79         perl
  80 
  81 NAME =  illumos-extra
  82 
  83 AWK =           $(shell (which gawk 2>/dev/null | grep -v "^no ") || which awk)
  84 BRANCH =        $(shell git symbolic-ref HEAD | $(AWK) -F/ '{print $$3}')
  85 
  86 ifeq ($(TIMESTAMP),)
  87   TIMESTAMP =   $(shell date -u "+%Y%m%dT%H%M%SZ")
  88 endif
  89 
  90 GITDESCRIBE = \
  91         g$(shell git describe --all --long | $(AWK) -F'-g' '{print $$NF}')
  92 
  93 TARBALL =       $(NAME)-$(BRANCH)-$(TIMESTAMP)-$(GITDESCRIBE).tgz
  94 
  95 all: $(SUBDIRS)
  96 


 111 #
 112 # pkg-config may be installed. This will actually only hurt us rather than help
 113 # us. pkg-config is based as a part of the pkgsrc packages and will pull in
 114 # versions of libraries that we have in /opt/local rather than using the ones in
 115 # /usr that we want. PKG_CONFIG_LIBDIR controls the actual path. This
 116 # environment variable nulls out the search path. Other vars just control what
 117 # gets appended.
 118 #
 119 
 120 $(DESTDIR)/usr/gnu/bin/gas: FRC
 121         (cd binutils && \
 122             PKG_CONFIG_LIBDIR="" \
 123             STRAP=$(STRAP) \
 124             $(MAKE) DESTDIR=$(DESTDIR) install)
 125 
 126 
 127 $(DESTDIR)/usr/bin/gcc: $(DESTDIR)/usr/gnu/bin/gas
 128         (cd gcc4 && \
 129             PKG_CONFIG_LIBDIR="" \
 130             STRAP=$(STRAP) \
 131             $(MAKE) DESTDIR=$(DESTDIR) install)
 132 
 133 $(SUBDIRS): $(DESTDIR)/usr/bin/gcc
 134         (cd $@ && \
 135             PKG_CONFIG_LIBDIR="" \
 136             STRAP=$(STRAP) \
 137             $(MAKE) DESTDIR=$(DESTDIR) install)
 138 
 139 install: $(SUBDIRS) gcc4 binutils
 140 
 141 install_strap: $(STRAP_SUBDIRS) gcc4 binutils
 142 
 143 clean: 
 144         -for dir in $(SUBDIRS) gcc4 binutils; \
 145             do (cd $$dir; $(MAKE) DESTDIR=$(DESTDIR) clean); done
 146         -rm -rf proto
 147 
 148 manifest:
 149         cp manifest $(DESTDIR)/$(DESTNAME)
 150 
 151 tarball:


  57         pbzip2 \
  58         perl \
  59         rsync \
  60         rsyslog \
  61         screen \
  62         socat \
  63         tun \
  64         uuid \
  65         vim \
  66         wget
  67 
  68 STRAP_SUBDIRS = \
  69         cpp \
  70         bzip2 \
  71         libexpat \
  72         libidn \
  73         libm \
  74         libxml \
  75         libz \
  76         make \
  77         node.js \
  78         nss-nspr \
  79         openssl1x \
  80         perl
  81 
  82 NAME =  illumos-extra
  83 
  84 AWK =           $(shell (which gawk 2>/dev/null | grep -v "^no ") || which awk)
  85 BRANCH =        $(shell git symbolic-ref HEAD | $(AWK) -F/ '{print $$3}')
  86 
  87 ifeq ($(TIMESTAMP),)
  88   TIMESTAMP =   $(shell date -u "+%Y%m%dT%H%M%SZ")
  89 endif
  90 
  91 GITDESCRIBE = \
  92         g$(shell git describe --all --long | $(AWK) -F'-g' '{print $$NF}')
  93 
  94 TARBALL =       $(NAME)-$(BRANCH)-$(TIMESTAMP)-$(GITDESCRIBE).tgz
  95 
  96 all: $(SUBDIRS)
  97 


 112 #
 113 # pkg-config may be installed. This will actually only hurt us rather than help
 114 # us. pkg-config is based as a part of the pkgsrc packages and will pull in
 115 # versions of libraries that we have in /opt/local rather than using the ones in
 116 # /usr that we want. PKG_CONFIG_LIBDIR controls the actual path. This
 117 # environment variable nulls out the search path. Other vars just control what
 118 # gets appended.
 119 #
 120 
 121 $(DESTDIR)/usr/gnu/bin/gas: FRC
 122         (cd binutils && \
 123             PKG_CONFIG_LIBDIR="" \
 124             STRAP=$(STRAP) \
 125             $(MAKE) DESTDIR=$(DESTDIR) install)
 126 
 127 
 128 $(DESTDIR)/usr/bin/gcc: $(DESTDIR)/usr/gnu/bin/gas
 129         (cd gcc4 && \
 130             PKG_CONFIG_LIBDIR="" \
 131             STRAP=$(STRAP) \
 132             $(MAKE) DESTDIR=$(DESTDIR) install strapfix)
 133 
 134 $(SUBDIRS): $(DESTDIR)/usr/bin/gcc
 135         (cd $@ && \
 136             PKG_CONFIG_LIBDIR="" \
 137             STRAP=$(STRAP) \
 138             $(MAKE) DESTDIR=$(DESTDIR) install)
 139 
 140 install: $(SUBDIRS) gcc4 binutils
 141 
 142 install_strap: $(STRAP_SUBDIRS) gcc4 binutils
 143 
 144 clean: 
 145         -for dir in $(SUBDIRS) gcc4 binutils; \
 146             do (cd $$dir; $(MAKE) DESTDIR=$(DESTDIR) clean); done
 147         -rm -rf proto
 148 
 149 manifest:
 150         cp manifest $(DESTDIR)/$(DESTNAME)
 151 
 152 tarball: