compile_et macros to generate source and headers separately
authorMichael Meffie <mmeffie@sinenomine.net>
Sat, 1 Mar 2014 19:52:48 +0000 (14:52 -0500)
committerD Brashear <shadow@your-file-system.com>
Tue, 25 Mar 2014 16:43:29 +0000 (09:43 -0700)
Common makefile macros to generate headers and source files
separately using the new compile_et -emit option.

Change-Id: I5848922fbe1d94f9d3cec829a3ed657e7f63d191
Reviewed-on: http://gerrit.openafs.org/10869
Reviewed-by: D Brashear <shadow@your-file-system.com>
Tested-by: D Brashear <shadow@your-file-system.com>

src/config/Makefile.config.in

index f82cda7..188c40d 100644 (file)
@@ -196,6 +196,13 @@ RUN_CC_NOQ=$(RUN_CC_NOQ_V$(V))
 RUN_LD_NOQ=$(RUN_LD_NOQ_V$(V))
 
 #
+# 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
 #