]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Added Ray\'s patches. Removed the broken gc_register_global function
authorJ.H.M. Dassen <jdassen@wi.leidenuniv.nl>
Tue, 5 Jan 1999 01:10:41 +0000 (02:10 +0100)
committerNiels Möller <nisse@lysator.liu.se>
Tue, 5 Jan 1999 01:10:41 +0000 (02:10 +0100)
Rev: src/symmetric/Makefile.am.in:1.7
Rev: src/symmetric/include/Makefile.am.in:1.3

Makefile.am.in
include/Makefile.am.in

index 1b0601cf0d19ee0c2176738be7f2406c53c11957..9430d295d1aa0bc7f6e037a25b5214a793e4b5dd 100644 (file)
@@ -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
index ac708a014abb56eac31533164430eb8d554ab934..1f8c13602a17d86950e9fd9c1034f60c3f1df298 100644 (file)
@@ -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