2008-06-11 18:50:07 -06:00
|
|
|
# Copyright 2009 The Go Authors. All rights reserved.
|
|
|
|
# Use of this source code is governed by a BSD-style
|
|
|
|
# license that can be found in the LICENSE file.
|
|
|
|
|
2010-08-24 18:00:33 -06:00
|
|
|
include ../../Make.inc
|
|
|
|
O:=$(HOST_O)
|
2008-06-11 18:50:07 -06:00
|
|
|
|
2010-08-24 18:00:33 -06:00
|
|
|
TARG=6l
|
2008-06-11 18:50:07 -06:00
|
|
|
|
|
|
|
OFILES=\
|
|
|
|
asm.$O\
|
2010-10-14 21:48:40 -06:00
|
|
|
data.$O\
|
2010-08-18 08:53:22 -06:00
|
|
|
dwarf.$O\
|
2009-08-21 14:08:11 -06:00
|
|
|
elf.$O\
|
2008-10-21 11:40:16 -06:00
|
|
|
enam.$O\
|
|
|
|
go.$O\
|
2010-12-08 11:56:43 -07:00
|
|
|
ldelf.$O\
|
|
|
|
ldmacho.$O\
|
2009-10-07 01:11:59 -06:00
|
|
|
lib.$O\
|
2008-10-21 11:40:16 -06:00
|
|
|
list.$O\
|
2009-09-30 18:33:39 -06:00
|
|
|
macho.$O\
|
2008-06-11 18:50:07 -06:00
|
|
|
obj.$O\
|
|
|
|
optab.$O\
|
|
|
|
pass.$O\
|
2010-10-13 13:51:21 -06:00
|
|
|
prof.$O\
|
2008-06-11 18:50:07 -06:00
|
|
|
span.$O\
|
2010-10-13 13:51:21 -06:00
|
|
|
symtab.$O\
|
2008-06-11 18:50:07 -06:00
|
|
|
|
|
|
|
HFILES=\
|
|
|
|
l.h\
|
|
|
|
../6l/6.out.h\
|
2009-10-07 01:11:59 -06:00
|
|
|
../ld/lib.h\
|
2009-08-21 14:08:11 -06:00
|
|
|
../ld/elf.h\
|
2009-09-30 18:33:39 -06:00
|
|
|
../ld/macho.h\
|
2010-08-18 08:53:22 -06:00
|
|
|
../ld/dwarf.h\
|
2008-06-11 18:50:07 -06:00
|
|
|
|
2010-08-24 18:00:33 -06:00
|
|
|
include ../../Make.ccmd
|
2008-06-11 18:50:07 -06:00
|
|
|
|
|
|
|
enam.c: 6.out.h
|
|
|
|
sh mkenam
|
|
|
|
|
2010-08-24 18:00:33 -06:00
|
|
|
CLEANFILES+=enam.c
|
2009-03-31 01:20:07 -06:00
|
|
|
|
2009-10-07 01:11:59 -06:00
|
|
|
%.$O: ../ld/%.c
|
2010-08-24 18:00:33 -06:00
|
|
|
$(HOST_CC) $(HOST_CFLAGS) -c -I. ../ld/$*.c
|