jdk/make/sun/awt/Depend.sed
author jeff
Wed, 22 Jun 2011 10:10:54 -0700
changeset 9916 c35ecac744a5
parent 2 90ce3da70b43
permissions -rw-r--r--
7057046: Add embedded license to THIRD PARTY README Reviewed-by: lana
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
# Unqualify std headers
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
# remove headers with no extension as well (e.g. C++ 94 STL headers) - robi
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
# s/ \/usr\/include[^ ]*\.h//g
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
s/ \/usr\/include[^ ]*//g
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
# Unqualify std Windows headers 
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
# remove headers with no extension as well (e.g. C++ 94 STL headers) - robi
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
# s/ WindowsSystemHeaderStubs[^ ]*\.h//g
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
s/ WindowsSystemHeaderStubs[^ ]*//g
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
# ####################################
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
# Rules to allow for generation of dependencies on an unbuilt tree...
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
# BuildStubs is populated with stubs for include files that are
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
# generated by the build and then dependencies are adjusted here
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
# Adjust awt_colors.h
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
# Change BuildStubs to .
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
s/ BuildStubs\/awt_colors.h/ $(OBJDIR)\/awt_colors.h/g
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    21
# Adjust CClassHeaders
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
# Change BuildStubs to CClassHeaders
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
s/ BuildStubs/ $(CLASSHDRDIR)/g
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
# End of unbuilt tree adjustments
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
# ####################################
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
# Remove any empty rules
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
/:[ ]*$/d
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
# Change .obj path from src to proper awt/obj or awt/obj_g directory
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
s/^.*\/\(.*:\)/$(OBJDIR)\/\1:/