2 export USE_APPLE_PB_SUPPORT
= all
6 ifneq "clang" "$(notdir $(CC))"
7 GCC_FLAGS
= -Wall
$(X_CFLAGS
)
10 USE_DEPENDENCY_FILE
:= $(shell if
[ "$(notdir $(CC))" != "clang" ] && \
11 [ "$(RC_XBS)" != "YES" ]; then \
12 echo YES
; else echo NO
; \
16 SDK
= -isysroot
$(SDKROOT
)
17 CC
= $(shell xcrun
-find
-sdk
$(SDKROOT
) cc)
19 CFLAGS
= $(OFLAG
) -g
-I
$(SRCROOT
) -I
$(SRCROOT
)/..
/include -I
$(OFILE_DIR
) \
20 $(GCC_FLAGS
) -DNeXT_MOD
$(SDK
)
22 LIBSTUFF_DIR
= -L
$(SYMROOT
)/..
/..
/libstuff
25 ifneq "" "$(wildcard /bin/mkdirs)"
28 MKDIRS
= /bin
/mkdir
-p
34 SYM_DIRS
= $(SYMROOT
)/driver_dir \
38 $(SYMROOT
)/ax86_64_dir \
40 $(SYMROOT
)/appc64_dir \
42 $(SYMROOT
)/ahppa_dir \
43 $(SYMROOT
)/asparc_dir \
46 OFILE_DIRS
= $(OBJROOT
)/driver_dir \
50 $(OBJROOT
)/ax86_64_dir \
52 $(OBJROOT
)/appc64_dir \
54 $(OBJROOT
)/ahppa_dir \
55 $(OBJROOT
)/asparc_dir \
60 ifeq "macos" "$(RC_OS)"
61 LIBDIR
= /usr
/libexec
/as
62 LOCLIBDIR
= /usr
/local
/libexec
/as
65 LOCLIBDIR
= /usr
/local
/libexec
69 CFILES
= app.c
as.c atof-generic.c atof-ieee.c expr.c fixes.c flonum-const.c \
70 flonum-copy.c flonum-mult.c frags.c hash.c hex-value.c input-file.c \
71 input-scrub.c layout.c messages.c obstack.c read.c sections.c \
72 symbols.c write_object.c xmalloc.c
$(DWARF
)
79 CFILES_hppa
= hppa.c hppa-aux.c
80 CFILES_sparc
= sparc.c
83 HFILES
= app.h
as.h atof-ieee.h bignum.h expr.h fixes.h flonum.h frags.h \
84 hash.h hex_value.h i386-opcode.h i386.h i860-opcode.h input-file.h \
85 input-scrub.h layout.h m68k-opcode.h m88k-opcode.h ppc-opcode.h md.h \
86 messages.h obstack.h read.h relax.h sections.h struc-symbol.h \
87 symbols.h write_object.h xmalloc.h hppa-aux.h hppa-opcode.h \
88 sparc-opcode.h arch64_32.h dwarf2dbg.h filenames.h arm_reloc.h
90 CHECK_FILES
= m68k-check.c m88k-check.c i860-check.c i386-check.c ppc-check.c \
91 hppa-check.c sparc-check.c arm-check.c
93 INSTALL_FILES
= Makefile notes
$(CFILES
) $(CFILES_m68k
) $(CFILES_m88k
) \
94 $(CFILES_i860
) $(CFILES_i386
) $(CFILES_ppc
) $(CFILES_hppa
) \
95 $(CFILES_sparc
) $(CFILES_arm
) $(HFILES
) $(CHECK_FILES
) \
96 driver.c COPYING cctools.plist
98 OBJS
= $(CFILES
:.c
=.o
) apple_version.o
99 OBJS_m68k
= $(CFILES_m68k
:.c
=.o
)
100 OBJS_m88k
= $(CFILES_m88k
:.c
=.o
)
101 OBJS_i860
= $(CFILES_i860
:.c
=.o
)
102 OBJS_i386
= $(CFILES_i386
:.c
=.o
)
103 OBJS_ppc
= $(CFILES_ppc
:.c
=.o
)
104 OBJS_hppa
= $(CFILES_hppa
:.c
=.o
)
105 OBJS_sparc
= $(CFILES_sparc
:.c
=.o
)
106 OBJS_arm
= $(CFILES_arm
:.c
=.o
)
108 all: $(OFILE_DIRS
) $(SYM_DIRS
) driver_build a68_build a88_build a386_build \
109 ax86_64_build a860_build appc_build appc64_build ahppa_build \
110 aarm_build asparc_build
112 all_test
: a68_test a88_test a860_test a386_test appc_test ahppa_test
114 driver_build
: $(OBJROOT
)/driver_dir
115 @if
[ $(SRCROOT
) = .
]; \
117 cd driver_dir
; $(MAKE
) -f ..
/Makefile driver VPATH
=.. \
118 CFLAGS
="-g -Os -I../../include $(GCC_FLAGS) $(SDK)" \
119 VERS_STRING_FLAGS
="$(VERS_STRING_FLAGS)" OFILE_DIR
=. \
120 RC_FLAGS
="$(RC_CFLAGS)" DEP_DIR
=driver_dir
; \
122 cd
$(OBJROOT
)/driver_dir
; $(MAKE
) -f
$(SRCROOT
)/Makefile \
123 driver VPATH
=$(SRCROOT
) OFILE_DIR
=$(OBJROOT
)/driver_dir \
124 SYMROOT
=$(SYMROOT
)/driver_dir SRCROOT
=$(SRCROOT
) \
125 CFLAGS
="-g -Os -I$(SRCROOT)/../include $(GCC_FLAGS) $(SDK)" \
126 VERS_STRING_FLAGS
="$(VERS_STRING_FLAGS)" \
127 RC_FLAGS
="$(RC_CFLAGS)" DEP_DIR
=driver_dir
; \
130 a68_build
: $(OBJROOT
)/a68_dir
131 @if
[ $(SRCROOT
) = .
]; \
133 cd a68_dir
; $(MAKE
) -f ..
/Makefile
as VPATH
=.. OFILE_DIR
=. \
134 SRCROOT
=.. TARGET_OBJS
="$(OBJS_m68k)" DEP_DIR
=a68_dir \
135 VERS_STRING_FLAGS
="$(VERS_STRING_FLAGS)" OFLAG
=$(OFLAG
) \
136 RC_CFLAGS
="$(RC_CFLAGS)" \
137 COPTS
="-DM68K -DBUILTIN_MMUS"; \
139 cd
$(OBJROOT
)/a68_dir
; $(MAKE
) -f
$(SRCROOT
)/Makefile
as \
140 VPATH
=$(SRCROOT
) OFILE_DIR
=$(OBJROOT
)/a68_dir \
141 SYMROOT
=$(SYMROOT
)/a68_dir SRCROOT
=$(SRCROOT
) \
142 TARGET_OBJS
="$(OBJS_m68k)" \
143 COPTS
="-DM68K -DBUILTIN_MMUS" \
144 VERS_STRING_FLAGS
="$(VERS_STRING_FLAGS)" \
145 RC_CFLAGS
="$(RC_CFLAGS)" DEP_DIR
=a68_dir
; \
149 cd a68_dir
; $(MAKE
) -f ..
/Makefile m68k-check VPATH
=.. OFILE_DIR
=. \
150 SRCROOT
=.. COPTS
="-DM68K -DBUILTIN_MMUS"
151 cd a68_dir
; $(MAKE
) -f ..
/Makefile
test
153 a88_build
: $(OBJROOT
)/a88_dir
154 @if
[ $(SRCROOT
) = .
]; \
156 cd a88_dir
; $(MAKE
) -f ..
/Makefile
as VPATH
=.. OFILE_DIR
=. \
157 SRCROOT
=.. TARGET_OBJS
="$(OBJS_m88k)" DEP_DIR
=a88_dir \
158 VERS_STRING_FLAGS
="$(VERS_STRING_FLAGS)" OFLAG
=$(OFLAG
) \
159 COPTS
="-DM88K -Dm88110" RCFLAGS
=$(RCFLAGS
); \
161 cd
$(OBJROOT
)/a88_dir
; $(MAKE
) -f
$(SRCROOT
)/Makefile
as \
162 VPATH
=$(SRCROOT
) OFILE_DIR
=$(OBJROOT
)/a88_dir \
163 SYMROOT
=$(SYMROOT
)/a88_dir SRCROOT
=$(SRCROOT
) \
164 TARGET_OBJS
="$(OBJS_m88k)" COPTS
="-DM88K -Dm88110" \
165 VERS_STRING_FLAGS
="$(VERS_STRING_FLAGS)" \
166 RC_CFLAGS
="$(RC_CFLAGS)" DEP_DIR
=a88_dir
; \
170 cd a88_dir
; $(MAKE
) -f ..
/Makefile m88k-check VPATH
=.. OFILE_DIR
=. \
171 SRCROOT
=.. COPTS
="-DM88K -Dm88110"
172 cd a88_dir
; $(MAKE
) -f ..
/Makefile
test
174 a386_build
: $(OBJROOT
)/a386_dir
175 @if
[ $(SRCROOT
) = .
]; \
177 cd a386_dir
; $(MAKE
) -f ..
/Makefile
as VPATH
=.. OFILE_DIR
=. \
178 SRCROOT
=.. TARGET_OBJS
="$(OBJS_i386)" DEP_DIR
=a386_dir \
179 VERS_STRING_FLAGS
="$(VERS_STRING_FLAGS)" OFLAG
=$(OFLAG
) \
180 COPTS
="-DI386 -Di486 -Di586 -Di686" \
181 RC_CFLAGS
="$(RC_CFLAGS)"; \
183 cd
$(OBJROOT
)/a386_dir
; $(MAKE
) -f
$(SRCROOT
)/Makefile
as \
184 VPATH
=$(SRCROOT
) OFILE_DIR
=$(OBJROOT
)/a386_dir \
185 SYMROOT
=$(SYMROOT
)/a386_dir SRCROOT
=$(SRCROOT
) \
186 TARGET_OBJS
="$(OBJS_i386)" \
187 COPTS
="-DI386 -Di486 -Di586 -Di686" \
188 VERS_STRING_FLAGS
="$(VERS_STRING_FLAGS)" \
189 RC_CFLAGS
="$(RC_CFLAGS)" DEP_DIR
=a386_dir
; \
193 cd a386_dir
; $(MAKE
) -f ..
/Makefile i386-check VPATH
=.. OFILE_DIR
=. \
194 SRCROOT
=.. COPTS
="-DI386 -Di486 -Di586 -Di686"
195 cd a386_dir
; $(MAKE
) -f ..
/Makefile
test
198 ax86_64_build
: $(OBJROOT
)/ax86_64_dir
199 @if
[ $(SRCROOT
) = .
]; \
201 cd ax86_64_dir
; $(MAKE
) -f ..
/Makefile
as VPATH
=.. OFILE_DIR
=. \
202 SRCROOT
=.. TARGET_OBJS
="$(OBJS_i386)" DEP_DIR
=ax86_64_dir \
203 VERS_STRING_FLAGS
="$(VERS_STRING_FLAGS)" OFLAG
=$(OFLAG
) \
204 COPTS
="-DI386 -Di486 -Di586 -Di686 -DARCH64" \
205 RC_CFLAGS
="$(RC_CFLAGS)" LIBSTUFF
="-lstuff"; \
207 cd
$(OBJROOT
)/ax86_64_dir
; $(MAKE
) -f
$(SRCROOT
)/Makefile
as \
208 VPATH
=$(SRCROOT
) OFILE_DIR
=$(OBJROOT
)/ax86_64_dir \
209 SYMROOT
=$(SYMROOT
)/ax86_64_dir SRCROOT
=$(SRCROOT
) \
210 TARGET_OBJS
="$(OBJS_i386)" LIBSTUFF
="-lstuff" \
211 COPTS
="-DI386 -Di486 -Di586 -Di686 -DARCH64" \
212 VERS_STRING_FLAGS
="$(VERS_STRING_FLAGS)" \
213 RC_CFLAGS
="$(RC_CFLAGS)" DEP_DIR
=ax86_64_dir
; \
216 ax86_64_test
: ax86_64_dir
217 cd ax86_64_dir
; $(MAKE
) -f ..
/Makefile x86_64-check VPATH
=.. \
218 OFILE_DIR
=. SRCROOT
=.. COPTS
="-DI386 -Di486 -Di586 -Di686 -DARCH64"
219 cd ax86_64_dir
; $(MAKE
) -f ..
/Makefile
test
221 a860_build
: $(OBJROOT
)/a860_dir
222 @if
[ $(SRCROOT
) = .
]; \
224 cd a860_dir
; $(MAKE
) -f ..
/Makefile
as VPATH
=.. OFILE_DIR
=. \
225 SRCROOT
=.. TARGET_OBJS
="$(OBJS_i860)" DEP_DIR
=a860_dir \
226 VERS_STRING_FLAGS
="$(VERS_STRING_FLAGS)" OFLAG
=$(OFLAG
) \
227 RC_CFLAGS
="$(RC_CFLAGS)" COPTS
="-DI860"; \
229 cd
$(OBJROOT
)/a860_dir
; $(MAKE
) -f
$(SRCROOT
)/Makefile
as \
230 VPATH
=$(SRCROOT
) OFILE_DIR
=$(OBJROOT
)/a860_dir \
231 SYMROOT
=$(SYMROOT
)/a860_dir SRCROOT
=$(SRCROOT
) \
232 TARGET_OBJS
="$(OBJS_i860)" COPTS
="-DI860" \
233 VERS_STRING_FLAGS
="$(VERS_STRING_FLAGS)" \
234 RC_CFLAGS
="$(RC_CFLAGS)" DEP_DIR
=a860_dir
; \
238 cd a860_dir
; $(MAKE
) -f ..
/Makefile i860-check VPATH
=.. OFILE_DIR
=. \
239 SRCROOT
=.. COPTS
="-DI860"
240 cd a860_dir
; $(MAKE
) -f ..
/Makefile
test ASFLAGS
=-W
242 appc_build
: $(OBJROOT
)/appc_dir
243 @if
[ $(SRCROOT
) = .
]; \
245 cd appc_dir
; $(MAKE
) -f ..
/Makefile
as VPATH
=.. OFILE_DIR
=. \
246 SRCROOT
=.. TARGET_OBJS
="$(OBJS_ppc)" DEP_DIR
=appc_dir \
247 VERS_STRING_FLAGS
="$(VERS_STRING_FLAGS)" OFLAG
=$(OFLAG
) \
248 RC_CFLAGS
="$(RC_CFLAGS)" COPTS
="-DPPC"; \
250 cd
$(OBJROOT
)/appc_dir
; $(MAKE
) -f
$(SRCROOT
)/Makefile
as \
251 VPATH
=$(SRCROOT
) OFILE_DIR
=$(OBJROOT
)/appc_dir \
252 SYMROOT
=$(SYMROOT
)/appc_dir SRCROOT
=$(SRCROOT
) \
253 TARGET_OBJS
="$(OBJS_ppc)" COPTS
="-DPPC" \
254 VERS_STRING_FLAGS
="$(VERS_STRING_FLAGS)" \
255 RC_CFLAGS
="$(RC_CFLAGS)" DEP_DIR
=appc_dir
; \
258 appc64_build
: $(OBJROOT
)/appc64_dir
259 @if
[ $(SRCROOT
) = .
]; \
261 cd appc64_dir
; $(MAKE
) -f ..
/Makefile
as VPATH
=.. OFILE_DIR
=. \
262 SRCROOT
=.. TARGET_OBJS
="$(OBJS_ppc)" DEP_DIR
=appc64_dir \
263 VERS_STRING_FLAGS
="$(VERS_STRING_FLAGS)" \
264 RC_CFLAGS
="$(RC_CFLAGS)" OFLAG
=$(OFLAG
) \
265 COPTS
="-DPPC -DARCH64" LIBSTUFF
="-lstuff"; \
267 cd
$(OBJROOT
)/appc64_dir
; $(MAKE
) -f
$(SRCROOT
)/Makefile
as \
268 VPATH
=$(SRCROOT
) OFILE_DIR
=$(OBJROOT
)/appc64_dir \
269 SYMROOT
=$(SYMROOT
)/appc64_dir SRCROOT
=$(SRCROOT
) \
270 TARGET_OBJS
="$(OBJS_ppc)" COPTS
="-DPPC -DARCH64" \
271 VERS_STRING_FLAGS
="$(VERS_STRING_FLAGS)" \
272 RC_CFLAGS
="$(RC_CFLAGS)" DEP_DIR
=appc64_dir \
273 LIBSTUFF
="-lstuff"; \
277 cd appc_dir
; $(MAKE
) -f ..
/Makefile ppc-check VPATH
=.. OFILE_DIR
=. \
278 SRCROOT
=.. COPTS
="-DPPC"
279 cd appc_dir
; $(MAKE
) -f ..
/Makefile
test
281 ahppa_build
: $(OBJROOT
)/ahppa_dir
282 @if
[ $(SRCROOT
) = .
]; \
284 cd ahppa_dir
; $(MAKE
) -f ..
/Makefile
as VPATH
=.. OFILE_DIR
=.\
285 SRCROOT
=.. TARGET_OBJS
="$(OBJS_hppa)" DEP_DIR
=ahppa_dir \
286 VERS_STRING_FLAGS
="$(VERS_STRING_FLAGS)" OFLAG
=$(OFLAG
) \
287 RC_CFLAGS
="$(RC_CFLAGS)" COPTS
="-DHPPA"; \
289 cd
$(OBJROOT
)/ahppa_dir
; $(MAKE
) -f
$(SRCROOT
)/Makefile
as \
290 VPATH
=$(SRCROOT
) OFILE_DIR
=$(OBJROOT
)/ahppa_dir \
291 SYMROOT
=$(SYMROOT
)/ahppa_dir SRCROOT
=$(SRCROOT
) \
292 TARGET_OBJS
="$(OBJS_hppa)" COPTS
="-DHPPA" \
293 VERS_STRING_FLAGS
="$(VERS_STRING_FLAGS)" \
294 RC_CFLAGS
="$(RC_CFLAGS)" DEP_DIR
=ahppa_dir
; \
297 ahppa_test
: ahppa_dir
298 cd ahppa_dir
; $(MAKE
) -f ..
/Makefile hppa-check VPATH
=.. OFILE_DIR
=. \
299 SRCROOT
=.. COPTS
="-DHPPA"
300 cd ahppa_dir
; $(MAKE
) -f ..
/Makefile
test
302 asparc_build
: $(OBJROOT
)/asparc_dir
303 @if
[ $(SRCROOT
) = .
]; \
305 cd asparc_dir
; $(MAKE
) -f ..
/Makefile
as VPATH
=.. OFILE_DIR
=.\
306 SRCROOT
=.. TARGET_OBJS
="$(OBJS_sparc)" DEP_DIR
=asparc_dir\
307 VERS_STRING_FLAGS
="$(VERS_STRING_FLAGS)" OFLAG
=$(OFLAG
) \
308 RC_CFLAGS
="$(RC_CFLAGS)" COPTS
="-DSPARC"; \
310 cd
$(OBJROOT
)/asparc_dir
; $(MAKE
) -f
$(SRCROOT
)/Makefile
as \
311 VPATH
=$(SRCROOT
) OFILE_DIR
=$(OBJROOT
)/asparc_dir \
312 SYMROOT
=$(SYMROOT
)/asparc_dir SRCROOT
=$(SRCROOT
) \
313 TARGET_OBJS
="$(OBJS_sparc)" COPTS
="-DSPARC" \
314 VERS_STRING_FLAGS
="$(VERS_STRING_FLAGS)" \
315 RC_CFLAGS
="$(RC_CFLAGS)" DEP_DIR
=asparc_dir
; \
318 asparc_test
: asparc_dir
319 cd asparc_dir
; $(MAKE
) -f ..
/Makefile sparc-check VPATH
=.. \
320 OFILE_DIR
=. SRCROOT
=.. COPTS
="-DSPARC"
321 cd asparc_dir
; $(MAKE
) -f ..
/Makefile
test
323 aarm_build
: $(OBJROOT
)/aarm_dir
324 @if
[ $(SRCROOT
) = .
]; \
326 cd aarm_dir
; $(MAKE
) -f ..
/Makefile
as VPATH
=.. OFILE_DIR
=. \
327 SRCROOT
=.. TARGET_OBJS
="$(OBJS_arm)" DEP_DIR
=aarm_dir \
328 VERS_STRING_FLAGS
="$(VERS_STRING_FLAGS)" OFLAG
=$(OFLAG
) \
329 RC_CFLAGS
="$(RC_CFLAGS)" COPTS
="-DARM"; \
331 cd
$(OBJROOT
)/aarm_dir
; $(MAKE
) -f
$(SRCROOT
)/Makefile
as \
332 VPATH
=$(SRCROOT
) OFILE_DIR
=$(OBJROOT
)/aarm_dir \
333 SYMROOT
=$(SYMROOT
)/aarm_dir SRCROOT
=$(SRCROOT
) \
334 TARGET_OBJS
="$(OBJS_arm)" COPTS
="-DARM" \
335 VERS_STRING_FLAGS
="$(VERS_STRING_FLAGS)" \
336 RC_CFLAGS
="$(RC_CFLAGS)" DEP_DIR
=aarm_dir
; \
340 cd aarm_dir
; $(MAKE
) -f ..
/Makefile arm-check VPATH
=.. \
341 OFILE_DIR
=. SRCROOT
=.. COPTS
="-DARM"
342 cd aarm_dir
; $(MAKE
) -f ..
/Makefile
test
344 driver
: driver.o apple_version.o
345 $(CC
) $(RC_CFLAGS
) $(SDK
) -o
$(SYMROOT
)/driver \
346 $(OFILE_DIR
)/driver.o
$(OFILE_DIR
)/apple_version.o \
347 $(LIBSTUFF_DIR
) $(LIBSTUFF
)
349 as: $(OBJS
) $(TARGET_OBJS
)
350 $(CC
) $(RC_CFLAGS
) -nostdlib
-r \
351 -o
$(SYMROOT
)/as.private.o
$(OBJS
) $(TARGET_OBJS
) \
352 $(LIBSTUFF_DIR
) $(LIBSTUFF
)
353 $(CC
) $(RC_CFLAGS
) $(SDK
) -o
$(SYMROOT
)/as $(SYMROOT
)/as.private.o
356 $(CC
) $(COPTS
) $(CFLAGS
) -o
check ..
/m68k-check.c
359 $(CC
) $(COPTS
) $(CFLAGS
) -o
check ..
/m88k-check.c
362 $(CC
) $(COPTS
) $(CFLAGS
) -o
check ..
/i386-check.c
365 $(CC
) $(COPTS
) $(CFLAGS
) -DARCH64
-o
check ..
/i386-check.c
368 $(CC
) $(COPTS
) $(CFLAGS
) -o
check ..
/i860-check.c
371 $(CC
) $(COPTS
) $(CFLAGS
) -o
check ..
/ppc-check.c
374 $(CC
) $(COPTS
) $(CFLAGS
) -o
check ..
/hppa-check.c
377 $(CC
) $(COPTS
) $(CFLAGS
) -o
check ..
/sparc-check.c
380 $(CC
) $(COPTS
) $(CFLAGS
) -o
check ..
/arm-check.c
383 .
/check $(LLVM_MC
) > check.s
384 .
/as -W
-force_cpusubtype_ALL
$(ASFLAGS
) -o
check.o
check.s
385 otool
-X
-tV
$(LLVM_MC
) check.o
> check1.s
386 .
/as -force_cpusubtype_ALL
$(ASFLAGS
) -o check1.o check1.s
387 otool
-X
-tV
$(LLVM_MC
) check1.o
> check2.s
388 diff check1.s check2.s
> check.out
392 echo
"const char apple_version[]= " \"`vers_string $(VERS_STRING_FLAGS) -f cctools`\" ";" > \
395 ifeq "NO" "$(USE_DEPENDENCY_FILE)"
397 $(CC
) $(COPTS
) $(CFLAGS
) $(RC_CFLAGS
) -c
-o
$(OFILE_DIR
)/$*.o
$<
400 $(CC
) $(COPTS
) $(CFLAGS
) $(RC_CFLAGS
) -c
-MD \
401 -dependency-file
$(OFILE_DIR
)/$*.d
-o
$(OFILE_DIR
)/$*.o
$<
402 md
-d
-u
$(OFILE_DIR
)/Makedep
$(OFILE_DIR
)/$*.d
406 -rm -r
-f
$(OFILE_DIRS
) make.out
408 installsrc installGASsrc
:
411 gnutar cf
- $(INSTALL_FILES
) |
(cd
$(SRCROOT
); gnutar xf
-)
412 chmod
444 $(SRCROOT
)/*
414 install: all $(RC_OS
)_install
416 macos_install
: common_install xcommon_install
417 $(MKDIRS
) $(DSTROOT
)$(LIBDIR
)/i386
418 install -c
-s
-m
555 $(SYMROOT
)/a386_dir
/as \
419 $(DSTROOT
)$(LIBDIR
)/i386
/as
420 $(MKDIRS
) $(DSTROOT
)$(LIBDIR
)/x86_64
421 install -c
-s
-m
555 $(SYMROOT
)/ax86_64_dir
/as \
422 $(DSTROOT
)$(LIBDIR
)/x86_64
/as
424 teflon_install
: common_install xcommon_install
425 $(MKDIRS
) $(DSTROOT
)$(LIBDIR
)/i386
426 install -c
-s
-m
555 $(SYMROOT
)/a386_dir
/as \
427 $(DSTROOT
)$(LIBDIR
)/i386
/as
430 $(MKDIRS
) $(DSTROOT
)$(USRBINDIR
)
431 install -c
-s
-m
555 $(SYMROOT
)/driver_dir
/driver \
432 $(DSTROOT
)$(USRBINDIR
)/as
433 $(MKDIRS
) $(DSTROOT
)/usr
/local
/OpenSourceVersions
/
434 install -c
-s
-m
444 $(SRCROOT
)/cctools.plist \
435 $(DSTROOT
)/usr
/local
/OpenSourceVersions
/cctools.plist
436 $(MKDIRS
) $(DSTROOT
)/usr
/local
/OpenSourceLicenses
/
437 install -c
-s
-m
444 $(SRCROOT
)/COPYING \
438 $(DSTROOT
)/usr
/local
/OpenSourceLicenses
/cctools.txt
439 $(MKDIRS
) $(DSTROOT
)$(LOCLIBDIR
)/ppc
440 install -c
-s
-m
555 $(SYMROOT
)/appc_dir
/as \
441 $(DSTROOT
)$(LOCLIBDIR
)/ppc
/as
442 $(MKDIRS
) $(DSTROOT
)$(LOCLIBDIR
)/ppc64
443 install -c
-s
-m
555 $(SYMROOT
)/appc64_dir
/as \
444 $(DSTROOT
)$(LOCLIBDIR
)/ppc64
/as
445 $(MKDIRS
) $(DSTROOT
)$(LOCLIBDIR
)/m68k
446 install -c
-s
-m
555 $(SYMROOT
)/a68_dir
/as \
447 $(DSTROOT
)$(LOCLIBDIR
)/m68k
/as
448 $(MKDIRS
) $(DSTROOT
)$(LOCLIBDIR
)/sparc
449 install -c
-s
-m
555 $(SYMROOT
)/asparc_dir
/as \
450 $(DSTROOT
)$(LOCLIBDIR
)/sparc
/as
451 $(MKDIRS
) $(DSTROOT
)$(LIBDIR
)/arm
452 install -c
-s
-m
555 $(SYMROOT
)/aarm_dir
/as \
453 $(DSTROOT
)$(LIBDIR
)/arm
/as
455 nextstep_install
: common_install
456 $(MKDIRS
) $(DSTROOT
)$(BINDIR
)
457 install -c
-s
-m
555 $(SYMROOT
)/driver_dir
/driver \
458 $(DSTROOT
)$(BINDIR
)/as
459 $(MKDIRS
) $(DSTROOT
)$(LIBDIR
)/m68k
460 install -c
-s
-m
555 $(SYMROOT
)/a68_dir
/as \
461 $(DSTROOT
)$(LIBDIR
)/m68k
/as
462 $(MKDIRS
) $(DSTROOT
)$(LIBDIR
)/i386
463 install -c
-s
-m
555 $(SYMROOT
)/a386_dir
/as \
464 $(DSTROOT
)$(LIBDIR
)/i386
/as
465 $(MKDIRS
) $(DSTROOT
)$(LIBDIR
)/sparc
466 install -c
-s
-m
555 $(SYMROOT
)/asparc_dir
/as \
467 $(DSTROOT
)$(LIBDIR
)/sparc
/as
468 $(MKDIRS
) $(DSTROOT
)$(LOCLIBDIR
)/ppc
469 install -c
-s
-m
555 $(SYMROOT
)/appc_dir
/as \
470 $(DSTROOT
)$(LOCLIBDIR
)/ppc
/as
473 $(MKDIRS
) $(DSTROOT
)$(LOCLIBDIR
)/m88k
474 install -c
-s
-m
555 $(SYMROOT
)/a88_dir
/as \
475 $(DSTROOT
)$(LOCLIBDIR
)/m88k
/as
476 $(MKDIRS
) $(DSTROOT
)$(LOCLIBDIR
)/hppa
477 install -c
-s
-m
555 $(SYMROOT
)/ahppa_dir
/as \
478 $(DSTROOT
)$(LOCLIBDIR
)/hppa
/as
479 $(MKDIRS
) $(DSTROOT
)$(LOCLIBDIR
)/i860
480 install -s
-m
555 $(SYMROOT
)/a860_dir
/as \
481 $(DSTROOT
)$(LOCLIBDIR
)/i860
/as
483 $(OFILE_DIRS
) $(SYM_DIRS
):
486 -include $(DEP_DIR
)/Makedep