Files
gcc/libcpp
Jason Merrill 7b8b96a327 libcpp: add .c++-header-unit target
The dependency output for header unit modules is based on the absolute
pathname of the header file, but that's not something that a makefile can
portably refer to.  This patch adds a .c++-header-unit target based on the
header name relative to an element of the include path.

libcpp/ChangeLog:

	* internal.h (_cpp_get_file_dir): Declare.
	* files.cc (_cpp_get_file_dir): New fn.
	* mkdeps.cc (make_write): Use it.

gcc/testsuite/ChangeLog:

	* g++.dg/modules/dep-4.H: New test.
2024-11-18 09:18:17 +01:00
..
2024-09-20 17:36:00 +00:00
2024-11-18 00:17:28 +00:00
2024-10-25 10:03:17 +02:00
2024-10-25 10:03:17 +02:00
2024-11-15 08:43:48 +01:00
2024-11-18 09:18:17 +01:00
2024-01-03 12:19:35 +01:00
2024-11-17 16:23:21 +01:00
2024-11-18 09:18:17 +01:00
2024-11-18 09:18:17 +01:00
2024-01-03 12:19:35 +01:00
2024-10-25 10:03:17 +02:00
2024-01-03 12:19:35 +01:00