Use a linker version script for libguile.
[bpt/guile.git] / libguile / Makefile.am
1 ## Process this file with Automake to create Makefile.in
2 ##
3 ## Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
4 ##
5 ## This file is part of GUILE.
6 ##
7 ## GUILE is free software; you can redistribute it and/or modify it
8 ## under the terms of the GNU Lesser General Public License as
9 ## published by the Free Software Foundation; either version 3, or
10 ## (at your option) any later version.
11 ##
12 ## GUILE is distributed in the hope that it will be useful, but
13 ## WITHOUT ANY WARRANTY; without even the implied warranty of
14 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 ## GNU Lesser General Public License for more details.
16 ##
17 ## You should have received a copy of the GNU Lesser General Public
18 ## License along with GUILE; see the file COPYING.LESSER. If not,
19 ## write to the Free Software Foundation, Inc., 51 Franklin Street,
20 ## Fifth Floor, Boston, MA 02110-1301 USA
21
22 AUTOMAKE_OPTIONS = gnu
23
24 ## Prevent automake from adding extra -I options
25 DEFS = @DEFS@
26
27 # Override Automake's `DEFAULT_INCLUDES'. By default, it contains
28 # "-I$(srcdir)", which causes problems on Tru64 where our "random.h"
29 # is picked up by <stdlib.h> instead of the libc's <random.h>.
30 DEFAULT_INCLUDES =
31
32 ## Check for headers in $(srcdir)/.., so that #include
33 ## <libguile/MUMBLE.h> will find MUMBLE.h in this dir when we're
34 ## building. Also look for Gnulib headers in `lib'.
35 AM_CPPFLAGS = -DBUILDING_LIBGUILE=1 -I$(top_srcdir) -I$(top_builddir) \
36 -I$(top_srcdir)/lib -I$(top_builddir)/lib
37
38 AM_CFLAGS = $(GCC_CFLAGS) $(CFLAG_VISIBILITY)
39
40 ## The Gnulib Libtool archive.
41 gnulib_library = $(top_builddir)/lib/libgnu.la
42
43 ETAGS_ARGS = --regex='/SCM_\(GLOBAL_\)?\(G?PROC\|G?PROC1\|SYMBOL\|VCELL\|CONST_LONG\).*\"\([^\"]\)*\"/\3/' \
44 --regex='/[ \t]*SCM_[G]?DEFINE1?[ \t]*(\([^,]*\),[^,]*/\1/'
45
46 lib_LTLIBRARIES = libguile.la \
47 libguile-i18n-v-@LIBGUILE_I18N_MAJOR@.la
48 bin_PROGRAMS = guile
49
50 noinst_PROGRAMS = guile_filter_doc_snarfage gen-scmconfig
51
52 gen_scmconfig_SOURCES = gen-scmconfig.c
53
54 ## Override default rule; this should be compiled for BUILD host.
55 ## For some reason, OBJEXT does not include the dot
56 gen-scmconfig.$(OBJEXT): gen-scmconfig.c
57 if [ "$(cross_compiling)" = "yes" ]; then \
58 $(CC_FOR_BUILD) $(DEFS) $(DEFAULT_INCLUDES) $(AM_CPPFLAGS) -c -o $@ $<; \
59 else \
60 $(COMPILE) -c -o $@ $<; \
61 fi
62
63 ## Override default rule; this should run on BUILD host.
64 gen-scmconfig$(EXEEXT): $(gen_scmconfig_OBJECTS) $(gen_scmconfig_DEPENDENCIES)
65 @rm -f gen-scmconfig$(EXEEXT)
66 if [ "$(cross_compiling)" = "yes" ]; then \
67 $(CCLD_FOR_BUILD) -o $@ $(gen_scmconfig_OBJECTS); \
68 else \
69 $(LINK) $(gen_scmconfig_OBJECTS) $(LDADD) $(LIBS); \
70 fi
71
72 scmconfig.h: ${top_builddir}/config.h gen-scmconfig$(EXEEXT)
73 rm -f scmconfig.h.tmp
74 cat $(srcdir)/scmconfig.h.top > scmconfig.h.tmp
75 ./gen-scmconfig$(EXEEXT) >> scmconfig.h.tmp
76 chmod 444 scmconfig.h.tmp
77 rm -f scmconfig.h
78 mv scmconfig.h.tmp scmconfig.h
79
80 guile_filter_doc_snarfage_SOURCES = c-tokenize.c
81
82 ## Override default rule; this should be compiled for BUILD host.
83 ## For some reason, OBJEXT does not include the dot
84 c-tokenize.$(OBJEXT): c-tokenize.c
85 if [ "$(cross_compiling)" = "yes" ]; then \
86 $(CC_FOR_BUILD) $(DEFS) $(AM_CPPFLAGS) -c -o $@ $<; \
87 else \
88 $(filter-out -Werror,$(COMPILE)) -c -o $@ $<; \
89 fi
90
91 ## Override default rule; this should run on BUILD host.
92 guile_filter_doc_snarfage$(EXEEXT): $(guile_filter_doc_snarfage_OBJECTS) $(guile_filter_doc_snarfage_DEPENDENCIES)
93 @rm -f guile_filter_doc_snarfage$(EXEEXT)
94 if [ "$(cross_compiling)" = "yes" ]; then \
95 $(CCLD_FOR_BUILD) -o $@ $(guile_filter_doc_snarfage_OBJECTS); \
96 else \
97 $(LINK) $(guile_filter_doc_snarfage_OBJECTS) $(LDADD) $(LIBS); \
98 fi
99
100
101 guile_SOURCES = guile.c
102 guile_CFLAGS = $(GUILE_CFLAGS) $(AM_CFLAGS)
103 guile_LDADD = libguile.la
104 guile_LDFLAGS = $(GUILE_CFLAGS)
105
106 libguile_la_CFLAGS = $(GUILE_CFLAGS) $(AM_CFLAGS)
107
108 libguile_la_SOURCES = alist.c arbiters.c async.c backtrace.c boolean.c \
109 bytevectors.c chars.c continuations.c \
110 convert.c debug.c deprecation.c \
111 deprecated.c discouraged.c dynwind.c eq.c error.c \
112 eval.c evalext.c extensions.c feature.c fluids.c fports.c \
113 futures.c gc.c gc-mark.c gc-segment.c gc-malloc.c gc-card.c \
114 gc-freelist.c gc_os_dep.c gdbint.c gettext.c gc-segment-table.c \
115 goops.c gsubr.c \
116 guardians.c hash.c hashtab.c hooks.c init.c inline.c \
117 ioext.c keywords.c lang.c list.c load.c macros.c mallocs.c \
118 modules.c numbers.c objects.c objprop.c options.c pairs.c ports.c \
119 print.c procprop.c procs.c properties.c \
120 r6rs-ports.c random.c rdelim.c read.c \
121 root.c rw.c scmsigs.c script.c simpos.c smob.c sort.c srcprop.c \
122 stackchk.c stacks.c stime.c strings.c srfi-4.c srfi-13.c srfi-14.c \
123 strorder.c strports.c struct.c symbols.c threads.c null-threads.c \
124 throw.c values.c variable.c vectors.c version.c vports.c weaks.c \
125 ramap.c unif.c
126
127 # vm-related sources
128 libguile_la_SOURCES += frames.c instructions.c objcodes.c programs.c vm.c
129
130 libguile_i18n_v_@LIBGUILE_I18N_MAJOR@_la_SOURCES = i18n.c
131 libguile_i18n_v_@LIBGUILE_I18N_MAJOR@_la_CFLAGS = \
132 $(libguile_la_CFLAGS)
133 libguile_i18n_v_@LIBGUILE_I18N_MAJOR@_la_LIBADD = \
134 libguile.la $(gnulib_library)
135 libguile_i18n_v_@LIBGUILE_I18N_MAJOR@_la_LDFLAGS = \
136 -module -L$(builddir) -lguile \
137 -version-info @LIBGUILE_I18N_INTERFACE@
138
139 DOT_X_FILES = alist.x arbiters.x async.x backtrace.x boolean.x \
140 bytevectors.x chars.x \
141 continuations.x debug.x deprecation.x deprecated.x discouraged.x \
142 dynl.x dynwind.x eq.x error.x eval.x evalext.x \
143 extensions.x feature.x fluids.x fports.x futures.x gc.x gc-mark.x \
144 gc-segment.x gc-malloc.x gc-card.x gettext.x goops.x \
145 gsubr.x guardians.x gc-segment-table.x \
146 hash.x hashtab.x hooks.x i18n.x init.x ioext.x keywords.x lang.x \
147 list.x load.x macros.x mallocs.x modules.x numbers.x objects.x \
148 objprop.x options.x pairs.x ports.x print.x procprop.x procs.x \
149 properties.x r6rs-ports.x random.x rdelim.x \
150 read.x root.x rw.x scmsigs.x \
151 script.x simpos.x smob.x sort.x srcprop.x stackchk.x stacks.x \
152 stime.x strings.x srfi-4.x srfi-13.x srfi-14.x strorder.x \
153 strports.x struct.x symbols.x threads.x throw.x values.x \
154 variable.x vectors.x version.x vports.x weaks.x ramap.x unif.x
155
156 # vm-related snarfs
157 DOT_X_FILES += frames.x instructions.x objcodes.x programs.x vm.x
158
159 EXTRA_DOT_X_FILES = @EXTRA_DOT_X_FILES@
160
161 DOT_DOC_FILES = alist.doc arbiters.doc async.doc backtrace.doc \
162 boolean.doc bytevectors.doc chars.doc \
163 continuations.doc debug.doc deprecation.doc \
164 deprecated.doc discouraged.doc dynl.doc dynwind.doc \
165 eq.doc error.doc eval.doc evalext.doc \
166 extensions.doc feature.doc fluids.doc fports.doc futures.doc \
167 gc.doc goops.doc gsubr.doc gc-mark.doc gc-segment.doc \
168 gc-malloc.doc gc-card.doc gettext.doc gc-segment-table.doc \
169 guardians.doc hash.doc hashtab.doc \
170 hooks.doc i18n.doc init.doc ioext.doc keywords.doc lang.doc \
171 list.doc load.doc macros.doc mallocs.doc modules.doc numbers.doc \
172 objects.doc objprop.doc options.doc pairs.doc ports.doc print.doc \
173 procprop.doc procs.doc properties.doc r6rs-ports.doc \
174 random.doc rdelim.doc \
175 read.doc root.doc rw.doc scmsigs.doc script.doc simpos.doc \
176 smob.doc sort.doc srcprop.doc stackchk.doc stacks.doc stime.doc \
177 strings.doc srfi-4.doc srfi-13.doc srfi-14.doc strorder.doc \
178 strports.doc struct.doc symbols.doc threads.doc throw.doc \
179 values.doc variable.doc vectors.doc version.doc vports.doc \
180 weaks.doc ramap.doc unif.doc
181
182 EXTRA_DOT_DOC_FILES = @EXTRA_DOT_DOC_FILES@
183
184 DOT_I_FILES = vm-i-system.i vm-i-scheme.i vm-i-loader.i
185
186 .c.i:
187 grep '^VM_DEFINE' $< > $@
188
189 BUILT_SOURCES = cpp_err_symbols.c cpp_sig_symbols.c libpath.h \
190 version.h scmconfig.h \
191 $(DOT_I_FILES) $(DOT_X_FILES) $(EXTRA_DOT_X_FILES)
192
193 EXTRA_libguile_la_SOURCES = _scm.h \
194 inet_aton.c memmove.c putenv.c strerror.c \
195 dynl.c regex-posix.c \
196 filesys.c posix.c net_db.c socket.c \
197 debug-malloc.c mkstemp.c \
198 win32-uname.c win32-dirent.c win32-socket.c \
199 locale-categories.h
200
201 ## delete guile-snarf.awk from the installation bindir, in case it's
202 ## lingering there due to an earlier guile version not having been
203 ## wiped out.
204 install-exec-hook:
205 rm -f $(DESTDIR)$(bindir)/guile-snarf.awk
206
207 ## This is kind of nasty... there are ".c" files that we don't want to
208 ## compile, since they are #included. So instead we list them here.
209 ## Perhaps we can deal with them normally once the merge seems to be
210 ## working.
211 noinst_HEADERS = convert.i.c \
212 conv-integer.i.c conv-uinteger.i.c \
213 eval.i.c ieee-754.h \
214 srfi-4.i.c \
215 quicksort.i.c \
216 win32-uname.h win32-dirent.h win32-socket.h \
217 private-gc.h private-options.h
218
219 # vm instructions
220 noinst_HEADERS += vm-engine.c vm-i-system.c vm-i-scheme.c vm-i-loader.c
221
222 libguile_la_DEPENDENCIES = @LIBLOBJS@
223 libguile_la_LIBADD = @LIBLOBJS@ $(gnulib_library) $(LTLIBGMP) $(LTLIBUNISTRING)
224 libguile_la_LDFLAGS = @LTLIBINTL@ -version-info @LIBGUILE_INTERFACE_CURRENT@:@LIBGUILE_INTERFACE_REVISION@:@LIBGUILE_INTERFACE_AGE@ -export-dynamic -no-undefined
225
226 if HAVE_LD_VERSION_SCRIPT
227
228 libguile_la_LDFLAGS += -Wl,--version-script="$(srcdir)/libguile.map"
229
230 endif HAVE_LD_VERSION_SCRIPT
231
232
233 # These are headers visible as <guile/mumble.h>
234 pkginclude_HEADERS =
235
236 # These are headers visible as <libguile/mumble.h>.
237 modincludedir = $(includedir)/libguile
238 modinclude_HEADERS = __scm.h alist.h arbiters.h async.h backtrace.h \
239 boolean.h bytevectors.h chars.h continuations.h convert.h \
240 debug.h debug-malloc.h \
241 deprecation.h deprecated.h discouraged.h dynl.h dynwind.h \
242 eq.h error.h eval.h evalext.h extensions.h \
243 feature.h filesys.h fluids.h fports.h futures.h gc.h \
244 gdb_interface.h gdbint.h gettext.h goops.h \
245 gsubr.h guardians.h hash.h \
246 hashtab.h hooks.h i18n.h init.h inline.h ioext.h iselect.h \
247 keywords.h lang.h list.h load.h macros.h mallocs.h modules.h \
248 net_db.h numbers.h objects.h objprop.h options.h pairs.h ports.h \
249 posix.h r6rs-ports.h regex-posix.h print.h \
250 procprop.h procs.h properties.h \
251 random.h ramap.h rdelim.h read.h root.h rw.h scmsigs.h validate.h \
252 script.h simpos.h smob.h snarf.h socket.h sort.h srcprop.h \
253 stackchk.h stacks.h stime.h strings.h srfi-4.h srfi-13.h srfi-14.h \
254 strorder.h strports.h struct.h symbols.h tags.h threads.h \
255 pthread-threads.h null-threads.h throw.h unif.h values.h \
256 variable.h vectors.h vports.h weaks.h
257
258 modinclude_HEADERS += vm-bootstrap.h frames.h instructions.h objcodes.h \
259 programs.h vm.h vm-engine.h vm-expand.h
260
261 nodist_modinclude_HEADERS = version.h scmconfig.h
262
263 bin_SCRIPTS = guile-snarf
264
265 # We can re-enable install for some of these if/when they are documented
266 # and people feel like maintaining them. For now, this is not the case.
267 noinst_SCRIPTS = guile-doc-snarf guile-snarf-docs guile-func-name-check
268
269 EXTRA_DIST = ChangeLog-scm ChangeLog-threads \
270 ChangeLog-1996-1999 ChangeLog-2000 ChangeLog-2008 cpp_signal.c \
271 cpp_errno.c cpp_err_symbols.in cpp_err_symbols.c \
272 cpp_sig_symbols.c cpp_sig_symbols.in cpp_cnvt.awk \
273 c-tokenize.lex version.h.in \
274 scmconfig.h.top libgettext.h libguile.map
275 # $(DOT_DOC_FILES) $(EXTRA_DOT_DOC_FILES) \
276 # guile-procedures.txt guile.texi
277
278 ## We use @-...-@ as the substitution brackets here, instead of the
279 ## usual @...@, so autoconf doesn't go and substitute the values
280 ## directly into the left-hand sides of the sed substitutions. *sigh*
281 version.h: version.h.in
282 sed < $(srcdir)/version.h.in > $@.tmp \
283 -e s:@-GUILE_MAJOR_VERSION-@:${GUILE_MAJOR_VERSION}: \
284 -e s:@-GUILE_MINOR_VERSION-@:${GUILE_MINOR_VERSION}: \
285 -e s:@-GUILE_MICRO_VERSION-@:${GUILE_MICRO_VERSION}:
286 mv $@.tmp $@
287
288 ## FIXME: Consider using timestamp file, to avoid unnecessary rebuilds.
289 libpath.h: $(srcdir)/Makefile.in $(top_builddir)/config.status
290 @echo "Generating libpath.h..."
291 @rm -f libpath.tmp
292 @echo '/* generated by Makefile */' > libpath.tmp
293 @echo '#define SCM_PKGDATA_DIR "$(pkgdatadir)"' >> libpath.tmp
294 @echo '#define SCM_LIBRARY_DIR "$(pkgdatadir)/$(GUILE_EFFECTIVE_VERSION)"'>>libpath.tmp
295 @echo '#define SCM_SITE_DIR "$(pkgdatadir)/site"' >> libpath.tmp
296 @echo '#define SCM_CCACHE_DIR "$(pkglibdir)/$(GUILE_EFFECTIVE_VERSION)/ccache"' >> libpath.tmp
297 @echo '#define SCM_EFFECTIVE_VERSION "$(GUILE_EFFECTIVE_VERSION)"' >> libpath.tmp
298 @echo '#define SCM_BUILD_INFO { \' >> libpath.tmp
299 @echo ' { "srcdir", "'"`cd @srcdir@; pwd`"'" }, \' >> libpath.tmp
300 @echo ' { "top_srcdir", "@top_srcdir_absolute@" }, \' >> libpath.tmp
301 @echo ' { "prefix", "@prefix@" }, \' >> libpath.tmp
302 @echo ' { "exec_prefix", "@exec_prefix@" }, \' >> libpath.tmp
303 @echo ' { "bindir", "@bindir@" }, \' >> libpath.tmp
304 @echo ' { "sbindir", "@sbindir@" }, \' >> libpath.tmp
305 @echo ' { "libexecdir", "@libexecdir@" }, \' >> libpath.tmp
306 @echo ' { "datadir", "@datadir@" }, \' >> libpath.tmp
307 @echo ' { "sysconfdir", "@sysconfdir@" }, \' >> libpath.tmp
308 @echo ' { "sharedstatedir", "@sharedstatedir@" }, \' >> libpath.tmp
309 @echo ' { "localstatedir", "@localstatedir@" }, \' >> libpath.tmp
310 @echo ' { "libdir", "@libdir@" }, \' >> libpath.tmp
311 @echo ' { "ccachedir", SCM_CCACHE_DIR }, \' >> libpath.tmp
312 @echo ' { "infodir", "@infodir@" }, \' >> libpath.tmp
313 @echo ' { "mandir", "@mandir@" }, \' >> libpath.tmp
314 @echo ' { "includedir", "@includedir@" }, \' >> libpath.tmp
315 @echo ' { "pkgdatadir", "@pkgdatadir@" }, \' >> libpath.tmp
316 @echo ' { "pkglibdir", "@pkglibdir@" }, \' >> libpath.tmp
317 @echo ' { "pkgincludedir", "@pkgincludedir@" }, \' \
318 >> libpath.tmp
319 @echo ' { "guileversion", "@GUILE_VERSION@" }, \' >> libpath.tmp
320 @echo ' { "libguileinterface", "@LIBGUILE_INTERFACE@" }, \' \
321 >> libpath.tmp
322 @echo ' { "LIBS", "@GUILE_LIBS@" }, \' >> libpath.tmp
323 @echo ' { "CFLAGS", "@GUILE_CFLAGS@" }, \' >> libpath.tmp
324 @echo ' { "buildstamp", "'"`date`"'" }, \' >> libpath.tmp
325 @echo '}' >> libpath.tmp
326 @mv libpath.tmp libpath.h
327
328
329 snarfcppopts = $(DEFS) $(AM_CPPFLAGS) $(CPPFLAGS) $(CFLAGS)
330
331 SUFFIXES = .x .doc
332 .c.x:
333 ./guile-snarf -o $@ $< $(snarfcppopts)
334 .c.doc:
335 -$(AWK) -f ./guile-func-name-check $<
336 (./guile-snarf-docs $(snarfcppopts) $< | \
337 ./guile_filter_doc_snarfage$(EXEEXT) --filter-snarfage) > $@ || { rm $@; false; }
338
339 $(DOT_X_FILES) $(EXTRA_DOT_X_FILES): scmconfig.h snarf.h guile-snarf.in
340
341 $(DOT_DOC_FILES) $(EXTRA_DOT_DOC_FILES): scmconfig.h snarf.h guile-snarf-docs.in guile_filter_doc_snarfage$(EXEEXT)
342
343 error.x: cpp_err_symbols.c
344 posix.x: cpp_sig_symbols.c
345 load.x: libpath.h
346
347 alldotdocfiles = $(DOT_DOC_FILES) $(EXTRA_DOT_DOC_FILES)
348 snarf2checkedtexi = GUILE_AUTO_COMPILE=0 $(top_builddir)/meta/uninstalled-env guile-tools snarf-check-and-output-texi
349 dotdoc2texi = cat $(alldotdocfiles) | $(snarf2checkedtexi)
350
351 guile.texi: $(alldotdocfiles) guile$(EXEEXT)
352 $(dotdoc2texi) --manual > $@ || { rm $@; false; }
353
354 guile-procedures.texi: $(alldotdocfiles) guile$(EXEEXT)
355 $(dotdoc2texi) > $@ || { rm $@; false; }
356
357 if HAVE_MAKEINFO
358
359 guile-procedures.txt: guile-procedures.texi
360 rm -f $@
361 makeinfo --force -o $@ guile-procedures.texi || test -f $@
362
363 else
364
365 guile-procedures.txt: guile-procedures.texi
366 cp guile-procedures.texi $@
367
368 endif
369
370 c-tokenize.c: c-tokenize.lex
371 flex -t $(srcdir)/c-tokenize.lex > $@ || { rm $@; false; }
372
373 schemelibdir = $(pkgdatadir)/$(GUILE_EFFECTIVE_VERSION)
374 schemelib_DATA = guile-procedures.txt
375
376 ## Add -MG to make the .x magic work with auto-dep code.
377 MKDEP = gcc -M -MG $(DEFS) $(AM_CPPFLAGS) $(CPPFLAGS) $(CFLAGS)
378
379 cpp_err_symbols.c: cpp_err_symbols.in cpp_cnvt.awk
380 $(AWK) -f $(srcdir)/cpp_cnvt.awk < $(srcdir)/cpp_err_symbols.in > \
381 cpp_err_symbols.tmp
382 mv cpp_err_symbols.tmp cpp_err_symbols.c
383
384 cpp_sig_symbols.c: cpp_sig_symbols.in cpp_cnvt.awk
385 $(AWK) -f $(srcdir)/cpp_cnvt.awk < $(srcdir)/cpp_sig_symbols.in > \
386 cpp_sig_symbols.tmp
387 mv cpp_sig_symbols.tmp cpp_sig_symbols.c
388
389 ## Create a new version of the cpp_sig_symbols.in file, including all SIGXXX
390 ## macros defined on this platform.
391 check_signals:
392 gcc -undef -dM -E $(srcdir)/cpp_signal.c | egrep ' SIG[A-Z]+' \
393 | cut -f2 -d' ' | sort > cpp_sig_symbols_here
394 diff -u $(srcdir)/cpp_sig_symbols.in cpp_sig_symbols_here \
395 | egrep '^\+S' \
396 | cut -c2- > cpp_sig_symbols_diff
397 if test -s cpp_sig_symbols_diff ; then \
398 cat $(srcdir)/cpp_sig_symbols.in cpp_sig_symbols_diff \
399 | sort > cpp_sig_symbols_new ;\
400 echo "cpp_sig_symbols_new has the following additions:" ;\
401 cat cpp_sig_symbols_diff ;\
402 else echo "No new symbols found."; \
403 fi
404
405 ## Likewise for cpp_err_symbols.in.
406 check_errnos:
407 gcc -undef -dM -E $(srcdir)/cpp_errno.c | egrep ' E.+' \
408 | cut -f2 -d' ' | sort > cpp_err_symbols_here
409 diff -u $(srcdir)/cpp_err_symbols.in cpp_err_symbols_here \
410 | egrep '^\+E' \
411 | cut -c2- > cpp_err_symbols_diff
412 if test -s cpp_err_symbols_diff ; then \
413 cat $(srcdir)/cpp_err_symbols.in cpp_err_symbols_diff \
414 | sort > cpp_err_symbols_new ;\
415 echo "cpp_err_symbols_new has the following additions:" ;\
416 cat cpp_err_symbols_diff ;\
417 else echo "No new symbols found."; \
418 fi
419
420 MOSTLYCLEANFILES = \
421 cpp_err_symbols_here cpp_err_symbols_diff cpp_err_symbols_new \
422 cpp_sig_symbols_here cpp_sig_symbols_diff cpp_sig_symbols_new \
423 version.h version.h.tmp \
424 scmconfig.h scmconfig.h.tmp
425
426 CLEANFILES = libpath.h *.x *.doc guile-procedures.txt guile-procedures.texi guile.texi \
427 vm-i-*.i
428
429 MAINTAINERCLEANFILES = c-tokenize.c