1# $NetBSD: Makefile,v 1.7 2015/01/29 20:41:37 joerg Exp $ 2 3LIB= lldDriver 4 5.include <bsd.init.mk> 6 7.PATH: ${LLD_SRCDIR}/lib/Driver 8 9SRCS+= CoreDriver.cpp \ 10 DarwinLdDriver.cpp \ 11 Driver.cpp \ 12 DarwinInputGraph.cpp \ 13 GnuLdDriver.cpp \ 14 GnuLdInputGraph.cpp \ 15 UniversalDriver.cpp \ 16 WinLinkDriver.cpp \ 17 WinLinkInputGraph.cpp \ 18 WinLinkModuleDef.cpp 19 20TABLEGEN_SRC= CoreOptions.td DarwinLdOptions.td GnuLdOptions.td \ 21 UniversalDriverOptions.td WinLinkOptions.td 22 23TABLEGEN_OUTPUT.UniversalDriverOptions.td= \ 24 UniversalDriverOptions.inc|-gen-opt-parser-defs 25TABLEGEN_OUTPUT.CoreOptions.td= \ 26 CoreOptions.inc|-gen-opt-parser-defs 27TABLEGEN_OUTPUT.DarwinLdOptions.td= \ 28 DarwinLdOptions.inc|-gen-opt-parser-defs 29TABLEGEN_OUTPUT.GnuLdOptions.td= \ 30 GnuLdOptions.inc|-gen-opt-parser-defs 31TABLEGEN_OUTPUT.WinLinkOptions.td= \ 32 WinLinkOptions.inc|-gen-opt-parser-defs 33 34.include "${.PARSEDIR}/../../tablegen.mk" 35 36.if defined(HOSTLIB) 37.include <bsd.hostlib.mk> 38.else 39.include <bsd.lib.mk> 40.endif 41