From 2a5cb18789c6f78d74b4ba45a267755ab9254424 Mon Sep 17 00:00:00 2001 From: Michael Meffie Date: Sat, 1 Mar 2014 14:52:48 -0500 Subject: [PATCH] compile_et macros to generate source and headers separately Common makefile macros to generate headers and source files separately using the new compile_et -emit option. Reviewed-on: http://gerrit.openafs.org/10869 Reviewed-by: D Brashear Tested-by: D Brashear (cherry picked from commit be36376b244d1d94b24cb8fce44810fb31b7b5ce) Change-Id: Ic9cf078f6a013e7529ae8f11b0378173e64ee680 Reviewed-on: http://gerrit.openafs.org/11237 Reviewed-by: Chas Williams - CONTRACTOR Tested-by: BuildBot Reviewed-by: Benjamin Kaduk Reviewed-by: Stephan Wiesand --- src/config/Makefile.config.in | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/config/Makefile.config.in b/src/config/Makefile.config.in index 0cc605ead..4ca31a342 100644 --- a/src/config/Makefile.config.in +++ b/src/config/Makefile.config.in @@ -125,6 +125,13 @@ COMPILE_ET = ${TOP_OBJDIR}/src/comerr/compile_et RXGEN = ${TOP_OBJDIR}/src/rxgen/rxgen SHELL = /bin/sh +# +# Generate error table header and the source files independently for +# parallel make. +# +COMPILE_ET_H=${COMPILE_ET} -emit h +COMPILE_ET_C=${COMPILE_ET} -emit c + # # Common/standard cflags/paths/etc # Cflags defaults, will be overridden later if necessary -- 2.39.5