## $Id: Makefile.common,v 1.10 2006/03/05 03:19:53 dsmith Exp $ # Want etags to mark SCM_SYMBOL macros and SCWM_PROC macros # Note that we mark through the 2nd argument to SCWM_PROC so we # get the scheme procedure name, too (not just the C function name) ETAGS_ARGS = --regex='/[ \t]*SCM_SYMBOL[ \t]*(\([^,]*\)/\1/' --regex='/[ \t]*SCW?M_[IW]?PROC[ \t]*(\([^,]*\),[^,]*/\1/' SCWM_SRC_DIR = $(top_srcdir)/src SCWM_BUILDSRC_DIR = $(top_builddir)/src SUFFIXES = .x .doc .c.x: guile-snarf -o $@ $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $< .cc.x: guile-snarf -o $@ $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $< .c.doc: guile-snarf -o /dev/null $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $<