The Go Programming Language

Text file src/cmd/6l/Makefile

     1	# Copyright 2009 The Go Authors. All rights reserved.
     2	# Use of this source code is governed by a BSD-style
     3	# license that can be found in the LICENSE file.
     4	
     5	include ../../Make.inc
     6	O:=$(HOST_O)
     7	
     8	TARG=6l
     9	
    10	OFILES=\
    11		asm.$O\
    12		data.$O\
    13		dwarf.$O\
    14		elf.$O\
    15		enam.$O\
    16		go.$O\
    17		ldelf.$O\
    18		ldmacho.$O\
    19		ldpe.$O\
    20		lib.$O\
    21		list.$O\
    22		macho.$O\
    23		obj.$O\
    24		optab.$O\
    25		pass.$O\
    26		pe.$O\
    27		prof.$O\
    28		span.$O\
    29		symtab.$O\
    30	
    31	HFILES=\
    32		l.h\
    33		6.out.h\
    34		../ld/lib.h\
    35		../ld/elf.h\
    36		../ld/macho.h\
    37		../ld/dwarf.h\
    38		../ld/pe.h\
    39	
    40	include ../../Make.ccmd
    41	
    42	enam.c: 6.out.h
    43		sh mkenam
    44	
    45	CLEANFILES+=enam.c
    46	
    47	%.$O: ../ld/%.c
    48		$(HOST_CC) $(HOST_CFLAGS) -c -I. ../ld/$*.c

release.r60.3. Except as noted, this content is licensed under a Creative Commons Attribution 3.0 License.