xref: /minix3/external/bsd/llvm/dist/clang/examples/analyzer-plugin/Makefile (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1*f4a2713aSLionel Sambuc##===- examples/analyzer-plugin/Makefile -------------------*- Makefile -*-===##
2*f4a2713aSLionel Sambuc#
3*f4a2713aSLionel Sambuc#                     The LLVM Compiler Infrastructure
4*f4a2713aSLionel Sambuc#
5*f4a2713aSLionel Sambuc# This file is distributed under the University of Illinois Open Source
6*f4a2713aSLionel Sambuc# License. See LICENSE.TXT for details.
7*f4a2713aSLionel Sambuc#
8*f4a2713aSLionel Sambuc##===----------------------------------------------------------------------===##
9*f4a2713aSLionel Sambuc
10*f4a2713aSLionel SambucCLANG_LEVEL := ../..
11*f4a2713aSLionel SambucLIBRARYNAME = SampleAnalyzerPlugin
12*f4a2713aSLionel Sambuc
13*f4a2713aSLionel SambucLINK_LIBS_IN_SHARED = 0
14*f4a2713aSLionel SambucLOADABLE_MODULE = 1
15*f4a2713aSLionel Sambuc
16*f4a2713aSLionel Sambucinclude $(CLANG_LEVEL)/Makefile
17*f4a2713aSLionel Sambuc
18*f4a2713aSLionel Sambucifeq ($(OS),Darwin)
19*f4a2713aSLionel Sambuc  LDFLAGS=-Wl,-undefined,dynamic_lookup
20*f4a2713aSLionel Sambucendif
21