42 |
## For some reason, OBJEXT does not include the dot |
## For some reason, OBJEXT does not include the dot |
43 |
gen-scmconfig.$(OBJEXT): gen-scmconfig.c |
gen-scmconfig.$(OBJEXT): gen-scmconfig.c |
44 |
if [ "$(cross_compiling)" = "yes" ]; then \ |
if [ "$(cross_compiling)" = "yes" ]; then \ |
45 |
$(CC_FOR_BUILD) -c -o $@ $<; \ |
$(CC_FOR_BUILD) $(DEFS) $(INCLUDES) -c -o $@ $<; \ |
46 |
else \ |
else \ |
47 |
$(COMPILE) -c -o $@ $<; \ |
$(COMPILE) -c -o $@ $<; \ |
48 |
fi |
fi |
49 |
|
|
50 |
scmconfig.h: ${top_builddir}/config.h gen-scmconfig |
## Override default rule; this should run on BUILD host. |
51 |
|
gen-scmconfig$(EXEEXT): $(gen_scmconfig_OBJECTS) $(gen_scmconfig_DEPENDENCIES) |
52 |
|
@rm -f gen-scmconfig$(EXEEXT) |
53 |
|
if [ "$(cross_compiling)" = "yes" ]; then \ |
54 |
|
$(CCLD_FOR_BUILD) -o $@ $(gen_scmconfig_OBJECTS); \ |
55 |
|
else \ |
56 |
|
$(LINK) $(gen_scmconfig_OBJECTS) $(LDADD) $(LIBS); \ |
57 |
|
fi |
58 |
|
|
59 |
|
scmconfig.h: ${top_builddir}/config.h gen-scmconfig$(EXEEXT) |
60 |
rm -f scmconfig.h.tmp |
rm -f scmconfig.h.tmp |
61 |
cat $(srcdir)/scmconfig.h.top > scmconfig.h.tmp |
cat $(srcdir)/scmconfig.h.top > scmconfig.h.tmp |
62 |
./gen-scmconfig >> scmconfig.h.tmp |
./gen-scmconfig$(EXEEXT) >> scmconfig.h.tmp |
63 |
chmod 444 scmconfig.h.tmp |
chmod 444 scmconfig.h.tmp |
64 |
rm -f scmconfig.h |
rm -f scmconfig.h |
65 |
mv scmconfig.h.tmp scmconfig.h |
mv scmconfig.h.tmp scmconfig.h |
70 |
## For some reason, OBJEXT does not include the dot |
## For some reason, OBJEXT does not include the dot |
71 |
c-tokenize.$(OBJEXT): c-tokenize.c |
c-tokenize.$(OBJEXT): c-tokenize.c |
72 |
if [ "$(cross_compiling)" = "yes" ]; then \ |
if [ "$(cross_compiling)" = "yes" ]; then \ |
73 |
$(CC_FOR_BUILD) -c -o $@ $<; \ |
$(CC_FOR_BUILD) $(DEFS) $(INCLUDES) -c -o $@ $<; \ |
74 |
else \ |
else \ |
75 |
$(COMPILE) -c -o $@ $<; \ |
$(COMPILE) -c -o $@ $<; \ |
76 |
fi |
fi |
280 |
snarf2checkedtexi = GUILE="$(GUILE_FOR_BUILD)" $(top_srcdir)/scripts/snarf-check-and-output-texi |
snarf2checkedtexi = GUILE="$(GUILE_FOR_BUILD)" $(top_srcdir)/scripts/snarf-check-and-output-texi |
281 |
dotdoc2texi = cat $(alldotdocfiles) | $(snarf2checkedtexi) |
dotdoc2texi = cat $(alldotdocfiles) | $(snarf2checkedtexi) |
282 |
|
|
283 |
guile.texi: $(alldotdocfiles) guile |
guile.texi: $(alldotdocfiles) guile$(EXEEXT) |
284 |
$(dotdoc2texi) --manual > $@ || { rm $@; false; } |
$(dotdoc2texi) --manual > $@ || { rm $@; false; } |
285 |
|
|
286 |
guile-procedures.texi: $(alldotdocfiles) guile |
guile-procedures.texi: $(alldotdocfiles) guile$(EXEEXT) |
287 |
$(dotdoc2texi) > $@ || { rm $@; false; } |
$(dotdoc2texi) > $@ || { rm $@; false; } |
288 |
|
|
289 |
if HAVE_MAKEINFO |
if HAVE_MAKEINFO |