jdk/make/sun/jawt/Depend.sed
author art
Tue, 26 Aug 2008 13:09:34 +0400
changeset 1954 b93b85df3211
parent 2 90ce3da70b43
permissions -rw-r--r--
6585765: RFE: Remove Unicows-related code from AWT 6733976: VS2008 errors compiling AWT files - explicit casts need to be added 6728735: VS2008 errors compiling UnicowsLoader.h and fatal error in awtmsg.h Summary: Unicows-related and Win95/98/Me-related code is removed Reviewed-by: uta, tdv

# Unqualify std headers
# remove headers with no extension as well (e.g. C++ 94 STL headers) - robi
# s/ \/usr\/include[^ ]*\.h//g
s/ \/usr\/include[^ ]*//g

# Unqualify std Windows headers 
# remove headers with no extension as well (e.g. C++ 94 STL headers) - robi
# s/ WindowsSystemHeaderStubs[^ ]*\.h//g
s/ WindowsSystemHeaderStubs[^ ]*//g

# ####################################
# Rules to allow for generation of dependencies on an unbuilt tree...
#
# BuildStubs is populated with stubs for include files that are
# generated by the build and then dependencies are adjusted here
#
# Adjust awt_colors.h
# Change BuildStubs to .
s/ BuildStubs\/awt_colors.h/ $(OBJDIR)\/awt_colors.h/g
#
# Adjust CClassHeaders
# Change BuildStubs to CClassHeaders
s/ BuildStubs/ $(CLASSHDRDIR)\/..\/..\/awt\/CClassHeaders/g
#
# End of unbuilt tree adjustments
# ####################################

# Remove any empty rules
/:[ ]*$/d

# Change .obj path from src to proper awt/obj or awt/obj_g directory
s/^.*\/\(.*:\)/$(OBJDIR)\/\1:/