svn commit: r218182 - head/gnu/lib/libgomp
Warner Losh
imp at FreeBSD.org
Wed Feb 2 03:27:32 UTC 2011
Author: imp
Date: Wed Feb 2 03:27:31 2011
New Revision: 218182
URL: http://svn.freebsd.org/changeset/base/218182
Log:
Make the generated files depend on the Makefile so new platforms are easier
to add than mipsn32 was when I was working on it...
Modified:
head/gnu/lib/libgomp/Makefile
Modified: head/gnu/lib/libgomp/Makefile
==============================================================================
--- head/gnu/lib/libgomp/Makefile Wed Feb 2 03:24:52 2011 (r218181)
+++ head/gnu/lib/libgomp/Makefile Wed Feb 2 03:27:31 2011 (r218182)
@@ -47,14 +47,14 @@ gstdint.h:
CLEANFILES+= gstdint.h
.for HFILE in libgomp_f.h omp.h omp_lib.h
-${HFILE}: ${SRCDIR}/${HFILE}.in
+${HFILE}: ${SRCDIR}/${HFILE}.in ${.CURDIR}/Makefile
sed -e 's/@OMP_LOCK_ALIGN@/${OMP_LOCK_ALIGN}/g' \
-e 's/@OMP_LOCK_KIND@/${OMP_LOCK_KIND}/g' \
-e 's/@OMP_LOCK_SIZE@/${OMP_LOCK_SIZE}/g' \
-e 's/@OMP_NEST_LOCK_ALIGN@/${OMP_NEST_LOCK_ALIGN}/g' \
-e 's/@OMP_NEST_LOCK_KIND@/${OMP_NEST_LOCK_KIND}/g' \
-e 's/@OMP_NEST_LOCK_SIZE@/${OMP_NEST_LOCK_SIZE}/g' \
- < ${.ALLSRC} > ${.TARGET}
+ < ${SRCDIR}/${HFILE}.in > ${.TARGET}
CLEANFILES+= ${HFILE}
.endfor
More information about the svn-src-head
mailing list