jdk/makefiles/sun/awt/Depend.sed
changeset 13075 7fdae33b1abd
parent 13074 aef89cf0f4af
parent 12974 7e981cb0ad6a
child 13076 cb848b70d7f4
equal deleted inserted replaced
13074:aef89cf0f4af 13075:7fdae33b1abd
     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
       
     4 s/ \/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
       
     9 s/ 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 .
       
    19 s/ BuildStubs\/awt_colors.h/ $(OBJDIR)\/awt_colors.h/g
       
    20 #
       
    21 # Adjust CClassHeaders
       
    22 # Change BuildStubs to CClassHeaders
       
    23 s/ BuildStubs/ $(CLASSHDRDIR)/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
       
    32 s/^.*\/\(.*:\)/$(OBJDIR)\/\1:/