]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
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)
committerStephan Wiesand <stephan.wiesand@desy.de>
Thu, 7 Aug 2014 11:11:32 +0000 (07:11 -0400)
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 <shadow@your-file-system.com>
Tested-by: D Brashear <shadow@your-file-system.com>
(cherry picked from commit be36376b244d1d94b24cb8fce44810fb31b7b5ce)

Change-Id: Ic9cf078f6a013e7529ae8f11b0378173e64ee680
Reviewed-on: http://gerrit.openafs.org/11237
Reviewed-by: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/config/Makefile.config.in

index 0cc605ead438bcfde3e2898d0ae85ca1fcb6b754..4ca31a3423ff2eea1a23854f690caa567823398c 100644 (file)
@@ -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