source: trunk/openjdk/jdk/make/sun/jawt/Depend.sed

Last change on this file was 2, checked in by dmik, 15 years ago

Imported OpenJDK 6 b19 sources from Oracle.

File size: 1023 bytes
Line 
1# Unqualify std headers
2# remove headers with no extension as well (e.g. C++ 94 STL headers) - robi
3# s/ \/usr\/include[^ ]*\.h//g
4s/ \/usr\/include[^ ]*//g
5
6# Unqualify std Windows headers
7# remove headers with no extension as well (e.g. C++ 94 STL headers) - robi
8# s/ WindowsSystemHeaderStubs[^ ]*\.h//g
9s/ WindowsSystemHeaderStubs[^ ]*//g
10
11# ####################################
12# Rules to allow for generation of dependencies on an unbuilt tree...
13#
14# BuildStubs is populated with stubs for include files that are
15# generated by the build and then dependencies are adjusted here
16#
17# Adjust awt_colors.h
18# Change BuildStubs to .
19s/ BuildStubs\/awt_colors.h/ $(OBJDIR)\/awt_colors.h/g
20#
21# Adjust CClassHeaders
22# Change BuildStubs to CClassHeaders
23s/ BuildStubs/ $(CLASSHDRDIR)\/..\/..\/awt\/CClassHeaders/g
24#
25# End of unbuilt tree adjustments
26# ####################################
27
28# Remove any empty rules
29/:[ ]*$/d
30
31# Change .obj path from src to proper awt/obj or awt/obj_g directory
32s/^.*\/\(.*:\)/$(OBJDIR)\/\1:/
Note: See TracBrowser for help on using the repository browser.