aboutsummaryrefslogtreecommitdiff
path: root/gnu/lib
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2011-02-02 03:27:31 +0000
committerWarner Losh <imp@FreeBSD.org>2011-02-02 03:27:31 +0000
commit39bf09d2a00d9cd59b72ce7492aeb351cce23bc3 (patch)
tree68aff1c32c55dd2d0f7256fd892e89f6d8a18cdc /gnu/lib
parent4ef48a113bdb5cbc7022fc9d6253ffe63e756161 (diff)
downloadsrc-39bf09d2a00d9cd59b72ce7492aeb351cce23bc3.tar.gz
src-39bf09d2a00d9cd59b72ce7492aeb351cce23bc3.zip
Make the generated files depend on the Makefile so new platforms are easier
to add than mipsn32 was when I was working on it...
Notes
Notes: svn path=/head/; revision=218182
Diffstat (limited to 'gnu/lib')
-rw-r--r--gnu/lib/libgomp/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/lib/libgomp/Makefile b/gnu/lib/libgomp/Makefile
index 011982b98e76..237c14afb844 100644
--- a/gnu/lib/libgomp/Makefile
+++ b/gnu/lib/libgomp/Makefile
@@ -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