comparison make/solaris/makefiles/sparcWorks.make @ 1983:c760f78e0a53

7003125: precompiled.hpp is included when precompiled headers are not used Summary: Added an ifndef DONT_USE_PRECOMPILED_HEADER to precompiled.hpp. Set up DONT_USE_PRECOMPILED_HEADER when compiling with Sun Studio or when the user specifies USE_PRECOMPILED_HEADER=0. Fixed broken include dependencies. Reviewed-by: coleenp, kvn
author stefank
date Wed, 01 Dec 2010 15:04:06 +0100
parents f95d63e2154a
children 5781ed5f1865
comparison
equal deleted inserted replaced
1982:6a2d73358ff7 1983:c760f78e0a53
148 # Flags for creating the dependency files. 148 # Flags for creating the dependency files.
149 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1) 149 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1)
150 DEPFLAGS = -xMMD -xMF $(DEP_DIR)/$(@:%=%.d) 150 DEPFLAGS = -xMMD -xMF $(DEP_DIR)/$(@:%=%.d)
151 endif 151 endif
152 152
153 # -DDONT_USE_PRECOMPILED_HEADER will exclude all includes in precompiled.hpp.
154 CFLAGS += -DDONT_USE_PRECOMPILED_HEADER
155
153 ################################################ 156 ################################################
154 # Begin current (>=5.9) Forte compiler options # 157 # Begin current (>=5.9) Forte compiler options #
155 ################################################# 158 #################################################
156 159
157 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1) 160 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1)