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:
parent
4ef48a113b
commit
39bf09d2a0
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user