version 1.13, 2005/05/12 15:27:28
|
version 1.13.8.1, 2006/02/10 16:09:05
|
|
|
#//%2005//////////////////////////////////////////////////////////////////////// |
#//%2006//////////////////////////////////////////////////////////////////////// |
#// | #// |
#// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development | #// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development |
#// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. | #// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. |
|
|
#// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. | #// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. |
#// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; | #// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
#// EMC Corporation; VERITAS Software Corporation; The Open Group. | #// EMC Corporation; VERITAS Software Corporation; The Open Group. |
|
#// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
|
#// EMC Corporation; Symantec Corporation; The Open Group. |
#// | #// |
#// Permission is hereby granted, free of charge, to any person obtaining a copy | #// Permission is hereby granted, free of charge, to any person obtaining a copy |
#// of this software and associated documentation files (the "Software"), to | #// of this software and associated documentation files (the "Software"), to |
|
|
################################################################################ | ################################################################################ |
| |
ifeq ($(findstring _GNU, $(PEGASUS_PLATFORM)), _GNU) | ifeq ($(findstring _GNU, $(PEGASUS_PLATFORM)), _GNU) |
GCC_VERSION=$(word 3, $(shell $(CXX) --version)) |
|
ifneq ($(GCC_VERSION), 2.9.5) | ifneq ($(GCC_VERSION), 2.9.5) |
_NO_TMP_O=yes | _NO_TMP_O=yes |
endif | endif |
|
|
@ $(TOUCH) $@ | @ $(TOUCH) $@ |
@ $(ECHO) | @ $(ECHO) |
endif | endif |
|
|
|
ifeq ($(_NO_TMP_O), yes) |
|
$(OBJ_DIR)/%.o: %.s $(ERROR) |
|
$(CC) -c -o $@ $(FLAGS) $(EXTRA_C_FLAGS) $(LOCAL_DEFINES) $(DEFINES) $(SYS_INCLUDES) $(INCLUDES) $*.s |
|
@ $(TOUCH) $@ |
|
@ $(ECHO) |
|
else |
|
$(OBJ_DIR)/%.o: %.s $(ERROR) |
|
$(CC) -c -o $(_TMP_O) $(FLAGS) $(EXTRA_C_FLAGS) $(LOCAL_DEFINES) $(DEFINES) $(SYS_INCLUDES) $(INCLUDES) $*.s |
|
@ $(COPY) $(_TMP_O) $@ |
|
@ $(RM) $(_TMP_O) |
|
@ $(TOUCH) $@ |
|
@ $(ECHO) |
|
endif |