From c935ebd8fa266733005dac7cb3eccdd0a1a0aa54 Mon Sep 17 00:00:00 2001 From: "J.H.M. Dassen" <jdassen@wi.leidenuniv.nl> Date: Tue, 5 Jan 1999 02:10:41 +0100 Subject: [PATCH] Added Ray\'s patches. Removed the broken gc_register_global function Rev: src/symmetric/Makefile.am.in:1.7 Rev: src/symmetric/include/Makefile.am.in:1.3 --- Makefile.am.in | 34 ++++++++++++++++++++++++++++++++++ include/Makefile.am.in | 24 ++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/Makefile.am.in b/Makefile.am.in index 1b0601cf..9430d295 100644 --- a/Makefile.am.in +++ b/Makefile.am.in @@ -54,3 +54,37 @@ desQuickCore.c: LOADCORE,KEYMAPQUICK,SAVECORE)' EXTRA_DIST = $(cvs_headers) Makefile.am.in descore.README + +.PHONY: depend +depend: + rm -f $(DEP_FILES) + make $(DEP_FILES) + +.deps/%.P : %.c + $(CC) $(CPPFLAGS) $(DEFS) -M -MG $< > $@ + +MAINTAINERCLEANFILES += $(DEP_FILES) + +.PHONY: ctags-recursive ctags + +ctags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + (cd $$subdir && $(MAKE) ctags); \ + done + +ctags: ctags-recursive $(HEADERS) $(SOURCES) $(CONFIG_HEADER) $(TAGS_DEPENDENCIES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + test -f $$subdir/tags && tags="$$tags $$here/$$subdir/tags"; \ + done; \ + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(CTAGS_ARGS)$(CONFIG_HEADER)$$unique$(LISP)$$tags" \ + || (cd $(srcdir) && ctags -o $$here/tags $(CTAGS_ARGS) $$tags $(CONFIG_HEADER) $$unique $(LISP)) + +# Override the standard distclean-tags target, as this doesn't support `tags' +distclean-tags: + -rm -f TAGS ID tags diff --git a/include/Makefile.am.in b/include/Makefile.am.in index ac708a01..1f8c1360 100644 --- a/include/Makefile.am.in +++ b/include/Makefile.am.in @@ -3,3 +3,27 @@ CVS_HEADERS: cvs_headers BODY: EXTRA_DIST = $(cvs_headers) Makefile.am.in + +.PHONY: ctags-recursive ctags + +ctags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + (cd $$subdir && $(MAKE) ctags); \ + done + +ctags: ctags-recursive $(HEADERS) $(SOURCES) $(CONFIG_HEADER) $(TAGS_DEPENDENCIES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + test -f $$subdir/tags && tags="$$tags $$here/$$subdir/tags"; \ + done; \ + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(CTAGS_ARGS)$(CONFIG_HEADER)$$unique$(LISP)$$tags" \ + || (cd $(srcdir) && ctags -o $$here/tags $(CTAGS_ARGS) $$tags $(CONFIG_HEADER) $$unique $(LISP)) + +# Override the standard distclean-tags target, as this doesn't support `tags' +distclean-tags: + -rm -f TAGS ID tags -- GitLab