126 # gets appended.
127 #
128
129 $(DESTDIR)/usr/gnu/bin/gas: FRC
130 (cd binutils && \
131 PKG_CONFIG_LIBDIR="" \
132 STRAP=$(STRAP) \
133 $(MAKE) DESTDIR=$(DESTDIR) install)
134
135
136 $(DESTDIR)/usr/bin/gcc: $(DESTDIR)/usr/gnu/bin/gas
137 (cd gcc4 && \
138 PKG_CONFIG_LIBDIR="" \
139 STRAP=$(STRAP) \
140 $(MAKE) DESTDIR=$(DESTDIR) install strapfix)
141
142 $(SUBDIRS): $(DESTDIR)/usr/bin/gcc
143 (cd $@ && \
144 PKG_CONFIG_LIBDIR="" \
145 STRAP=$(STRAP) \
146 $(MAKE) DESTDIR=$(DESTDIR) install)
147
148 install: $(SUBDIRS) gcc4 binutils
149
150 install_strap: $(STRAP_SUBDIRS) gcc4 binutils
151
152 clean:
153 -for dir in $(SUBDIRS) gcc4 binutils; \
154 do (cd $$dir; $(MAKE) DESTDIR=$(DESTDIR) clean); done
155 -rm -rf proto
156
157 manifest:
158 cp manifest $(DESTDIR)/$(DESTNAME)
159
160 tarball:
161 tar -zcf $(TARBALL) manifest proto
162
163 FRC:
164
165 .PHONY: manifest
|
126 # gets appended.
127 #
128
129 $(DESTDIR)/usr/gnu/bin/gas: FRC
130 (cd binutils && \
131 PKG_CONFIG_LIBDIR="" \
132 STRAP=$(STRAP) \
133 $(MAKE) DESTDIR=$(DESTDIR) install)
134
135
136 $(DESTDIR)/usr/bin/gcc: $(DESTDIR)/usr/gnu/bin/gas
137 (cd gcc4 && \
138 PKG_CONFIG_LIBDIR="" \
139 STRAP=$(STRAP) \
140 $(MAKE) DESTDIR=$(DESTDIR) install strapfix)
141
142 $(SUBDIRS): $(DESTDIR)/usr/bin/gcc
143 (cd $@ && \
144 PKG_CONFIG_LIBDIR="" \
145 STRAP=$(STRAP) \
146 CTFMERGE=$(CTFMERGE) \
147 CTFCONVERT=$(CTFCONVERT) \
148 $(MAKE) DESTDIR=$(DESTDIR) install)
149
150 install: $(SUBDIRS) gcc4 binutils
151
152 install_strap: $(STRAP_SUBDIRS) gcc4 binutils
153
154 clean:
155 -for dir in $(SUBDIRS) gcc4 binutils; \
156 do (cd $$dir; $(MAKE) DESTDIR=$(DESTDIR) clean); done
157 -rm -rf proto
158
159 manifest:
160 cp manifest $(DESTDIR)/$(DESTNAME)
161
162 tarball:
163 tar -zcf $(TARBALL) manifest proto
164
165 FRC:
166
167 .PHONY: manifest
|