From: <sg...@us...> - 2003-08-31 20:33:35
|
Update of /cvsroot/libfunutil/libfunutil In directory sc8-pr-cvs1:/tmp/cvs-serv21869 Modified Files: toc_shared.make.at Log Message: removed some code which is now in toc/make/* Index: toc_shared.make.at =================================================================== RCS file: /cvsroot/libfunutil/libfunutil/toc_shared.make.at,v retrieving revision 1.21 retrieving revision 1.22 diff -u -d -r1.21 -r1.22 --- toc_shared.make.at 31 Aug 2003 00:50:26 -0000 1.21 +++ toc_shared.make.at 31 Aug 2003 20:33:30 -0000 1.22 @@ -1,3 +1,5 @@ +#!/usr/bin/make +# ^^^ this is only to help emacs # toc_shared.make.at is the template file for toc_shared.make. # The .at file is processed by the configure script # to create toc_shared.make. Makefiles should have this line: @@ -126,34 +128,5 @@ endif - - -# toc_get_makefile_var call()able: -# $1 = VAR_NAME -# $2 = optional filename (defaults to Makefile) -toc_get_makefile_var = $(shell $(toc_tocdir)/bin/getMakefileVar $(1) $(2)) -#toc_get_makefile_var = $(shell fn=$(2); test -z "$$fn" && fn=Makefile; ${MAKE} -np -f $$fn | grep '^$(1)') - -TOC_ATPARSER_BIN = $(top_srcdir)/toc/bin/atsign_parse - - -# toc_atparse_file call()able: -# Similar to the toc shell function of the same name, except for different -# arguments: -# filters an input file using toc's at-parser (e.g., @TOKENS@), and sends output to $2. -# $2 is only updated if the generated output is different, so it is dependencies-safe. -# -# $1 = input template -# $2 = output file -# $3 = list of properties, e.g. FOO=bar BAR=foo -toc_atparse_file = \ - $(TOC_ATPARSER_BIN) $(3) < $(1) > $(2).tmp; \ - if cmp -s $(2).tmp $(2); then rm -f $(2).tmp; echo "$(2) is up to date."; \ - else mv -f $(2).tmp $@; echo "Updated $(2)."; fi - -include $(toc_makesdir)/install.make -include $(toc_makesdir)/subdirs_traverser.make -include $(toc_makesdir)/cleaner.make -include $(toc_makesdir)/dist.make +include $(toc_makesdir)/toc_mainincludes.make include $(toc_makesdir)/tests.make -include $(toc_makesdir)/deps.make |