minix/external/bsd/llvm/lib/libLLVMgold/Makefile
Lionel Sambuc 4684ddb6aa LLVM Minix changes
- import libcxx
 - reduce targets to the one when compiled as a tools

Change-Id: Iabb8427f80ff8e89463559a28bcb8b4f2bdbc496
2014-07-28 17:05:59 +02:00

26 lines
510 B
Makefile

# $NetBSD: Makefile,v 1.1 2013/09/29 12:12:00 joerg Exp $
LIB= LLVMgold
.include <bsd.init.mk>
.PATH: ${LLVM_SRCDIR}/tools/gold
SRCS+= gold-plugin.cpp
# LSC: ensure the dynamic module is built
LOADABLE_MODULE:= 1
LINK_COMPONENTS := support
LINK_LIBS_IN_SHARED := 1
SHARED_LIBRARY := 1
EXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/gold.exports
# LIBS += -lLTO
CPPFLAGS+= -I ${NETBSDSRCDIR}/external/gpl3/binutils/dist/include
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif