e32ab98b32
New makefiles transition, old and new living side by side for now. Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com> Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com> Co-authored-by: Torbjorn Granat <torbjorn.granat@oracle.com> Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com> Reviewed-by: ohair, jjg, dholmes, ohrstrom, erikj, ihse, tgranat, ykantser
33 lines
995 B
Sed
33 lines
995 B
Sed
# 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)/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:/
|