From: Michael Meffie Date: Sat, 1 Mar 2014 19:52:48 +0000 (-0500) Subject: compile_et macros to generate source and headers separately X-Git-Tag: upstream/1.6.10_pre1^2~53 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=2a5cb18789c6f78d74b4ba45a267755ab9254424;p=packages%2Fo%2Fopenafs.git 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 --- 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