Allow 8 bit select in custom inserter
[llvm/msp430.git] / utils / unittest / googletest / Makefile
blob6e262413cc493dad6d180603d149ebe7b09b9b97
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 ($(OS),MingW)
22 CPP.Flags += -DGTEST_OS_WINDOWS=1
23 endif
25 include $(LEVEL)/Makefile.common