use cp instead of mv to get the right name of the yacc-generated
files, mv fails badly with parallel makes Submitted by: Vincent Poy <vince@oahu.WURLDLINK.NET>
This commit is contained in:
parent
f61769f009
commit
0a2bc5cab2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=86126
@ -109,8 +109,8 @@ parse.o: parse.c roken.h
|
|||||||
|
|
||||||
parse.h parse.c: parse.y
|
parse.h parse.c: parse.y
|
||||||
${YACC} -d ${.OODATE}
|
${YACC} -d ${.OODATE}
|
||||||
mv y.tab.c parse.c
|
cp y.tab.c parse.c
|
||||||
mv y.tab.h parse.h
|
cp y.tab.h parse.h
|
||||||
|
|
||||||
lex.o: lex.l parse.h roken.h
|
lex.o: lex.l parse.h roken.h
|
||||||
|
|
||||||
@ -124,4 +124,5 @@ make-print-version: make-print-version.c
|
|||||||
${CC} ${CFLAGS} -static -o ${.TARGET} ${.OODATE}
|
${CC} ${CFLAGS} -static -o ${.TARGET} ${.OODATE}
|
||||||
|
|
||||||
CLEANFILES+= ${GEN} asn1_compile lex.o parse.o parse.c parse.h \
|
CLEANFILES+= ${GEN} asn1_compile lex.o parse.o parse.c parse.h \
|
||||||
hdb_asn1.h make-print-version print_version.h print_version.o
|
hdb_asn1.h make-print-version print_version.h print_version.o \
|
||||||
|
y.tab.c y.tab.h
|
||||||
|
@ -63,8 +63,8 @@ parse.o: parse.c
|
|||||||
|
|
||||||
parse.h parse.c: parse.y
|
parse.h parse.c: parse.y
|
||||||
${YACC} -d ${.OODATE}
|
${YACC} -d ${.OODATE}
|
||||||
mv y.tab.c parse.c
|
cp y.tab.c parse.c
|
||||||
mv y.tab.h parse.h
|
cp y.tab.h parse.h
|
||||||
|
|
||||||
lex.o: lex.l
|
lex.o: lex.l
|
||||||
|
|
||||||
@ -78,5 +78,5 @@ make-print-version: make-print-version.c
|
|||||||
${CC} ${CFLAGS} -static -o ${.TARGET} ${.OODATE}
|
${CC} ${CFLAGS} -static -o ${.TARGET} ${.OODATE}
|
||||||
|
|
||||||
CLEANFILES+= ${GEN} asn1_compile lex.o parse.o parse.c parse.h \
|
CLEANFILES+= ${GEN} asn1_compile lex.o parse.o parse.c parse.h \
|
||||||
hdb_asn1.h make-print-version print_version.h print_version.o
|
hdb_asn1.h make-print-version print_version.h print_version.o \
|
||||||
|
y.tab.c y.tab.h
|
||||||
|
Loading…
Reference in New Issue
Block a user