From 5bf95621ae2ffff6e847c12e16f31db534fd7d0b Mon Sep 17 00:00:00 2001 From: Ben Kaduk Date: Mon, 25 Oct 2010 22:15:49 -0400 Subject: [PATCH] Fix build on systems with .y.o rules On systems with system .y.o rules (such as FreeBSD), the system rule for making error_table.o from error_table.y can bypass AFS_CCRULE and thus fail to pull in the necessary include paths for compilation. Present an explicit dependency on error_table.c to force that file to be generated, and then our .c.o rule gets used as desired. Change-Id: I88a6cf15441e0bacd73888b941d6c268786c5d2a Reviewed-on: http://gerrit.openafs.org/3145 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- src/comerr/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/comerr/Makefile.in b/src/comerr/Makefile.in index 1991f4bae..c59d3fd6a 100644 --- a/src/comerr/Makefile.in +++ b/src/comerr/Makefile.in @@ -86,6 +86,6 @@ test: cd test; $(MAKE) compile_et.o: AFS_component_version_number.c -error_table.o: et_lex.lex.c +error_table.o: et_lex.lex.c error_table.c include ../config/Makefile.version -- 2.39.5