gml2gv_SOURCES = gml2gv.c gmlparse.y gmlscan.l
gmlparse.c: y.tab.c
- @SED@ "s/yy/gml/g" < y.tab.c | \
- @SED@ "s/unsigned long int/uint64_t/g" | \
- @SED@ "s/unsigned long/uint64_t/g" > gmlparse.c
+ @SED@ "s/yy/gml/g" < y.tab.c > gmlparse.c
gmlparse.h: y.tab.h
- @SED@ "s/yy/gml/g" < y.tab.h | \
- @SED@ "s/unsigned long int/uint64_t/g" | \
- @SED@ "s/unsigned long/uint64_t/g" > gmlparse.h
+ @SED@ "s/yy/gml/g" < y.tab.h > gmlparse.h
y.tab.c y.tab.h : y.output
rm @LEX_OUTPUT_ROOT@.c
grammar.c: y.tab.c
- @SED@ "s/yy/aag/g" < y.tab.c | \
- @SED@ "s/unsigned long int/uint64_t/g" | \
- @SED@ "s/unsigned long/uint64_t/g" > grammar.c
+ @SED@ "s/yy/aag/g" < y.tab.c > grammar.c
grammar.h: y.tab.h
- @SED@ "s/yy/aag/g" < y.tab.h | \
- @SED@ "s/unsigned long int/uint64_t/g" | \
- @SED@ "s/unsigned long/uint64_t/g" > grammar.h
+ @SED@ "s/yy/aag/g" < y.tab.h > grammar.h
y.tab.c y.tab.h: y.output
htmlparse.o htmlparse.lo: htmlparse.c htmlparse.h
htmlparse.c: y.tab.c
- @SED@ "s/yy/html/g" < y.tab.c | \
- @SED@ "s/unsigned long int/uint64_t/g" | \
- @SED@ "s/unsigned long/uint64_t/g" > htmlparse.c
+ @SED@ "s/yy/html/g" < y.tab.c > htmlparse.c
htmlparse.h: y.tab.h
- @SED@ "s/yy/html/g" < y.tab.h | \
- @SED@ "s/unsigned long int/uint64_t/g" | \
- @SED@ "s/unsigned long/uint64_t/g"> htmlparse.h
+ @SED@ "s/yy/html/g" < y.tab.h > htmlparse.h
y.tab.c y.tab.h: y.output
exparse.c: y.tab.c
@SED@ "s/yy/ex/g" <y.tab.c | \
@SED@ "s/YY/EX/g" | \
- @SED@ "s/unsigned long int/uint64_t/g" | \
- @SED@ "s/unsigned long/uint64_t/g" | \
@SED@ "s/fprintf/sfprintf/g" | \
@SED@ "s/FILE/Sfio_t/g" | \
@SED@ "s/stderr/sfstderr/g" > exparse.c
echo "#ifndef _EXPARSE_H" > exparse.h
echo "#define _EXPARSE_H" >> exparse.h
@SED@ "s/yy/ex/g" < y.tab.h | \
- @SED@ "s/unsigned long int/uint64_t/g" | \
- @SED@ "s/unsigned long/uint64_t/g" | \
@SED@ "s/YY/EX/g" >> exparse.h
echo "#endif /* _EXPARSE_H */" >> exparse.h