|
|
@ -609,21 +609,21 @@ force-reedit:
|
|
|
|
|
|
|
|
|
|
|
|
#>+ 21
|
|
|
|
#>+ 21
|
|
|
|
clean-bcheck:
|
|
|
|
clean-bcheck:
|
|
|
|
rm -f *.bchecktest.cc *.bchecktest.cc.class a.out
|
|
|
|
rm -f *.bchecktest.cpp *.bchecktest.cpp.class a.out
|
|
|
|
|
|
|
|
|
|
|
|
bcheck: bcheck-am
|
|
|
|
bcheck: bcheck-am
|
|
|
|
|
|
|
|
|
|
|
|
bcheck-am:
|
|
|
|
bcheck-am:
|
|
|
|
@for i in ; do \
|
|
|
|
@for i in ; do \
|
|
|
|
if test $(srcdir)/$$i -nt $$i.bchecktest.cc; then \
|
|
|
|
if test $(srcdir)/$$i -nt $$i.bchecktest.cpp; then \
|
|
|
|
echo "int main() {return 0;}" > $$i.bchecktest.cc ; \
|
|
|
|
echo "int main() {return 0;}" > $$i.bchecktest.cpp ; \
|
|
|
|
echo "#include \"$$i\"" >> $$i.bchecktest.cc ; \
|
|
|
|
echo "#include \"$$i\"" >> $$i.bchecktest.cpp ; \
|
|
|
|
echo "$$i"; \
|
|
|
|
echo "$$i"; \
|
|
|
|
if ! $(CXX) $(DEFS) -I. -I$(srcdir) -I$(top_builddir) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS) --dump-class-hierarchy -c $$i.bchecktest.cc; then \
|
|
|
|
if ! $(CXX) $(DEFS) -I. -I$(srcdir) -I$(top_builddir) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS) --dump-class-hierarchy -c $$i.bchecktest.cpp; then \
|
|
|
|
rm -f $$i.bchecktest.cc; exit 1; \
|
|
|
|
rm -f $$i.bchecktest.cpp; exit 1; \
|
|
|
|
fi ; \
|
|
|
|
fi ; \
|
|
|
|
echo "" >> $$i.bchecktest.cc.class; \
|
|
|
|
echo "" >> $$i.bchecktest.cpp.class; \
|
|
|
|
perl $(top_srcdir)/admin/bcheck.pl $$i.bchecktest.cc.class || { rm -f $$i.bchecktest.cc; exit 1; }; \
|
|
|
|
perl $(top_srcdir)/admin/bcheck.pl $$i.bchecktest.cpp.class || { rm -f $$i.bchecktest.cpp; exit 1; }; \
|
|
|
|
rm -f a.out; \
|
|
|
|
rm -f a.out; \
|
|
|
|
fi ; \
|
|
|
|
fi ; \
|
|
|
|
done
|
|
|
|
done
|
|
|
|