diff make/linux/makefiles/sparcWorks.make @ 1972:f95d63e2154a

6989984: Use standard include model for Hospot Summary: Replaced MakeDeps and the includeDB files with more standardized solutions. Reviewed-by: coleenp, kvn, kamg
author stefank
date Tue, 23 Nov 2010 13:22:55 -0800
parents c18cbe5936b8
children c760f78e0a53
line wrap: on
line diff
--- a/make/linux/makefiles/sparcWorks.make	Tue Nov 23 15:01:43 2010 -0500
+++ b/make/linux/makefiles/sparcWorks.make	Tue Nov 23 13:22:55 2010 -0800
@@ -74,6 +74,11 @@
 OPT_CFLAGS+=-xO4
 OPT_CFLAGS/NOOPT=-xO0
 
+# Flags for creating the dependency files.
+ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1)
+DEPFLAGS = -xMMD -xMF $(DEP_DIR)/$(@:%=%.d)
+endif
+
 #------------------------------------------------------------------------
 # Linker flags