Remove / use flags that are now set in the Makefile.config.
[oota-llvm.git] / utils / unittest / googletest / Makefile
1 ##===- utils/unittest/googletest/Makefile ------------------*- Makefile -*-===##
2 #
3 #                     The LLVM Compiler Infrastructure
4 #
5 # This file is distributed under the University of Illinois Open Source
6 # License. See LICENSE.TXT for details.
7 #
8 ##===----------------------------------------------------------------------===##
9
10 LEVEL := ../../..
11
12 include $(LEVEL)/Makefile.config
13
14 LIBRARYNAME = GoogleTest
15 BUILD_ARCHIVE = 1
16 CPP.Flags += -I$(LLVM_SRC_ROOT)/utils/unittest/googletest/include
17 CPP.Flags += $(NO_MISSING_FIELD_INITIALIZERS) $(NO_VARIADIC_MACROS)
18
19 ifeq ($(HOST_OS),MingW)
20   CPP.Flags += -DGTEST_OS_WINDOWS=1
21 endif
22
23 NO_INSTALL = 1
24
25 include $(LEVEL)/Makefile.common