#==============================================================================
# PATCH OPENSTEP 4.1 & 4.2 broken makefile system -- ES
#
# Under 4.1 & 4.2 although PB defines CCFILES, CPPFILES, and CXXFILES in the 
# Makefile, SRCFILES does not actually reference them, so the C++ files 
# don't get compiled.  This is patched by assigning them to OTHER_SOURCEFILES 
# which does get referenced.  
#
# Under 4.1 & 4.2-prerelease OFILES does not include any of the C++ object 
# files, so we manually add them to OTHER_OFILES.  Under 4.2-final, OFILES 
# *does* refer to them, so we must remove the duplicates lest the linker
# complains about linking the same files twice.  This is done in the
# Makefile.postamble.
#==============================================================================

OTHER_SOURCEFILES += $(CCFILES) $(CPPFILES) $(CXXFILES)
OTHER_OFILES += $(CCFILES:.cc=.o) $(CPPFILES:.cpp=.o) $(CXXFILES:.cxx=.o)
