pass machinemoduleinfo down into getSymbolForDwarfGlobalReference,
[llvm/avr.git] / utils / unittest / googletest / Makefile
blob2e0bf72a62a1681078ffd6335e9536e16cbd166a
1 ##===- utils/unittest/googletest/Makefile ------------------*- Makefile -*-===##
3 # The LLVM Compiler Infrastructure
5 # This file is distributed under the University of Illinois Open Source
6 # License. See LICENSE.TXT for details.
8 ##===----------------------------------------------------------------------===##
10 LEVEL := ../../..
11 include $(LEVEL)/Makefile.config
12 NO_MISSING_FIELD_INITIALIZERS := $(shell $(CXX) -Wno-missing-field-initializers -fsyntax-only -xc /dev/null 2>/dev/null && echo -Wno-missing-field-initializers)
13 NO_VARIADIC_MACROS := $(shell $(CXX) -Wno-variadic-macros -fsyntax-only -xc /dev/null 2>/dev/null && echo -Wno-variadic-macros)
16 LIBRARYNAME = GoogleTest
17 BUILD_ARCHIVE = 1
18 CPP.Flags += -I$(LLVM_SRC_ROOT)/utils/unittest/googletest/include
19 CPP.Flags += $(NO_MISSING_FIELD_INITIALIZERS) $(NO_VARIADIC_MACROS)
21 ifeq ($(HOST_OS),MingW)
22 CPP.Flags += -DGTEST_OS_WINDOWS=1
23 endif
25 NO_INSTALL = 1
27 include $(LEVEL)/Makefile.common