Module Name: src Committed By: joerg Date: Wed Feb 27 21:25:14 UTC 2013
Modified Files: src/distrib/sets: sets.subr src/distrib/sets/lists/comp: mi src/external/bsd/llvm: Makefile Makefile.inc link.mk src/external/bsd/llvm/bin: Makefile src/external/bsd/llvm/lib: Makefile src/share/mk: bsd.own.mk src/tools: Makefile Added Files: src/external/bsd/llvm/bin/llvm-mcld: Makefile src/external/bsd/llvm/config/mclinker/mcld/Config: Config.h Linkers.def Targets.def src/external/bsd/llvm/lib/libMCLinkerADT: Makefile src/external/bsd/llvm/lib/libMCLinkerARMCodeGen: Makefile src/external/bsd/llvm/lib/libMCLinkerARMTargetInfo: Makefile src/external/bsd/llvm/lib/libMCLinkerCodeGen: Makefile src/external/bsd/llvm/lib/libMCLinkerCore: Makefile src/external/bsd/llvm/lib/libMCLinkerFragment: Makefile src/external/bsd/llvm/lib/libMCLinkerLD: Makefile src/external/bsd/llvm/lib/libMCLinkerMC: Makefile src/external/bsd/llvm/lib/libMCLinkerMipsCodeGen: Makefile src/external/bsd/llvm/lib/libMCLinkerMipsTargetInfo: Makefile src/external/bsd/llvm/lib/libMCLinkerObject: Makefile src/external/bsd/llvm/lib/libMCLinkerSupport: Makefile src/external/bsd/llvm/lib/libMCLinkerTarget: Makefile src/external/bsd/llvm/lib/libMCLinkerX86CodeGen: Makefile src/external/bsd/llvm/lib/libMCLinkerX86TargetInfo: Makefile src/tools/llvm-lib/libMCLinkerADT: Makefile src/tools/llvm-lib/libMCLinkerARMCodeGen: Makefile src/tools/llvm-lib/libMCLinkerARMTargetInfo: Makefile src/tools/llvm-lib/libMCLinkerCodeGen: Makefile src/tools/llvm-lib/libMCLinkerCore: Makefile src/tools/llvm-lib/libMCLinkerFragment: Makefile src/tools/llvm-lib/libMCLinkerLD: Makefile src/tools/llvm-lib/libMCLinkerMC: Makefile src/tools/llvm-lib/libMCLinkerMipsCodeGen: Makefile src/tools/llvm-lib/libMCLinkerMipsTargetInfo: Makefile src/tools/llvm-lib/libMCLinkerObject: Makefile src/tools/llvm-lib/libMCLinkerSupport: Makefile src/tools/llvm-lib/libMCLinkerTarget: Makefile src/tools/llvm-lib/libMCLinkerX86CodeGen: Makefile src/tools/llvm-lib/libMCLinkerX86TargetInfo: Makefile src/tools/llvm-mcld: Makefile Log Message: Add infrastructure for building MCLinker. To generate a diff of this commit: cvs rdiff -u -r1.144 -r1.145 src/distrib/sets/sets.subr cvs rdiff -u -r1.1806 -r1.1807 src/distrib/sets/lists/comp/mi cvs rdiff -u -r1.2 -r1.3 src/external/bsd/llvm/Makefile \ src/external/bsd/llvm/link.mk cvs rdiff -u -r1.46 -r1.47 src/external/bsd/llvm/Makefile.inc cvs rdiff -u -r1.7 -r1.8 src/external/bsd/llvm/bin/Makefile cvs rdiff -u -r0 -r1.1 src/external/bsd/llvm/bin/llvm-mcld/Makefile cvs rdiff -u -r0 -r1.1 \ src/external/bsd/llvm/config/mclinker/mcld/Config/Config.h \ src/external/bsd/llvm/config/mclinker/mcld/Config/Linkers.def \ src/external/bsd/llvm/config/mclinker/mcld/Config/Targets.def cvs rdiff -u -r1.28 -r1.29 src/external/bsd/llvm/lib/Makefile cvs rdiff -u -r0 -r1.1 src/external/bsd/llvm/lib/libMCLinkerADT/Makefile cvs rdiff -u -r0 -r1.1 \ src/external/bsd/llvm/lib/libMCLinkerARMCodeGen/Makefile cvs rdiff -u -r0 -r1.1 \ src/external/bsd/llvm/lib/libMCLinkerARMTargetInfo/Makefile cvs rdiff -u -r0 -r1.1 src/external/bsd/llvm/lib/libMCLinkerCodeGen/Makefile cvs rdiff -u -r0 -r1.1 src/external/bsd/llvm/lib/libMCLinkerCore/Makefile cvs rdiff -u -r0 -r1.1 src/external/bsd/llvm/lib/libMCLinkerFragment/Makefile cvs rdiff -u -r0 -r1.1 src/external/bsd/llvm/lib/libMCLinkerLD/Makefile cvs rdiff -u -r0 -r1.1 src/external/bsd/llvm/lib/libMCLinkerMC/Makefile cvs rdiff -u -r0 -r1.1 \ src/external/bsd/llvm/lib/libMCLinkerMipsCodeGen/Makefile cvs rdiff -u -r0 -r1.1 \ src/external/bsd/llvm/lib/libMCLinkerMipsTargetInfo/Makefile cvs rdiff -u -r0 -r1.1 src/external/bsd/llvm/lib/libMCLinkerObject/Makefile cvs rdiff -u -r0 -r1.1 src/external/bsd/llvm/lib/libMCLinkerSupport/Makefile cvs rdiff -u -r0 -r1.1 src/external/bsd/llvm/lib/libMCLinkerTarget/Makefile cvs rdiff -u -r0 -r1.1 \ src/external/bsd/llvm/lib/libMCLinkerX86CodeGen/Makefile cvs rdiff -u -r0 -r1.1 \ src/external/bsd/llvm/lib/libMCLinkerX86TargetInfo/Makefile cvs rdiff -u -r1.724 -r1.725 src/share/mk/bsd.own.mk cvs rdiff -u -r1.167 -r1.168 src/tools/Makefile cvs rdiff -u -r0 -r1.1 src/tools/llvm-lib/libMCLinkerADT/Makefile cvs rdiff -u -r0 -r1.1 src/tools/llvm-lib/libMCLinkerARMCodeGen/Makefile cvs rdiff -u -r0 -r1.1 src/tools/llvm-lib/libMCLinkerARMTargetInfo/Makefile cvs rdiff -u -r0 -r1.1 src/tools/llvm-lib/libMCLinkerCodeGen/Makefile cvs rdiff -u -r0 -r1.1 src/tools/llvm-lib/libMCLinkerCore/Makefile cvs rdiff -u -r0 -r1.1 src/tools/llvm-lib/libMCLinkerFragment/Makefile cvs rdiff -u -r0 -r1.1 src/tools/llvm-lib/libMCLinkerLD/Makefile cvs rdiff -u -r0 -r1.1 src/tools/llvm-lib/libMCLinkerMC/Makefile cvs rdiff -u -r0 -r1.1 src/tools/llvm-lib/libMCLinkerMipsCodeGen/Makefile cvs rdiff -u -r0 -r1.1 src/tools/llvm-lib/libMCLinkerMipsTargetInfo/Makefile cvs rdiff -u -r0 -r1.1 src/tools/llvm-lib/libMCLinkerObject/Makefile cvs rdiff -u -r0 -r1.1 src/tools/llvm-lib/libMCLinkerSupport/Makefile cvs rdiff -u -r0 -r1.1 src/tools/llvm-lib/libMCLinkerTarget/Makefile cvs rdiff -u -r0 -r1.1 src/tools/llvm-lib/libMCLinkerX86CodeGen/Makefile cvs rdiff -u -r0 -r1.1 src/tools/llvm-lib/libMCLinkerX86TargetInfo/Makefile cvs rdiff -u -r0 -r1.1 src/tools/llvm-mcld/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/distrib/sets/sets.subr diff -u src/distrib/sets/sets.subr:1.144 src/distrib/sets/sets.subr:1.145 --- src/distrib/sets/sets.subr:1.144 Fri Feb 15 19:49:48 2013 +++ src/distrib/sets/sets.subr Wed Feb 27 21:25:05 2013 @@ -1,4 +1,4 @@ -# $NetBSD: sets.subr,v 1.144 2013/02/15 19:49:48 jmmv Exp $ +# $NetBSD: sets.subr,v 1.145 2013/02/27 21:25:05 joerg Exp $ # # @@ -179,7 +179,7 @@ SUBST="${SUBST};s#@MACHINE@#${MACHINE}#g # In each file, a record consists of a path and a System Package name, # separated by whitespace. E.g., # -# # $NetBSD: sets.subr,v 1.144 2013/02/15 19:49:48 jmmv Exp $ +# # $NetBSD: sets.subr,v 1.145 2013/02/27 21:25:05 joerg Exp $ # . base-sys-root [keyword[,...]] # ./altroot base-sys-root # ./bin base-sys-root @@ -234,6 +234,7 @@ SUBST="${SUBST};s#@MACHINE@#${MACHINE}#g # man ${MKMAN} != no # manpages ${MKMANPAGES} != no # manz ${MKMANZ} != no +# mclinker ${MKMCLINKER} != no # mdns ${MKMDNS} != no # nls ${MKNLS} != no # nvi ${MKNVI} != no Index: src/distrib/sets/lists/comp/mi diff -u src/distrib/sets/lists/comp/mi:1.1806 src/distrib/sets/lists/comp/mi:1.1807 --- src/distrib/sets/lists/comp/mi:1.1806 Fri Feb 22 15:14:29 2013 +++ src/distrib/sets/lists/comp/mi Wed Feb 27 21:25:06 2013 @@ -1,4 +1,4 @@ -# $NetBSD: mi,v 1.1806 2013/02/22 15:14:29 jmmv Exp $ +# $NetBSD: mi,v 1.1807 2013/02/27 21:25:06 joerg Exp $ # # Note: don't delete entries from here - mark them as "obsolete" instead. # @@ -47,6 +47,7 @@ ./usr/bin/gettext comp-c-bin ./usr/bin/gettextize comp-obsolete obsolete ./usr/bin/gprof comp-debug-bin binutils +./usr/bin/ld.mcld comp-c-bin mclinker ./usr/bin/lex comp-c-bin ./usr/bin/lint comp-c-bin ./usr/bin/llvm-tblgen comp-c-bin llvm Index: src/external/bsd/llvm/Makefile diff -u src/external/bsd/llvm/Makefile:1.2 src/external/bsd/llvm/Makefile:1.3 --- src/external/bsd/llvm/Makefile:1.2 Sun Jun 17 16:51:31 2012 +++ src/external/bsd/llvm/Makefile Wed Feb 27 21:25:08 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2012/06/17 16:51:31 joerg Exp $ +# $NetBSD: Makefile,v 1.3 2013/02/27 21:25:08 joerg Exp $ .include <bsd.init.mk> @@ -20,4 +20,12 @@ checkout: svn co -r ${COMPILER_RT_REVISION} ${SVN_ROOT}/compiler-rt/trunk \ ${COMPILER_RT_SRCDIR} +checkout-mclinker: + if [ -d ${MCLINKER_SRCDIR}/.git ]; then \ + cd ${MCLINKER_SRCDIR}; git pull ${MCLINKER_ROOT} ; \ + else \ + git clone ${MCLINKER_ROOT} ${MCLINKER_SRCDIR}; \ + fi + cd ${MCLINKER_SRCDIR} && git checkout ${MCLINKER_REVISION} + .include <bsd.subdir.mk> Index: src/external/bsd/llvm/link.mk diff -u src/external/bsd/llvm/link.mk:1.2 src/external/bsd/llvm/link.mk:1.3 --- src/external/bsd/llvm/link.mk:1.2 Thu May 31 18:53:33 2012 +++ src/external/bsd/llvm/link.mk Wed Feb 27 21:25:08 2013 @@ -1,4 +1,4 @@ -# $NetBSD: link.mk,v 1.2 2012/05/31 18:53:33 joerg Exp $ +# $NetBSD: link.mk,v 1.3 2013/02/27 21:25:08 joerg Exp $ .include <bsd.own.mk> @@ -8,6 +8,12 @@ LIB_BASE= ${NETBSDSRCDIR}/tools/llvm-lib LIB_BASE= ${LLVM_TOPLEVEL}/lib .endif +.for l in ${MCLINKER_LIBS} +MCLINKER_OBJDIR.${l}!= cd ${LIB_BASE}/libMCLinker${l} && ${PRINTOBJDIR} +LDADD+= -L${MCLINKER_OBJDIR.${l}} -lMCLinker${l} +DPADD+= ${MCLINKER_OBJDIR.${l}}/libMCLinker${l}.a +.endfor + .for l in ${CLANG_LIBS} CLANG_OBJDIR.${l}!= cd ${LIB_BASE}/lib${l} && ${PRINTOBJDIR} LDADD+= -L${CLANG_OBJDIR.${l}} -l${l} Index: src/external/bsd/llvm/Makefile.inc diff -u src/external/bsd/llvm/Makefile.inc:1.46 src/external/bsd/llvm/Makefile.inc:1.47 --- src/external/bsd/llvm/Makefile.inc:1.46 Tue Feb 19 12:35:41 2013 +++ src/external/bsd/llvm/Makefile.inc Wed Feb 27 21:25:08 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.inc,v 1.46 2013/02/19 12:35:41 joerg Exp $ +# $NetBSD: Makefile.inc,v 1.47 2013/02/27 21:25:08 joerg Exp $ .if !defined(LLVM_TOPLEVEL_MK) LLVM_TOPLEVEL_MK= @@ -12,21 +12,27 @@ LLVM_REVISION= ${COMMON_REVISION} CLANG_REVISION= ${COMMON_REVISION} COMPILER_RT_REVISION= ${COMMON_REVISION} +MCLINKER_REVISION= a5d978e2561fe37b84aa18b83cbd5fff8b6475a0 +MCLINKER_ROOT= https://code.google.com/p/mclinker/ + LLVM_VERSION= 3.3 CLANG_VERSION= 3.3 LLVM_SRCDIR:= ${.PARSEDIR}/dist/llvm CLANG_SRCDIR:= ${.PARSEDIR}/dist/clang COMPILER_RT_SRCDIR:= ${.PARSEDIR}/dist/compiler-rt +MCLINKER_SRCDIR:= ${.PARSEDIR}/dist/mclinker LLVM_TOPLEVEL:= ${.PARSEDIR} CPPFLAGS+= -I. -I${LLVM_SRCDIR}/include -I${CLANG_SRCDIR}/include \ + -I${MCLINKER_SRCDIR}/include \ -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS \ -D__STDC_FORMAT_MACROS .if defined(HOSTLIB) || defined(HOSTPROG) LLVM_INCLUDE_CONFIG= ${LLVM_TOOLCONF_OBJDIR}/config/include CLANG_INCLUDE_CONFIG= ${LLVM_TOOLCONF_OBJDIR}/config/tools/clang/include +MCLINKER_INCLUDE_CONFIG= ${LLVM_TOPLEVEL}/config/mclinker LLVM_INCLUDE_OBJDIR!= cd ${NETBSDSRCDIR}/tools/llvm-include && ${PRINTOBJDIR} LLVM_TOOLCONF_OBJDIR!= cd ${NETBSDSRCDIR}/tools/llvm && ${PRINTOBJDIR} HOST_CPPFLAGS+= ${CPPFLAGS} @@ -34,12 +40,13 @@ HOST_CXXFLAGS+= -O2 -g -fno-rtti -fno-ex .else LLVM_INCLUDE_CONFIG= ${LLVM_TOPLEVEL}/config CLANG_INCLUDE_CONFIG= ${LLVM_TOPLEVEL}/config +MCLINKER_INCLUDE_CONFIG= ${LLVM_TOPLEVEL}/config/mclinker LLVM_INCLUDE_OBJDIR!= cd ${LLVM_TOPLEVEL}/include && ${PRINTOBJDIR} CXXFLAGS+= -fno-rtti -fno-exceptions .endif CPPFLAGS+= -I${LLVM_INCLUDE_OBJDIR} -I${LLVM_INCLUDE_CONFIG} \ - -I${CLANG_INCLUDE_CONFIG} + -I${CLANG_INCLUDE_CONFIG} -I${MCLINKER_INCLUDE_CONFIG} LLVM_CONFIGURE_ARGS= \ --enable-targets=x86,powerpc,sparc,aarch64,arm,mips \ Index: src/external/bsd/llvm/bin/Makefile diff -u src/external/bsd/llvm/bin/Makefile:1.7 src/external/bsd/llvm/bin/Makefile:1.8 --- src/external/bsd/llvm/bin/Makefile:1.7 Wed Jan 23 15:02:54 2013 +++ src/external/bsd/llvm/bin/Makefile Wed Feb 27 21:25:08 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2013/01/23 15:02:54 joerg Exp $ +# $NetBSD: Makefile,v 1.8 2013/02/27 21:25:08 joerg Exp $ .include <bsd.own.mk> @@ -6,6 +6,11 @@ SUBDIR= clang \ clang-tblgen \ tblgen +.if ${MKMCLINKER} != "no" +SUBDIR+= \ + llvm-mcld +.endif + .if defined(LLVM_DEVELOPER) SUBDIR+= \ bugpoint \ Index: src/external/bsd/llvm/lib/Makefile diff -u src/external/bsd/llvm/lib/Makefile:1.28 src/external/bsd/llvm/lib/Makefile:1.29 --- src/external/bsd/llvm/lib/Makefile:1.28 Tue Feb 19 12:35:42 2013 +++ src/external/bsd/llvm/lib/Makefile Wed Feb 27 21:25:09 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.28 2013/02/19 12:35:42 joerg Exp $ +# $NetBSD: Makefile,v 1.29 2013/02/27 21:25:09 joerg Exp $ .include <bsd.own.mk> @@ -118,4 +118,25 @@ SUBDIR+= \ libclangTooling .endif +.if ${MKMCLINKER} != "no" +SUBDIR+= \ + libMCLinkerADT \ + libMCLinkerCodeGen \ + libMCLinkerCore \ + libMCLinkerFragment \ + libMCLinkerLD \ + libMCLinkerMC \ + libMCLinkerObject \ + libMCLinkerSupport \ + libMCLinkerTarget + +SUBDIR+= \ + libMCLinkerARMCodeGen libMCLinkerARMTargetInfo +SUBDIR+= \ + libMCLinkerMipsCodeGen libMCLinkerMipsTargetInfo +SUBDIR+= \ + libMCLinkerX86CodeGen libMCLinkerX86TargetInfo + +.endif + .include <bsd.subdir.mk> Index: src/share/mk/bsd.own.mk diff -u src/share/mk/bsd.own.mk:1.724 src/share/mk/bsd.own.mk:1.725 --- src/share/mk/bsd.own.mk:1.724 Fri Feb 15 19:49:49 2013 +++ src/share/mk/bsd.own.mk Wed Feb 27 21:25:08 2013 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.own.mk,v 1.724 2013/02/15 19:49:49 jmmv Exp $ +# $NetBSD: bsd.own.mk,v 1.725 2013/02/27 21:25:08 joerg Exp $ # This needs to be before bsd.init.mk .if defined(BSD_MK_COMPAT_FILE) @@ -891,7 +891,7 @@ _MKVARS.no= \ MKCATPAGES MKCRYPTO_RC5 MKDEBUG \ MKDEBUGLIB MKDTRACE MKEXTSRC \ MKKYUA \ - MKMANZ MKOBJDIRS \ + MKMANZ MKMCLINKER MKOBJDIRS \ MKLLVM MKPCC \ MKPIGZGZIP \ MKREPRO \ Index: src/tools/Makefile diff -u src/tools/Makefile:1.167 src/tools/Makefile:1.168 --- src/tools/Makefile:1.167 Tue Feb 5 07:27:02 2013 +++ src/tools/Makefile Wed Feb 27 21:25:11 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.167 2013/02/05 07:27:02 matt Exp $ +# $NetBSD: Makefile,v 1.168 2013/02/27 21:25:11 joerg Exp $ .include <bsd.own.mk> .include <bsd.endian.mk> @@ -132,6 +132,9 @@ SUBDIR+= \ llvm-include .WAIT \ llvm-lib .WAIT \ llvm-clang +.if ${MKMCLINKER} != "no" +SUBDIR+= llvm-mcld +.endif .endif .if ${MKMAN} != "no" || ${MKDOC} != "no" || ${MKHTML} != "no" Added files: Index: src/external/bsd/llvm/bin/llvm-mcld/Makefile diff -u /dev/null src/external/bsd/llvm/bin/llvm-mcld/Makefile:1.1 --- /dev/null Wed Feb 27 21:25:14 2013 +++ src/external/bsd/llvm/bin/llvm-mcld/Makefile Wed Feb 27 21:25:08 2013 @@ -0,0 +1,76 @@ +# $NetBSD: Makefile,v 1.1 2013/02/27 21:25:08 joerg Exp $ + +PROG_CXX= ld.mcld +NOMAN= yes + +.include <bsd.init.mk> + +.PATH: ${MCLINKER_SRCDIR}/tools/llvm-mcld + +SRCS= llvm-mcld.cpp + +MCLINKER_LIBS+= \ + ARMTargetInfo \ + ARMCodeGen \ + MipsTargetInfo \ + MipsCodeGen \ + X86TargetInfo \ + X86CodeGen \ + Target \ + CodeGen \ + Core \ + Object \ + Fragment \ + MC \ + ADT \ + Support \ + LD \ + +LLVM_LIBS+= \ + AsmParser \ + BitReader \ + AArch64CodeGen \ + AArch64TargetInfo \ + AArch64AsmParser \ + AArch64MCTargetDesc \ + AArch64AsmPrinter \ + AArch64Utils \ + ARMCodeGen \ + ARMTargetInfo \ + ARMAsmParser \ + ARMMCTargetDesc \ + ARMAsmPrinter \ + MipsCodeGen \ + MipsTargetInfo \ + MipsAsmParser \ + MipsDisassembler \ + MipsMCTargetDesc \ + MipsAsmPrinter \ + PowerPCCodeGen \ + PowerPCTargetInfo \ + PowerPCMCTargetDesc \ + PowerPCAsmPrinter \ + SparcCodeGen \ + SparcTargetInfo \ + SparcMCTargetDesc \ + X86CodeGen \ + X86TargetInfo \ + X86MCTargetDesc \ + X86AsmParser \ + X86AsmPrinter \ + X86Utils \ + SelectionDAG \ + CodeGen \ + Target \ + ScalarOpts \ + TransformsUtils \ + Analysis \ + AsmPrinter \ + MCParser \ + MC \ + IR \ + Support + +.include "${.PARSEDIR}/../../link.mk" + +.include <bsd.prog.mk> Index: src/external/bsd/llvm/config/mclinker/mcld/Config/Config.h diff -u /dev/null src/external/bsd/llvm/config/mclinker/mcld/Config/Config.h:1.1 --- /dev/null Wed Feb 27 21:25:14 2013 +++ src/external/bsd/llvm/config/mclinker/mcld/Config/Config.h Wed Feb 27 21:25:08 2013 @@ -0,0 +1,108 @@ +/* include/mcld/Config/Config.h. Generated from Config.h.in by configure. */ +/* include/mcld/Config/Config.h.in. Generated from configure.ac by autoheader. */ + + +//===- Config.h.in --------------------------------------------------------===// +// +// The MCLinker Project +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +#ifndef MCLD_CONFIG_H +#define MCLD_CONFIG_H + + +/* Define to 1 if you have the <dlfcn.h> header file. */ +#define HAVE_DLFCN_H 1 + +/* Define to 1 if you have the <fcntl.h> header file. */ +#define HAVE_FCNTL_H 1 + +/* Define to 1 if you have the <inttypes.h> header file. */ +#define HAVE_INTTYPES_H 1 + +/* Define to 1 if you have the <memory.h> header file. */ +#define HAVE_MEMORY_H 1 + +/* Define if you have POSIX threads libraries and header files. */ +#define HAVE_PTHREAD 1 + +/* Define to 1 if you have the <stdint.h> header file. */ +#define HAVE_STDINT_H 1 + +/* Define to 1 if you have the <stdlib.h> header file. */ +#define HAVE_STDLIB_H 1 + +/* Define to 1 if you have the <strings.h> header file. */ +#define HAVE_STRINGS_H 1 + +/* Define to 1 if you have the <string.h> header file. */ +#define HAVE_STRING_H 1 + +/* Define to 1 if you have the <sys/stat.h> header file. */ +#define HAVE_SYS_STAT_H 1 + +/* Define to 1 if you have the <sys/types.h> header file. */ +#define HAVE_SYS_TYPES_H 1 + +/* Define to 1 if you have the <unistd.h> header file. */ +#define HAVE_UNISTD_H 1 + +/* Define to the sub-directory in which libtool stores uninstalled libraries. + */ +#define LT_OBJDIR ".libs/" + +/* Define if this is Unixish platform */ +#define MCLD_ON_UNIX 1 + +/* Define if this is Win32ish platform */ +/* #undef MCLD_ON_WIN32 */ + +/* MCLINKER version */ +#define MCLD_VERSION "2.1.0.0-NanHu" + +/* Name of package */ +#define PACKAGE "mclinker" + +/* Define to the address where bug reports for this package should be sent. */ +#define PACKAGE_BUGREPORT "mclin...@googlegroups.com" + +/* Define to the full name of this package. */ +#define PACKAGE_NAME "MCLinker" + +/* Define to the full name and version of this package. */ +#define PACKAGE_STRING "MCLinker NanHu" + +/* Define to the one symbol short name of this package. */ +#define PACKAGE_TARNAME "mclinker" + +/* Define to the home page for this package. */ +#define PACKAGE_URL "" + +/* Define to the version of this package. */ +#define PACKAGE_VERSION "NanHu" + +/* Define to necessary symbol if this constant uses a non-standard name on + your system. */ +/* #undef PTHREAD_CREATE_JOINABLE */ + +/* Define to 1 if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* Define for standalone Android linker */ +/* #undef TARGET_BUILD */ + +/* Version number of package */ +#define VERSION "NanHu" + + +#define MCLD_REGION_CHUNK_SIZE 32 +#define MCLD_NUM_OF_INPUTS 32 +#define MCLD_SECTIONS_PER_INPUT 16 +#define MCLD_SYMBOLS_PER_INPUT 128 +#define MCLD_RELOCATIONS_PER_INPUT 1024 + +#endif + Index: src/external/bsd/llvm/config/mclinker/mcld/Config/Linkers.def diff -u /dev/null src/external/bsd/llvm/config/mclinker/mcld/Config/Linkers.def:1.1 --- /dev/null Wed Feb 27 21:25:14 2013 +++ src/external/bsd/llvm/config/mclinker/mcld/Config/Linkers.def Wed Feb 27 21:25:08 2013 @@ -0,0 +1,28 @@ +//===- llvm/Config/Linkers.def - MCLinkers ----------------------*- C++ -*-===// +// +// The MCLinker Project +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// This file enumerates all of the linkers supported by this build of MCLinker. +// Clients of this file should define the MCLD_LINKER macro to be a function-like +// macro with a single parameter (the name of the target whose exe/dso can be +// generated); including this file will then enumerate all of the targets with +// linkers. +// +// The set of targets supported by MCLD is generated at configuration +// time, at which point this header is generated. Do not modify this +// header directly. +// +//===----------------------------------------------------------------------===// + +#ifndef MCLD_LINKER +# error Please define the macro MCLD_LINKER(TargetName) +#endif + +MCLD_LINKER(Mips) MCLD_LINKER(ARM) MCLD_LINKER(X86) + +#undef MCLD_LINKER Index: src/external/bsd/llvm/config/mclinker/mcld/Config/Targets.def diff -u /dev/null src/external/bsd/llvm/config/mclinker/mcld/Config/Targets.def:1.1 --- /dev/null Wed Feb 27 21:25:14 2013 +++ src/external/bsd/llvm/config/mclinker/mcld/Config/Targets.def Wed Feb 27 21:25:09 2013 @@ -0,0 +1,28 @@ +/*===- llvm/Config/Targets.def - MCLD Target Architectures ------*- C++ -*-===*\ +|* *| +|* The MCLinker Project *| +|* *| +|* This file is distributed under the University of Illinois Open Source *| +|* License. See LICENSE.TXT for details. *| +|* *| +|*===----------------------------------------------------------------------===*| +|* *| +|* This file enumerates all of the target architectures supported by *| +|* this build of MCLD. Clients of this file should define the *| +|* MCLD_TARGET macro to be a function-like macro with a single *| +|* parameter (the name of the target); including this file will then *| +|* enumerate all of the targets. *| +|* *| +|* The set of targets supported by MCLD is generated at configuration *| +|* time, at which point this header is generated. Do not modify this *| +|* header directly. *| +|* *| +\*===----------------------------------------------------------------------===*/ + +#ifndef MCLD_TARGET +# error Please define the macro MCLD_TARGET(TargetName) +#endif + +MCLD_TARGET(Mips) MCLD_TARGET(ARM) MCLD_TARGET(X86) + +#undef MCLD_TARGET Index: src/external/bsd/llvm/lib/libMCLinkerADT/Makefile diff -u /dev/null src/external/bsd/llvm/lib/libMCLinkerADT/Makefile:1.1 --- /dev/null Wed Feb 27 21:25:14 2013 +++ src/external/bsd/llvm/lib/libMCLinkerADT/Makefile Wed Feb 27 21:25:09 2013 @@ -0,0 +1,15 @@ +# $NetBSD: Makefile,v 1.1 2013/02/27 21:25:09 joerg Exp $ + +LIB= MCLinkerADT + +.include <bsd.init.mk> + +.PATH: ${MCLINKER_SRCDIR}/lib/ADT + +SRCS= StringEntry.cpp + +.if defined(HOSTLIB) +.include <bsd.hostlib.mk> +.else +.include <bsd.lib.mk> +.endif Index: src/external/bsd/llvm/lib/libMCLinkerARMCodeGen/Makefile diff -u /dev/null src/external/bsd/llvm/lib/libMCLinkerARMCodeGen/Makefile:1.1 --- /dev/null Wed Feb 27 21:25:14 2013 +++ src/external/bsd/llvm/lib/libMCLinkerARMCodeGen/Makefile Wed Feb 27 21:25:09 2013 @@ -0,0 +1,28 @@ +# $NetBSD: Makefile,v 1.1 2013/02/27 21:25:09 joerg Exp $ + +LIB= MCLinkerARMCodeGen + +.include <bsd.init.mk> + +.PATH: ${MCLINKER_SRCDIR}/lib/Target/ARM + +SRCS= ARMDiagnostic.cpp \ + ARMELFDynamic.cpp \ + ARMELFMCLinker.cpp \ + ARMEmulation.cpp \ + ARMGOT.cpp \ + ARMLDBackend.cpp \ + ARMMCLinker.cpp \ + ARMPLT.cpp \ + ARMRelocator.cpp \ + ARMTargetMachine.cpp \ + ARMToARMStub.cpp \ + ARMToTHMStub.cpp \ + THMToARMStub.cpp \ + THMToTHMStub.cpp + +.if defined(HOSTLIB) +.include <bsd.hostlib.mk> +.else +.include <bsd.lib.mk> +.endif Index: src/external/bsd/llvm/lib/libMCLinkerARMTargetInfo/Makefile diff -u /dev/null src/external/bsd/llvm/lib/libMCLinkerARMTargetInfo/Makefile:1.1 --- /dev/null Wed Feb 27 21:25:14 2013 +++ src/external/bsd/llvm/lib/libMCLinkerARMTargetInfo/Makefile Wed Feb 27 21:25:09 2013 @@ -0,0 +1,15 @@ +# $NetBSD: Makefile,v 1.1 2013/02/27 21:25:09 joerg Exp $ + +LIB= MCLinkerARMTargetInfo + +.include <bsd.init.mk> + +.PATH: ${MCLINKER_SRCDIR}/lib/Target/ARM/TargetInfo + +SRCS= ARMTargetInfo.cpp + +.if defined(HOSTLIB) +.include <bsd.hostlib.mk> +.else +.include <bsd.lib.mk> +.endif Index: src/external/bsd/llvm/lib/libMCLinkerCodeGen/Makefile diff -u /dev/null src/external/bsd/llvm/lib/libMCLinkerCodeGen/Makefile:1.1 --- /dev/null Wed Feb 27 21:25:14 2013 +++ src/external/bsd/llvm/lib/libMCLinkerCodeGen/Makefile Wed Feb 27 21:25:09 2013 @@ -0,0 +1,16 @@ +# $NetBSD: Makefile,v 1.1 2013/02/27 21:25:09 joerg Exp $ + +LIB= MCLinkerCodeGen + +.include <bsd.init.mk> + +.PATH: ${MCLINKER_SRCDIR}/lib/CodeGen + +SRCS= MCLDTargetMachine.cpp \ + MCLinker.cpp + +.if defined(HOSTLIB) +.include <bsd.hostlib.mk> +.else +.include <bsd.lib.mk> +.endif Index: src/external/bsd/llvm/lib/libMCLinkerCore/Makefile diff -u /dev/null src/external/bsd/llvm/lib/libMCLinkerCore/Makefile:1.1 --- /dev/null Wed Feb 27 21:25:14 2013 +++ src/external/bsd/llvm/lib/libMCLinkerCore/Makefile Wed Feb 27 21:25:09 2013 @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1 2013/02/27 21:25:09 joerg Exp $ + +LIB= MCLinkerCore + +.include <bsd.init.mk> + +.PATH: ${MCLINKER_SRCDIR}/lib/Core + +SRCS= AttributeOption.cpp \ + BitcodeOption.cpp \ + Environment.cpp \ + GeneralOptions.cpp \ + InputTree.cpp \ + IRBuilder.cpp \ + LinkerConfig.cpp \ + Linker.cpp \ + Module.cpp \ + ScriptOptions.cpp \ + TargetOptions.cpp + +.if defined(HOSTLIB) +.include <bsd.hostlib.mk> +.else +.include <bsd.lib.mk> +.endif Index: src/external/bsd/llvm/lib/libMCLinkerFragment/Makefile diff -u /dev/null src/external/bsd/llvm/lib/libMCLinkerFragment/Makefile:1.1 --- /dev/null Wed Feb 27 21:25:14 2013 +++ src/external/bsd/llvm/lib/libMCLinkerFragment/Makefile Wed Feb 27 21:25:10 2013 @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1 2013/02/27 21:25:10 joerg Exp $ + +LIB= MCLinkerFragment + +.include <bsd.init.mk> + +.PATH: ${MCLINKER_SRCDIR}/lib/Fragment + +SRCS= AlignFragment.cpp \ + FillFragment.cpp \ + Fragment.cpp \ + FragmentLinker.cpp \ + FragmentRef.cpp \ + NullFragment.cpp \ + RegionFragment.cpp \ + Relocation.cpp \ + Stub.cpp + +.if defined(HOSTLIB) +.include <bsd.hostlib.mk> +.else +.include <bsd.lib.mk> +.endif Index: src/external/bsd/llvm/lib/libMCLinkerLD/Makefile diff -u /dev/null src/external/bsd/llvm/lib/libMCLinkerLD/Makefile:1.1 --- /dev/null Wed Feb 27 21:25:14 2013 +++ src/external/bsd/llvm/lib/libMCLinkerLD/Makefile Wed Feb 27 21:25:10 2013 @@ -0,0 +1,63 @@ +# $NetBSD: Makefile,v 1.1 2013/02/27 21:25:10 joerg Exp $ + +LIB= MCLinkerLD + +.include <bsd.init.mk> + +.PATH: ${MCLINKER_SRCDIR}/lib/LD + +SRCS= Archive.cpp \ + ArchiveReader.cpp \ + BranchIsland.cpp \ + BranchIslandFactory.cpp \ + BSDArchiveReader.cpp \ + Diagnostic.cpp \ + DiagnosticEngine.cpp \ + DiagnosticInfos.cpp \ + DiagnosticLineInfo.cpp \ + DiagnosticPrinter.cpp \ + DWARFLineInfo.cpp \ + DynObjReader.cpp \ + EhFrame.cpp \ + EhFrameHdr.cpp \ + EhFrameReader.cpp \ + ELFBinaryReader.cpp \ + ELFDynObjFileFormat.cpp \ + ELFDynObjReader.cpp \ + ELFExecFileFormat.cpp \ + ELFFileFormat.cpp \ + ELFObjectReader.cpp \ + ELFObjectWriter.cpp \ + ELFReader.cpp \ + ELFReaderIf.cpp \ + ELFSegment.cpp \ + ELFSegmentFactory.cpp \ + ELFWriter.cpp \ + GNUArchiveReader.cpp \ + GroupReader.cpp \ + LDContext.cpp \ + LDFileFormat.cpp \ + LDReader.cpp \ + LDSection.cpp \ + LDSymbol.cpp \ + LDWriter.cpp \ + MsgHandler.cpp \ + NamePool.cpp \ + ObjectWriter.cpp \ + RelocationFactory.cpp \ + Relocator.cpp \ + RelocData.cpp \ + ResolveInfo.cpp \ + Resolver.cpp \ + SectionData.cpp \ + SectionRules.cpp \ + SectionSymbolSet.cpp \ + StaticResolver.cpp \ + StubFactory.cpp \ + TextDiagnosticPrinter.cpp + +.if defined(HOSTLIB) +.include <bsd.hostlib.mk> +.else +.include <bsd.lib.mk> +.endif Index: src/external/bsd/llvm/lib/libMCLinkerMC/Makefile diff -u /dev/null src/external/bsd/llvm/lib/libMCLinkerMC/Makefile:1.1 --- /dev/null Wed Feb 27 21:25:14 2013 +++ src/external/bsd/llvm/lib/libMCLinkerMC/Makefile Wed Feb 27 21:25:10 2013 @@ -0,0 +1,27 @@ +# $NetBSD: Makefile,v 1.1 2013/02/27 21:25:10 joerg Exp $ + +LIB= MCLinkerMC + +.include <bsd.init.mk> + +.PATH: ${MCLINKER_SRCDIR}/lib/MC + +SRCS= Attribute.cpp \ + AttributeSet.cpp \ + CommandAction.cpp \ + ContextFactory.cpp \ + FileAction.cpp \ + InputAction.cpp \ + InputBuilder.cpp \ + InputFactory.cpp \ + MCLDDirectory.cpp \ + MCLDInput.cpp \ + SearchDirs.cpp \ + SymbolCategory.cpp \ + ZOption.cpp + +.if defined(HOSTLIB) +.include <bsd.hostlib.mk> +.else +.include <bsd.lib.mk> +.endif Index: src/external/bsd/llvm/lib/libMCLinkerMipsCodeGen/Makefile diff -u /dev/null src/external/bsd/llvm/lib/libMCLinkerMipsCodeGen/Makefile:1.1 --- /dev/null Wed Feb 27 21:25:14 2013 +++ src/external/bsd/llvm/lib/libMCLinkerMipsCodeGen/Makefile Wed Feb 27 21:25:10 2013 @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1 2013/02/27 21:25:10 joerg Exp $ + +LIB= MCLinkerMipsCodeGen + +.include <bsd.init.mk> + +.PATH: ${MCLINKER_SRCDIR}/lib/Target/Mips + +SRCS= MipsDiagnostic.cpp \ + MipsELFDynamic.cpp \ + MipsELFMCLinker.cpp \ + MipsEmulation.cpp \ + MipsGOT.cpp \ + MipsLDBackend.cpp \ + MipsMCLinker.cpp \ + MipsRelocator.cpp \ + MipsTargetMachine.cpp + + +.if defined(HOSTLIB) +.include <bsd.hostlib.mk> +.else +.include <bsd.lib.mk> +.endif Index: src/external/bsd/llvm/lib/libMCLinkerMipsTargetInfo/Makefile diff -u /dev/null src/external/bsd/llvm/lib/libMCLinkerMipsTargetInfo/Makefile:1.1 --- /dev/null Wed Feb 27 21:25:14 2013 +++ src/external/bsd/llvm/lib/libMCLinkerMipsTargetInfo/Makefile Wed Feb 27 21:25:10 2013 @@ -0,0 +1,15 @@ +# $NetBSD: Makefile,v 1.1 2013/02/27 21:25:10 joerg Exp $ + +LIB= MCLinkerMipsTargetInfo + +.include <bsd.init.mk> + +.PATH: ${MCLINKER_SRCDIR}/lib/Target/Mips/TargetInfo + +SRCS= MipsTargetInfo.cpp + +.if defined(HOSTLIB) +.include <bsd.hostlib.mk> +.else +.include <bsd.lib.mk> +.endif Index: src/external/bsd/llvm/lib/libMCLinkerObject/Makefile diff -u /dev/null src/external/bsd/llvm/lib/libMCLinkerObject/Makefile:1.1 --- /dev/null Wed Feb 27 21:25:14 2013 +++ src/external/bsd/llvm/lib/libMCLinkerObject/Makefile Wed Feb 27 21:25:10 2013 @@ -0,0 +1,17 @@ +# $NetBSD: Makefile,v 1.1 2013/02/27 21:25:10 joerg Exp $ + +LIB= MCLinkerObject + +.include <bsd.init.mk> + +.PATH: ${MCLINKER_SRCDIR}/lib/Object + +SRCS= ObjectBuilder.cpp \ + ObjectLinker.cpp \ + SectionMap.cpp + +.if defined(HOSTLIB) +.include <bsd.hostlib.mk> +.else +.include <bsd.lib.mk> +.endif Index: src/external/bsd/llvm/lib/libMCLinkerSupport/Makefile diff -u /dev/null src/external/bsd/llvm/lib/libMCLinkerSupport/Makefile:1.1 --- /dev/null Wed Feb 27 21:25:14 2013 +++ src/external/bsd/llvm/lib/libMCLinkerSupport/Makefile Wed Feb 27 21:25:11 2013 @@ -0,0 +1,33 @@ +# $NetBSD: Makefile,v 1.1 2013/02/27 21:25:11 joerg Exp $ + +LIB= MCLinkerSupport + +.include <bsd.init.mk> + +.PATH: ${MCLINKER_SRCDIR}/lib/Support + +SRCS= CommandLine.cpp \ + Directory.cpp \ + FileHandle.cpp \ + FileSystem.cpp \ + HandleToArea.cpp \ + LEB128.cpp \ + MemoryArea.cpp \ + MemoryAreaFactory.cpp \ + MemoryRegion.cpp \ + MsgHandling.cpp \ + Path.cpp \ + raw_mem_ostream.cpp \ + raw_ostream.cpp \ + RealPath.cpp \ + RegionFactory.cpp \ + Space.cpp \ + SystemUtils.cpp \ + TargetRegistry.cpp \ + ToolOutputFile.cpp + +.if defined(HOSTLIB) +.include <bsd.hostlib.mk> +.else +.include <bsd.lib.mk> +.endif Index: src/external/bsd/llvm/lib/libMCLinkerTarget/Makefile diff -u /dev/null src/external/bsd/llvm/lib/libMCLinkerTarget/Makefile:1.1 --- /dev/null Wed Feb 27 21:25:14 2013 +++ src/external/bsd/llvm/lib/libMCLinkerTarget/Makefile Wed Feb 27 21:25:11 2013 @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1 2013/02/27 21:25:11 joerg Exp $ + +LIB= MCLinkerTarget + +.include <bsd.init.mk> + +.PATH: ${MCLINKER_SRCDIR}/lib/Target + +SRCS= ELFDynamic.cpp \ + ELFEmulation.cpp \ + ELFMCLinker.cpp \ + GNUInfo.cpp \ + GNULDBackend.cpp \ + GOT.cpp \ + OutputRelocSection.cpp \ + PLT.cpp \ + Target.cpp \ + TargetLDBackend.cpp + +.if defined(HOSTLIB) +.include <bsd.hostlib.mk> +.else +.include <bsd.lib.mk> +.endif Index: src/external/bsd/llvm/lib/libMCLinkerX86CodeGen/Makefile diff -u /dev/null src/external/bsd/llvm/lib/libMCLinkerX86CodeGen/Makefile:1.1 --- /dev/null Wed Feb 27 21:25:14 2013 +++ src/external/bsd/llvm/lib/libMCLinkerX86CodeGen/Makefile Wed Feb 27 21:25:11 2013 @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1 2013/02/27 21:25:11 joerg Exp $ + +LIB= MCLinkerX86CodeGen + +.include <bsd.init.mk> + +.PATH: ${MCLINKER_SRCDIR}/lib/Target/X86 + +SRCS= X86Diagnostic.cpp \ + X86ELFDynamic.cpp \ + X86ELFMCLinker.cpp \ + X86Emulation.cpp \ + X86GOT.cpp \ + X86GOTPLT.cpp \ + X86LDBackend.cpp \ + X86MCLinker.cpp \ + X86PLT.cpp \ + X86Relocator.cpp \ + X86TargetMachine.cpp + +.if defined(HOSTLIB) +.include <bsd.hostlib.mk> +.else +.include <bsd.lib.mk> +.endif Index: src/external/bsd/llvm/lib/libMCLinkerX86TargetInfo/Makefile diff -u /dev/null src/external/bsd/llvm/lib/libMCLinkerX86TargetInfo/Makefile:1.1 --- /dev/null Wed Feb 27 21:25:14 2013 +++ src/external/bsd/llvm/lib/libMCLinkerX86TargetInfo/Makefile Wed Feb 27 21:25:11 2013 @@ -0,0 +1,15 @@ +# $NetBSD: Makefile,v 1.1 2013/02/27 21:25:11 joerg Exp $ + +LIB= MCLinkerX86TargetInfo + +.include <bsd.init.mk> + +.PATH: ${MCLINKER_SRCDIR}/lib/Target/X86/TargetInfo + +SRCS= X86TargetInfo.cpp + +.if defined(HOSTLIB) +.include <bsd.hostlib.mk> +.else +.include <bsd.lib.mk> +.endif Index: src/tools/llvm-lib/libMCLinkerADT/Makefile diff -u /dev/null src/tools/llvm-lib/libMCLinkerADT/Makefile:1.1 --- /dev/null Wed Feb 27 21:25:14 2013 +++ src/tools/llvm-lib/libMCLinkerADT/Makefile Wed Feb 27 21:25:11 2013 @@ -0,0 +1,3 @@ +# $NetBSD: Makefile,v 1.1 2013/02/27 21:25:11 joerg Exp $ + +.include <bsd.init.mk> Index: src/tools/llvm-lib/libMCLinkerARMCodeGen/Makefile diff -u /dev/null src/tools/llvm-lib/libMCLinkerARMCodeGen/Makefile:1.1 --- /dev/null Wed Feb 27 21:25:14 2013 +++ src/tools/llvm-lib/libMCLinkerARMCodeGen/Makefile Wed Feb 27 21:25:12 2013 @@ -0,0 +1,3 @@ +# $NetBSD: Makefile,v 1.1 2013/02/27 21:25:12 joerg Exp $ + +.include <bsd.init.mk> Index: src/tools/llvm-lib/libMCLinkerARMTargetInfo/Makefile diff -u /dev/null src/tools/llvm-lib/libMCLinkerARMTargetInfo/Makefile:1.1 --- /dev/null Wed Feb 27 21:25:14 2013 +++ src/tools/llvm-lib/libMCLinkerARMTargetInfo/Makefile Wed Feb 27 21:25:12 2013 @@ -0,0 +1,3 @@ +# $NetBSD: Makefile,v 1.1 2013/02/27 21:25:12 joerg Exp $ + +.include <bsd.init.mk> Index: src/tools/llvm-lib/libMCLinkerCodeGen/Makefile diff -u /dev/null src/tools/llvm-lib/libMCLinkerCodeGen/Makefile:1.1 --- /dev/null Wed Feb 27 21:25:14 2013 +++ src/tools/llvm-lib/libMCLinkerCodeGen/Makefile Wed Feb 27 21:25:12 2013 @@ -0,0 +1,3 @@ +# $NetBSD: Makefile,v 1.1 2013/02/27 21:25:12 joerg Exp $ + +.include <bsd.init.mk> Index: src/tools/llvm-lib/libMCLinkerCore/Makefile diff -u /dev/null src/tools/llvm-lib/libMCLinkerCore/Makefile:1.1 --- /dev/null Wed Feb 27 21:25:14 2013 +++ src/tools/llvm-lib/libMCLinkerCore/Makefile Wed Feb 27 21:25:12 2013 @@ -0,0 +1,3 @@ +# $NetBSD: Makefile,v 1.1 2013/02/27 21:25:12 joerg Exp $ + +.include <bsd.init.mk> Index: src/tools/llvm-lib/libMCLinkerFragment/Makefile diff -u /dev/null src/tools/llvm-lib/libMCLinkerFragment/Makefile:1.1 --- /dev/null Wed Feb 27 21:25:14 2013 +++ src/tools/llvm-lib/libMCLinkerFragment/Makefile Wed Feb 27 21:25:12 2013 @@ -0,0 +1,3 @@ +# $NetBSD: Makefile,v 1.1 2013/02/27 21:25:12 joerg Exp $ + +.include <bsd.init.mk> Index: src/tools/llvm-lib/libMCLinkerLD/Makefile diff -u /dev/null src/tools/llvm-lib/libMCLinkerLD/Makefile:1.1 --- /dev/null Wed Feb 27 21:25:14 2013 +++ src/tools/llvm-lib/libMCLinkerLD/Makefile Wed Feb 27 21:25:12 2013 @@ -0,0 +1,3 @@ +# $NetBSD: Makefile,v 1.1 2013/02/27 21:25:12 joerg Exp $ + +.include <bsd.init.mk> Index: src/tools/llvm-lib/libMCLinkerMC/Makefile diff -u /dev/null src/tools/llvm-lib/libMCLinkerMC/Makefile:1.1 --- /dev/null Wed Feb 27 21:25:14 2013 +++ src/tools/llvm-lib/libMCLinkerMC/Makefile Wed Feb 27 21:25:12 2013 @@ -0,0 +1,3 @@ +# $NetBSD: Makefile,v 1.1 2013/02/27 21:25:12 joerg Exp $ + +.include <bsd.init.mk> Index: src/tools/llvm-lib/libMCLinkerMipsCodeGen/Makefile diff -u /dev/null src/tools/llvm-lib/libMCLinkerMipsCodeGen/Makefile:1.1 --- /dev/null Wed Feb 27 21:25:14 2013 +++ src/tools/llvm-lib/libMCLinkerMipsCodeGen/Makefile Wed Feb 27 21:25:13 2013 @@ -0,0 +1,3 @@ +# $NetBSD: Makefile,v 1.1 2013/02/27 21:25:13 joerg Exp $ + +.include <bsd.init.mk> Index: src/tools/llvm-lib/libMCLinkerMipsTargetInfo/Makefile diff -u /dev/null src/tools/llvm-lib/libMCLinkerMipsTargetInfo/Makefile:1.1 --- /dev/null Wed Feb 27 21:25:14 2013 +++ src/tools/llvm-lib/libMCLinkerMipsTargetInfo/Makefile Wed Feb 27 21:25:13 2013 @@ -0,0 +1,3 @@ +# $NetBSD: Makefile,v 1.1 2013/02/27 21:25:13 joerg Exp $ + +.include <bsd.init.mk> Index: src/tools/llvm-lib/libMCLinkerObject/Makefile diff -u /dev/null src/tools/llvm-lib/libMCLinkerObject/Makefile:1.1 --- /dev/null Wed Feb 27 21:25:14 2013 +++ src/tools/llvm-lib/libMCLinkerObject/Makefile Wed Feb 27 21:25:13 2013 @@ -0,0 +1,3 @@ +# $NetBSD: Makefile,v 1.1 2013/02/27 21:25:13 joerg Exp $ + +.include <bsd.init.mk> Index: src/tools/llvm-lib/libMCLinkerSupport/Makefile diff -u /dev/null src/tools/llvm-lib/libMCLinkerSupport/Makefile:1.1 --- /dev/null Wed Feb 27 21:25:14 2013 +++ src/tools/llvm-lib/libMCLinkerSupport/Makefile Wed Feb 27 21:25:13 2013 @@ -0,0 +1,3 @@ +# $NetBSD: Makefile,v 1.1 2013/02/27 21:25:13 joerg Exp $ + +.include <bsd.init.mk> Index: src/tools/llvm-lib/libMCLinkerTarget/Makefile diff -u /dev/null src/tools/llvm-lib/libMCLinkerTarget/Makefile:1.1 --- /dev/null Wed Feb 27 21:25:14 2013 +++ src/tools/llvm-lib/libMCLinkerTarget/Makefile Wed Feb 27 21:25:13 2013 @@ -0,0 +1,3 @@ +# $NetBSD: Makefile,v 1.1 2013/02/27 21:25:13 joerg Exp $ + +.include <bsd.init.mk> Index: src/tools/llvm-lib/libMCLinkerX86CodeGen/Makefile diff -u /dev/null src/tools/llvm-lib/libMCLinkerX86CodeGen/Makefile:1.1 --- /dev/null Wed Feb 27 21:25:14 2013 +++ src/tools/llvm-lib/libMCLinkerX86CodeGen/Makefile Wed Feb 27 21:25:13 2013 @@ -0,0 +1,3 @@ +# $NetBSD: Makefile,v 1.1 2013/02/27 21:25:13 joerg Exp $ + +.include <bsd.init.mk> Index: src/tools/llvm-lib/libMCLinkerX86TargetInfo/Makefile diff -u /dev/null src/tools/llvm-lib/libMCLinkerX86TargetInfo/Makefile:1.1 --- /dev/null Wed Feb 27 21:25:14 2013 +++ src/tools/llvm-lib/libMCLinkerX86TargetInfo/Makefile Wed Feb 27 21:25:13 2013 @@ -0,0 +1,3 @@ +# $NetBSD: Makefile,v 1.1 2013/02/27 21:25:13 joerg Exp $ + +.include <bsd.init.mk> Index: src/tools/llvm-mcld/Makefile diff -u /dev/null src/tools/llvm-mcld/Makefile:1.1 --- /dev/null Wed Feb 27 21:25:14 2013 +++ src/tools/llvm-mcld/Makefile Wed Feb 27 21:25:14 2013 @@ -0,0 +1,7 @@ +# $NetBSD: Makefile,v 1.1 2013/02/27 21:25:14 joerg Exp $ + +HOSTPROGNAME= ld.mcld +HOSTPROG_CXX= ld.mcld +HOST_SRCDIR= external/bsd/llvm/bin/llvm-mcld + +.include "${.CURDIR}/../Makefile.host"