forked from Imagelibrary/rtems
Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
35 lines
865 B
Plaintext
35 lines
865 B
Plaintext
if MULTILIB
|
|
MULTISRCTOP =
|
|
MULTIDIRS =
|
|
MULTIDO = true
|
|
MULTICLEAN = true
|
|
endif
|
|
|
|
# Multilib support rules
|
|
.PHONY: all-multi install-multi mostlyclean-multi clean-multi distclean-multi \
|
|
maintainer-clean-multi
|
|
|
|
if MULTILIB
|
|
all-recursive: all-multi
|
|
install-recursive: install-multi
|
|
|
|
mostlyclean-recursive: mostlyclean-multi
|
|
clean-recursive: clean-multi
|
|
distclean-recursive: distclean-multi
|
|
maintainer-clean-recursive: maintainer-clean-multi
|
|
|
|
all-multi:
|
|
$(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do
|
|
install-multi:
|
|
$(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do
|
|
|
|
mostlyclean-multi:
|
|
$(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean
|
|
clean-multi:
|
|
$(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean
|
|
distclean-multi:
|
|
$(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean
|
|
maintainer-clean-multi:
|
|
$(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean
|
|
endif
|