Make the generated files depend on the Makefile so new platforms are easier

to add than mipsn32 was when I was working on it...
This commit is contained in:
Warner Losh 2011-02-02 03:27:31 +00:00
parent 4ef48a113b
commit 39bf09d2a0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=218182

View File

@ -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