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