Whitespace cleanup of all Makefiles*
- some of the %.clean rules in the test-suite Makefiles were using a single tab as an empty rule, dangerous! I've replaced these with the safer '@exit 0'.
This commit is contained in:
parent
7cd9063b52
commit
d5b765d388
33 changed files with 138 additions and 167 deletions
|
|
@ -75,4 +75,3 @@ linkchecker:
|
||||||
@echo Note linkchecker versions prior to 6.1 do not work properly wrt anchors
|
@echo Note linkchecker versions prior to 6.1 do not work properly wrt anchors
|
||||||
@echo -----------------------------------------------------------------------
|
@echo -----------------------------------------------------------------------
|
||||||
linkchecker --config=./linkchecker.config index.html
|
linkchecker --config=./linkchecker.config index.html
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -88,7 +88,7 @@ endif
|
||||||
##################################################################
|
##################################################################
|
||||||
|
|
||||||
CPP_DLLIBS = #-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2 \
|
CPP_DLLIBS = #-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2 \
|
||||||
-L/usr/local/lib -lg++ -lstdc++ -lgcc
|
-L/usr/local/lib -lg++ -lstdc++ -lgcc
|
||||||
|
|
||||||
# Solaris workshop 5.0
|
# Solaris workshop 5.0
|
||||||
# CPP_DLLIBS = -L/opt/SUNWspro/lib -lCrun
|
# CPP_DLLIBS = -L/opt/SUNWspro/lib -lCrun
|
||||||
|
|
|
||||||
|
|
@ -123,4 +123,3 @@ run_testcase = \
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile allegrocl_clean
|
$(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile allegrocl_clean
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -44,8 +44,7 @@ run_testcase = \
|
||||||
|
|
||||||
# Clean: (does nothing, we dont generate extra cffi code)
|
# Clean: (does nothing, we dont generate extra cffi code)
|
||||||
%.clean:
|
%.clean:
|
||||||
|
@exit 0
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile cffi_clean
|
$(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile cffi_clean
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -92,7 +92,7 @@ run_testcase = \
|
||||||
|
|
||||||
# Clean
|
# Clean
|
||||||
%.clean:
|
%.clean:
|
||||||
|
@exit 0
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile chicken_clean
|
$(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile chicken_clean
|
||||||
|
|
|
||||||
|
|
@ -44,8 +44,7 @@ run_testcase = \
|
||||||
|
|
||||||
# Clean: (does nothing, we dont generate extra clisp code)
|
# Clean: (does nothing, we dont generate extra clisp code)
|
||||||
%.clean:
|
%.clean:
|
||||||
|
@exit 0
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile clisp_clean
|
$(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile clisp_clean
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@ CPP_ERROR_TEST_CASES := $(filter cpp_%, $(ALL_ERROR_TEST_CASES))
|
||||||
C_ERROR_TEST_CASES := $(filter-out $(CPP_ERROR_TEST_CASES), $(ALL_ERROR_TEST_CASES))
|
C_ERROR_TEST_CASES := $(filter-out $(CPP_ERROR_TEST_CASES), $(ALL_ERROR_TEST_CASES))
|
||||||
|
|
||||||
ERROR_TEST_CASES := $(CPP_ERROR_TEST_CASES:=.cpptest) \
|
ERROR_TEST_CASES := $(CPP_ERROR_TEST_CASES:=.cpptest) \
|
||||||
$(C_ERROR_TEST_CASES:=.ctest)
|
$(C_ERROR_TEST_CASES:=.ctest)
|
||||||
|
|
||||||
include $(srcdir)/../common.mk
|
include $(srcdir)/../common.mk
|
||||||
|
|
||||||
|
|
@ -46,9 +46,8 @@ include $(srcdir)/../common.mk
|
||||||
$(COMPILETOOL) diff -c $*.stderr $*.$(ERROR_EXT)
|
$(COMPILETOOL) diff -c $*.stderr $*.$(ERROR_EXT)
|
||||||
|
|
||||||
%.clean:
|
%.clean:
|
||||||
|
@exit 0
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile $(LANGUAGE)_clean
|
$(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile $(LANGUAGE)_clean
|
||||||
@rm -f *.$(ERROR_EXT) *.py
|
@rm -f *.$(ERROR_EXT) *.py
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,9 +14,9 @@ GUILE = @GUILE@
|
||||||
GUILE_RUNTIME=
|
GUILE_RUNTIME=
|
||||||
|
|
||||||
C_TEST_CASES = long_long \
|
C_TEST_CASES = long_long \
|
||||||
list_vector \
|
list_vector \
|
||||||
multivalue \
|
multivalue \
|
||||||
pointer_in_out
|
pointer_in_out
|
||||||
|
|
||||||
|
|
||||||
include $(srcdir)/../common.mk
|
include $(srcdir)/../common.mk
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,7 @@ run_testcase = \
|
||||||
|
|
||||||
# Clean: (does nothing, we dont generate extra lua code)
|
# Clean: (does nothing, we dont generate extra lua code)
|
||||||
%.clean:
|
%.clean:
|
||||||
|
@exit 0
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile lua_clean
|
$(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile lua_clean
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@ run_testcase = \
|
||||||
|
|
||||||
# Clean
|
# Clean
|
||||||
%.clean:
|
%.clean:
|
||||||
|
@exit 0
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile mzscheme_clean
|
$(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile mzscheme_clean
|
||||||
|
|
|
||||||
|
|
@ -46,4 +46,3 @@ run_testcase = \
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile pike_clean
|
$(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile pike_clean
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -190,4 +190,3 @@ hugemod:
|
||||||
$(MAKE) hugemod_b.cpptest
|
$(MAKE) hugemod_b.cpptest
|
||||||
sh -c "time $(PYTHON) $(hugemod_runme)"
|
sh -c "time $(PYTHON) $(hugemod_runme)"
|
||||||
sh -c "time $(PYTHON) $(hugemod_runme)"
|
sh -c "time $(PYTHON) $(hugemod_runme)"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,7 @@ run_multitestcase = \
|
||||||
for f in `cat $(top_srcdir)/$(EXAMPLES)/$(TEST_SUITE)/$*.list` ; do \
|
for f in `cat $(top_srcdir)/$(EXAMPLES)/$(TEST_SUITE)/$*.list` ; do \
|
||||||
if [ -f $(srcdir)/$(SCRIPTPREFIX)$${f}$(SCRIPTSUFFIX) ]; then \
|
if [ -f $(srcdir)/$(SCRIPTPREFIX)$${f}$(SCRIPTSUFFIX) ]; then \
|
||||||
env LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH PATH=.:"$$PATH" \
|
env LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH PATH=.:"$$PATH" \
|
||||||
$(RUNTOOL) $(RUNR) $(srcdir)/$(SCRIPTPREFIX)$${f}$(SCRIPTSUFFIX); \
|
$(RUNTOOL) $(RUNR) $(srcdir)/$(SCRIPTPREFIX)$${f}$(SCRIPTSUFFIX); \
|
||||||
else \
|
else \
|
||||||
$(RUNTOOL) $(RUNR) $(srcdir)/$(SCRIPTPREFIX)$${f}$(WRAPSUFFIX); \
|
$(RUNTOOL) $(RUNR) $(srcdir)/$(SCRIPTPREFIX)$${f}$(WRAPSUFFIX); \
|
||||||
fi; \
|
fi; \
|
||||||
|
|
@ -74,5 +74,3 @@ clean:
|
||||||
rm -f $${f}.R $${f}.Rout ; \
|
rm -f $${f}.R $${f}.Rout ; \
|
||||||
done \
|
done \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,7 @@ run_testcase = \
|
||||||
|
|
||||||
# Clean
|
# Clean
|
||||||
%.clean:
|
%.clean:
|
||||||
|
@exit 0
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile ruby_clean
|
$(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile ruby_clean
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,7 @@ run_testcase = \
|
||||||
|
|
||||||
# Clean
|
# Clean
|
||||||
%.clean:
|
%.clean:
|
||||||
|
@exit 0
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile tcl_clean
|
$(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile tcl_clean
|
||||||
|
|
|
||||||
|
|
@ -44,8 +44,7 @@ run_testcase = \
|
||||||
|
|
||||||
# Clean: (does nothing, we dont generate extra uffi code)
|
# Clean: (does nothing, we dont generate extra uffi code)
|
||||||
%.clean:
|
%.clean:
|
||||||
|
@exit 0
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile uffi_clean
|
$(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile uffi_clean
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
co:
|
co:
|
||||||
co RCS/*.i* RCS/*.swg*
|
co RCS/*.i* RCS/*.swg*
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
co:
|
co:
|
||||||
co RCS/*.i* RCS/*.swg*
|
co RCS/*.i* RCS/*.swg*
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -67,7 +67,7 @@ BUILD = @LDSHARED@
|
||||||
# need to provide additional link libraries (this is not always required).
|
# need to provide additional link libraries (this is not always required).
|
||||||
|
|
||||||
#DLL_LIBS = -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2 \
|
#DLL_LIBS = -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2 \
|
||||||
-L/usr/local/lib -lg++ -lstdc++ -lgcc
|
-L/usr/local/lib -lg++ -lstdc++ -lgcc
|
||||||
|
|
||||||
# Perl installation
|
# Perl installation
|
||||||
|
|
||||||
|
|
@ -118,9 +118,3 @@ $(TARGET): $(WRAPOBJ) $(ALLOBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(COBJS) $(CXXOBJS) $(OBJCOBJS) $(WRAPOBJ) $(WRAPFILE) $(TARGET)
|
rm -f $(COBJS) $(CXXOBJS) $(OBJCOBJS) $(WRAPOBJ) $(WRAPFILE) $(TARGET)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17,5 +17,3 @@ WriteMakefile(
|
||||||
'LIBS' => [''], # Custom libraries (if any)
|
'LIBS' => [''], # Custom libraries (if any)
|
||||||
'OBJECT' => '$module_wrap.o' # Object files
|
'OBJECT' => '$module_wrap.o' # Object files
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -67,7 +67,7 @@ BUILD = @LDSHARED@
|
||||||
# need to provide additional link libraries (this is not always required).
|
# need to provide additional link libraries (this is not always required).
|
||||||
|
|
||||||
#DLL_LIBS = -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2 \
|
#DLL_LIBS = -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2 \
|
||||||
-L/usr/local/lib -lg++ -lstdc++ -lgcc
|
-L/usr/local/lib -lg++ -lstdc++ -lgcc
|
||||||
|
|
||||||
# Python installation
|
# Python installation
|
||||||
|
|
||||||
|
|
@ -117,7 +117,3 @@ $(TARGET): $(WRAPOBJ) $(ALLOBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(COBJS) $(CXXOBJS) $(OBJCOBJS) $(WRAPOBJ) $(WRAPFILE) $(TARGET)
|
rm -f $(COBJS) $(CXXOBJS) $(OBJCOBJS) $(WRAPOBJ) $(WRAPFILE) $(TARGET)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -69,7 +69,7 @@ BUILD = @LDSHARED@
|
||||||
# need to provide additional link libraries (this is not always required).
|
# need to provide additional link libraries (this is not always required).
|
||||||
|
|
||||||
#DLL_LIBS = -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2 \
|
#DLL_LIBS = -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2 \
|
||||||
-L/usr/local/lib -lg++ -lstdc++ -lgcc
|
-L/usr/local/lib -lg++ -lstdc++ -lgcc
|
||||||
|
|
||||||
# Tcl installation (where is Tcl located)
|
# Tcl installation (where is Tcl located)
|
||||||
|
|
||||||
|
|
@ -120,7 +120,3 @@ $(TARGET): $(WRAPOBJ) $(ALLOBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(COBJS) $(CXXOBJS) $(OBJCOBJS) $(WRAPOBJ) $(WRAPFILE) $(TARGET)
|
rm -f $(COBJS) $(CXXOBJS) $(OBJCOBJS) $(WRAPOBJ) $(WRAPFILE) $(TARGET)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -249,8 +249,8 @@ check-%-examples :
|
||||||
# gcj individual example
|
# gcj individual example
|
||||||
java.actionexample:
|
java.actionexample:
|
||||||
@if $(skip-gcj); then \
|
@if $(skip-gcj); then \
|
||||||
echo "skipping Examples/$(LANGUAGE)/java $(ACTION) (gcj test)"; \
|
echo "skipping Examples/$(LANGUAGE)/java $(ACTION) (gcj test)"; \
|
||||||
else \
|
else \
|
||||||
echo $(ACTION)ing Examples/$(LANGUAGE)/java; \
|
echo $(ACTION)ing Examples/$(LANGUAGE)/java; \
|
||||||
(cd Examples/$(LANGUAGE)/java && $(MAKE) $(FLAGS) $(chk-set-env) $(ACTION)) \
|
(cd Examples/$(LANGUAGE)/java && $(MAKE) $(FLAGS) $(chk-set-env) $(ACTION)) \
|
||||||
fi
|
fi
|
||||||
|
|
@ -487,7 +487,7 @@ install-lib:
|
||||||
@for file in $(srcdir)/Lib/*.i $(srcdir)/Lib/*.swg ; do \
|
@for file in $(srcdir)/Lib/*.i $(srcdir)/Lib/*.swg ; do \
|
||||||
i=`basename $$file` ; \
|
i=`basename $$file` ; \
|
||||||
echo "Installing $(DESTDIR)$(SWIG_LIB)/$$i"; \
|
echo "Installing $(DESTDIR)$(SWIG_LIB)/$$i"; \
|
||||||
$(INSTALL_DATA) $$file $(DESTDIR)$(SWIG_LIB)/$$i; \
|
$(INSTALL_DATA) $$file $(DESTDIR)$(SWIG_LIB)/$$i; \
|
||||||
done;
|
done;
|
||||||
@for lang in $(lib-languages) $(lib-modules); \
|
@for lang in $(lib-languages) $(lib-modules); \
|
||||||
do \
|
do \
|
||||||
|
|
|
||||||
|
|
@ -145,4 +145,3 @@ beautify-file:
|
||||||
indent -kr --honour-newlines --line-length160 --indent-level2 --braces-on-func-def-line --leave-optional-blank-lines $(SWIGTYPEDEFS) $(INDENTFILE) -o $(INDENTFILE).tmp;
|
indent -kr --honour-newlines --line-length160 --indent-level2 --braces-on-func-def-line --leave-optional-blank-lines $(SWIGTYPEDEFS) $(INDENTFILE) -o $(INDENTFILE).tmp;
|
||||||
cat $(INDENTFILE).tmp | sed -e 's/const const /const /' > $(INDENTFILE);
|
cat $(INDENTFILE).tmp | sed -e 's/const const /const /' > $(INDENTFILE);
|
||||||
rm $(INDENTFILE).tmp;
|
rm $(INDENTFILE).tmp;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue