84 |
|
|
85 |
EXTRA_DOT_DOC_FILES = @EXTRA_DOT_DOC_FILES@ |
EXTRA_DOT_DOC_FILES = @EXTRA_DOT_DOC_FILES@ |
86 |
|
|
87 |
BUILT_SOURCES = cpp_err_symbols.c cpp_sig_symbols.c libpath.h \ |
BUILT_SOURCES = cpp_err_symbols.c cpp_sig_symbols.c libpath.h scmconfig.h \ |
88 |
$(DOT_X_FILES) $(EXTRA_DOT_X_FILES) $(DOT_DOC_FILES) |
$(DOT_X_FILES) $(EXTRA_DOT_X_FILES) $(DOT_DOC_FILES) |
89 |
|
|
90 |
EXTRA_libguile_la_SOURCES = _scm.h \ |
EXTRA_libguile_la_SOURCES = _scm.h \ |
91 |
alloca.c inet_aton.c memmove.c putenv.c strerror.c \ |
alloca.c inet_aton.c memmove.c putenv.c strerror.c \ |
92 |
threads.c regex-posix.c \ |
threads.c regex-posix.c \ |
93 |
filesys.c posix.c net_db.c socket.c \ |
filesys.c posix.c net_db.c socket.c \ |
94 |
ramap.c unif.c debug-malloc.c |
ramap.c unif.c debug-malloc.c |
95 |
|
|
96 |
## This is kind of nasty... there are ".c" files that we don't want to |
## This is kind of nasty... there are ".c" files that we don't want to |
145 |
@echo '#define SCM_SITE_DIR "$(pkgdatadir)/site"' >> libpath.tmp |
@echo '#define SCM_SITE_DIR "$(pkgdatadir)/site"' >> libpath.tmp |
146 |
@echo '#define SCM_BUILD_INFO { \' >> libpath.tmp |
@echo '#define SCM_BUILD_INFO { \' >> libpath.tmp |
147 |
@echo ' { "srcdir", "'"`cd @srcdir@; pwd`"'" }, \' >> libpath.tmp |
@echo ' { "srcdir", "'"`cd @srcdir@; pwd`"'" }, \' >> libpath.tmp |
148 |
@echo ' { "top_srcdir", "'"`cd @top_srcdir@; pwd`"'" }, \' \ |
@echo ' { "top_srcdir", "@top_srcdir_absolute@" }, \' >> libpath.tmp |
|
>> libpath.tmp |
|
149 |
@echo ' { "prefix", "@prefix@" }, \' >> libpath.tmp |
@echo ' { "prefix", "@prefix@" }, \' >> libpath.tmp |
150 |
@echo ' { "exec_prefix", "@exec_prefix@" }, \' >> libpath.tmp |
@echo ' { "exec_prefix", "@exec_prefix@" }, \' >> libpath.tmp |
151 |
@echo ' { "bindir", "@bindir@" }, \' >> libpath.tmp |
@echo ' { "bindir", "@bindir@" }, \' >> libpath.tmp |
172 |
@mv libpath.tmp libpath.h |
@mv libpath.tmp libpath.h |
173 |
|
|
174 |
|
|
175 |
|
snarfcppopts = $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) |
176 |
SUFFIXES = .x .doc |
SUFFIXES = .x .doc |
177 |
.c.x: |
.c.x: |
178 |
PATH=.:${PATH} ./guile-doc-snarf $< $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $< > $@ \ |
./guile-snarf -o $@ $< $(snarfcppopts) |
|
|| { rm $@; false; } |
|
179 |
.c.doc: |
.c.doc: |
180 |
PATH=.:${PATH} ./guile-doc-snarf $< $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $< > /dev/null \ |
./guile-doc-snarf -o $@ $< $(snarfcppopts) |
|
|| { rm $@; false; } |
|
181 |
|
|
182 |
guile-procedures.txt: $(DOT_DOC_FILES) $(EXTRA_DOT_DOC_FILES) |
guile-procedures.txt: $(DOT_DOC_FILES) $(EXTRA_DOT_DOC_FILES) |
183 |
cat *.doc > $@ |
cat *.doc > $@ |