initial commit
Showing
1 changed file
with
39 additions
and
0 deletions
libmu_scm/Makefile.am
0 → 100644
1 | AUTOMAKE_OPTIONS = ../lib/ansi2knr | ||
2 | INCLUDES =-I$(srcdir) -I$(top_srcdir)/lib -I$(top_srcdir)/include | ||
3 | |||
4 | noinst_LIBRARIES=@MU_SCM@ | ||
5 | EXTRA_LIBRARIES=libmu_scm.a | ||
6 | libmu_scm_a_SOURCES=mu_scm.c mu_mailbox.c mu_message.c mu_body.c \ | ||
7 | mu_scm.h | ||
8 | |||
9 | pkgdata_DATA=guile-procedures.txt | ||
10 | DOT_X_FILES=mu_scm.x mu_mailbox.x mu_message.x mu_body.x | ||
11 | DOT_DOC_FILES=mu_scm.doc mu_mailbox.doc mu_message.doc \ | ||
12 | mu_body.doc | ||
13 | BUILT_SOURCES= $(DOT_X_FILES) $(DOT_DOC_FILES) | ||
14 | #EXTRA_DIST= | ||
15 | |||
16 | CPPFLAGS=-DDATADIR=\"$(pkgdatadir)\" | ||
17 | ETAGS_ARGS = --regex='/SCM_\(GLOBAL_\)?\(G?PROC\|G?PROC1\|SYMBOL\|VCELL\|CONST_LONG\).*\"\([^\"]\)*\"/\3/' \ | ||
18 | --regex='/[ \t]*SCM_[G]?DEFINE1?[ \t]*(\([^,]*\),[^,]*/\1/' | ||
19 | |||
20 | GUILE_DOC_SNARF=$(top_srcdir)/scripts/guile-doc-snarf | ||
21 | SUFFIXES=.x .doc | ||
22 | |||
23 | .c.x: | ||
24 | $(GUILE_DOC_SNARF) $< $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) \ | ||
25 | $< > $@ || { rm $@; false; } | ||
26 | |||
27 | .c.doc: | ||
28 | $(GUILE_DOC_SNARF) $< $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) \ | ||
29 | $< > /dev/null || { rm $@; false; } | ||
30 | |||
31 | guile-procedures.txt: $(DOT_DOC_FILES) | ||
32 | cat $(DOT_DOC_FILES) > $@ | ||
33 | |||
34 | if MAINTAINER_MODE | ||
35 | |||
36 | ## Add -MG to make the .x magic work with auto-dep code. | ||
37 | MKDEP = $(CC) -M -MG $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) | ||
38 | |||
39 | endif |
-
Please register or sign in to post a comment