* Makefile.in: Rebuilt.
[bpt/guile.git] / libguile / Makefile.in
1 # Makefile.in generated automatically by automake 1.2c from Makefile.am
2
3 # Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
7
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11 # PARTICULAR PURPOSE.
12
13
14 SHELL = /bin/sh
15
16 srcdir = @srcdir@
17 top_srcdir = @top_srcdir@
18 VPATH = @srcdir@
19 prefix = @prefix@
20 exec_prefix = @exec_prefix@
21
22 bindir = @bindir@
23 sbindir = @sbindir@
24 libexecdir = @libexecdir@
25 datadir = @datadir@
26 sysconfdir = @sysconfdir@
27 sharedstatedir = @sharedstatedir@
28 localstatedir = @localstatedir@
29 libdir = @libdir@
30 infodir = @infodir@
31 mandir = @mandir@
32 includedir = @includedir@
33 oldincludedir = /usr/include
34
35 pkgdatadir = $(datadir)/@PACKAGE@
36 pkglibdir = $(libdir)/@PACKAGE@
37 pkgincludedir = $(includedir)/@PACKAGE@
38
39 top_builddir = ..
40
41 ACLOCAL = @ACLOCAL@
42 AUTOCONF = @AUTOCONF@
43 AUTOMAKE = @AUTOMAKE@
44 AUTOHEADER = @AUTOHEADER@
45
46 INSTALL = @INSTALL@
47 INSTALL_PROGRAM = @INSTALL_PROGRAM@
48 INSTALL_DATA = @INSTALL_DATA@
49 INSTALL_SCRIPT = @INSTALL_SCRIPT@
50 transform = @program_transform_name@
51
52 NORMAL_INSTALL = true
53 PRE_INSTALL = true
54 POST_INSTALL = true
55 NORMAL_UNINSTALL = true
56 PRE_UNINSTALL = true
57 POST_UNINSTALL = true
58 host_alias = @host_alias@
59 host_triplet = @host@
60 AWK = @AWK@
61 CC = @CC@
62 CPP = @CPP@
63 GUILE_MAJOR_VERSION = @GUILE_MAJOR_VERSION@
64 GUILE_MINOR_VERSION = @GUILE_MINOR_VERSION@
65 GUILE_STAMP = @GUILE_STAMP@
66 GUILE_VERSION = @GUILE_VERSION@
67 LD = @LD@
68 LIBLOBJS = @LIBLOBJS@
69 LIBTOOL = @LIBTOOL@
70 LN_S = @LN_S@
71 MAINT = @MAINT@
72 MAKEINFO = @MAKEINFO@
73 NM = @NM@
74 PACKAGE = @PACKAGE@
75 RANLIB = @RANLIB@
76 VERSION = @VERSION@
77 qtmd_h = @qtmd_h@
78 qtmdb_s = @qtmdb_s@
79 qtmdc_c = @qtmdc_c@
80 qtmdc_o = @qtmdc_o@
81 qtmds_o = @qtmds_o@
82 qtmds_s = @qtmds_s@
83 target_libs = @target_libs@
84
85 AUTOMAKE_OPTIONS = foreign
86
87 INCLUDES = -I.. -I$(srcdir)/..
88
89 ETAGS_ARGS = --regex='/SCM_\(GLOBAL_\)?\(PROC\|PROC1\|SYMBOL\|VCELL\|CONST_LONG\).*\"\([^\"]\)*\"/\3/'
90
91 lib_LTLIBRARIES = libguile.la
92 bin_PROGRAMS = guile
93
94 guile_SOURCES = guile.c
95 guile_LDADD = libguile.la ${THREAD_LIBS}
96
97 libguile_la_SOURCES = \
98 alist.c appinit.c arbiters.c async.c boolean.c chars.c \
99 continuations.c dynl.c dynwind.c eq.c error.c eval.c \
100 feature.c filesys.c fports.c gc.c gdbint.c genio.c gh_data.c gh_eval.c \
101 gh_funcs.c gh_init.c gh_io.c gh_list.c gh_predicates.c gsubr.c hash.c \
102 hashtab.c init.c ioext.c kw.c list.c load.c mallocs.c markers.c \
103 net_db.c numbers.c objects.c objprop.c options.c pairs.c \
104 ports.c posix.c print.c procprop.c procs.c ramap.c read.c root.c \
105 scmsigs.c script.c simpos.c smob.c socket.c stackchk.c stime.c \
106 strings.c strop.c strorder.c strports.c struct.c symbols.c tag.c \
107 throw.c unif.c variable.c vectors.c version.c vports.c weaks.c \
108 fluids.c
109
110 EXTRA_libguile_la_SOURCES = _scm.h \
111 backtrace.c stacks.c debug.c srcprop.c \
112 strerror.c inet_aton.c putenv.c \
113 threads.c alloca.c \
114 regex-posix.c
115
116 noinst_HEADERS = coop-threads.c coop-threads.h coop.c
117
118 libguile_la_DEPENDENCIES = @LIBLOBJS@
119 libguile_la_LIBADD = @LIBLOBJS@
120 libguile_la_LDFLAGS = -version-info 2:0 -rpath $(libdir)
121
122 include_HEADERS = libguile.h
123
124 # These are headers visible as <guile/mumble.h>
125 pkginclude_HEADERS = gh.h
126
127 # These are headers visible as <libguile/mumble.h>.
128 modincludedir = $(includedir)/libguile
129 modinclude_HEADERS = __scm.h alist.h arbiters.h async.h \
130 backtrace.h boolean.h chars.h continuations.h debug.h dynl.h dynwind.h \
131 eq.h error.h eval.h feature.h filesys.h fports.h gc.h \
132 gdb_interface.h gdbint.h genio.h gsubr.h hash.h hashtab.h init.h \
133 ioext.h kw.h list.h load.h mallocs.h markers.h net_db.h \
134 numbers.h objects.h objprop.h options.h pairs.h ports.h posix.h \
135 regex-posix.h print.h procprop.h procs.h ramap.h read.h root.h scmsigs.h \
136 script.h simpos.h smob.h socket.h srcprop.h stackchk.h stacks.h \
137 stime.h strings.h strop.h strorder.h strports.h struct.h symbols.h \
138 tag.h tags.h throw.h unif.h variable.h vectors.h version.h vports.h \
139 weaks.h snarf.h threads.h coop-defs.h fluids.h
140
141 modinclude_DATA = scmconfig.h
142
143 bin_SCRIPTS = guile-snarf
144
145 THREAD_LIBS = @THREAD_LIBS@
146 check_ldadd = libguile.la ${THREAD_LIBS}
147 check_PROGRAMS = gh_test_c gh_test_repl
148 gh_test_c_SOURCES = gh_test_c.c
149 gh_test_c_LDADD = ${check_ldadd}
150 gh_test_repl_SOURCES = gh_test_repl.c
151 gh_test_repl_LDADD = ${check_ldadd}
152
153 EXTRA_DIST = ChangeLog-gh ChangeLog-scm ChangeLog-threads dynl-dl.c \
154 dynl-dld.c dynl-shl.c dynl-vms.c DYNAMIC-LINKING cpp_signal.c cpp_errno.c \
155 cpp_err_symbols.in cpp_sig_symbols.in cpp_cnvt.awk coop-threads.h.cygnus \
156 coop-threads.c.cygnus mit-pthreads.h mit-pthreads.c fsu-pthreads.h
157
158 SUFFIXES = .x
159
160 MKDEP = gcc -M -MG $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
161
162 MOSTLYCLEANFILES = \
163 cpp_err_symbols_here cpp_err_symbols_diff cpp_err_symbols_new \
164 cpp_sig_symbols_here cpp_sig_symbols_diff cpp_sig_symbols_new
165
166 CLEANFILES = versiondat.h libpath.h
167
168 DISTCLEANFILES = *.x
169 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
170 CONFIG_HEADER = scmconfig.h
171 CONFIG_CLEAN_FILES = guile-snarf
172 LTLIBRARIES = $(lib_LTLIBRARIES)
173
174
175 DEFS = @DEFS@ -I. -I$(srcdir) -I.
176 CPPFLAGS = @CPPFLAGS@
177 LDFLAGS = @LDFLAGS@
178 LIBS = @LIBS@
179 libguile_la_OBJECTS = alist.lo appinit.lo arbiters.lo async.lo \
180 boolean.lo chars.lo continuations.lo dynl.lo dynwind.lo eq.lo error.lo \
181 eval.lo feature.lo filesys.lo fports.lo gc.lo gdbint.lo genio.lo \
182 gh_data.lo gh_eval.lo gh_funcs.lo gh_init.lo gh_io.lo gh_list.lo \
183 gh_predicates.lo gsubr.lo hash.lo hashtab.lo init.lo ioext.lo kw.lo \
184 list.lo load.lo mallocs.lo markers.lo net_db.lo numbers.lo objects.lo \
185 objprop.lo options.lo pairs.lo ports.lo posix.lo print.lo procprop.lo \
186 procs.lo ramap.lo read.lo root.lo scmsigs.lo script.lo simpos.lo \
187 smob.lo socket.lo stackchk.lo stime.lo strings.lo strop.lo strorder.lo \
188 strports.lo struct.lo symbols.lo tag.lo throw.lo unif.lo variable.lo \
189 vectors.lo version.lo vports.lo weaks.lo fluids.lo
190 PROGRAMS = $(bin_PROGRAMS)
191
192 guile_OBJECTS = guile.o
193 guile_DEPENDENCIES = libguile.la
194 guile_LDFLAGS =
195 gh_test_c_OBJECTS = gh_test_c.o
196 gh_test_c_DEPENDENCIES = libguile.la
197 gh_test_c_LDFLAGS =
198 gh_test_repl_OBJECTS = gh_test_repl.o
199 gh_test_repl_DEPENDENCIES = libguile.la
200 gh_test_repl_LDFLAGS =
201 SCRIPTS = $(bin_SCRIPTS)
202
203 CFLAGS = @CFLAGS@
204 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
205 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
206 LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
207 DATA = $(modinclude_DATA)
208
209 HEADERS = $(include_HEADERS) $(modinclude_HEADERS) $(noinst_HEADERS) \
210 $(pkginclude_HEADERS)
211
212 DIST_COMMON = COPYING ChangeLog Makefile.am Makefile.in guile-snarf.in \
213 scmconfig.h.in stamp-h.in
214
215
216 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
217
218 TAR = tar
219 GZIP = --best
220 DEP_FILES = .deps/alist.P .deps/alloca.P .deps/appinit.P \
221 .deps/arbiters.P .deps/async.P .deps/backtrace.P .deps/boolean.P \
222 .deps/chars.P .deps/continuations.P .deps/debug.P .deps/dynl.P \
223 .deps/dynwind.P .deps/eq.P .deps/error.P .deps/eval.P .deps/feature.P \
224 .deps/filesys.P .deps/fluids.P .deps/fports.P .deps/gc.P .deps/gdbint.P \
225 .deps/genio.P .deps/gh_data.P .deps/gh_eval.P .deps/gh_funcs.P \
226 .deps/gh_init.P .deps/gh_io.P .deps/gh_list.P .deps/gh_predicates.P \
227 .deps/gh_test_c.P .deps/gh_test_repl.P .deps/gsubr.P .deps/guile.P \
228 .deps/hash.P .deps/hashtab.P .deps/inet_aton.P .deps/init.P \
229 .deps/ioext.P .deps/kw.P .deps/list.P .deps/load.P .deps/mallocs.P \
230 .deps/markers.P .deps/net_db.P .deps/numbers.P .deps/objects.P \
231 .deps/objprop.P .deps/options.P .deps/pairs.P .deps/ports.P \
232 .deps/posix.P .deps/print.P .deps/procprop.P .deps/procs.P \
233 .deps/putenv.P .deps/ramap.P .deps/read.P .deps/regex-posix.P \
234 .deps/root.P .deps/scmsigs.P .deps/script.P .deps/simpos.P .deps/smob.P \
235 .deps/socket.P .deps/srcprop.P .deps/stackchk.P .deps/stacks.P \
236 .deps/stime.P .deps/strerror.P .deps/strings.P .deps/strop.P \
237 .deps/strorder.P .deps/strports.P .deps/struct.P .deps/symbols.P \
238 .deps/tag.P .deps/threads.P .deps/throw.P .deps/unif.P .deps/variable.P \
239 .deps/vectors.P .deps/version.P .deps/vports.P .deps/weaks.P
240 SOURCES = $(libguile_la_SOURCES) $(EXTRA_libguile_la_SOURCES) $(guile_SOURCES) $(gh_test_c_SOURCES) $(gh_test_repl_SOURCES)
241 OBJECTS = $(libguile_la_OBJECTS) $(guile_OBJECTS) $(gh_test_c_OBJECTS) $(gh_test_repl_OBJECTS)
242
243 default: all
244
245 .SUFFIXES:
246 .SUFFIXES: .c .lo .o .x
247 $(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
248 cd $(top_srcdir) && $(AUTOMAKE) --foreign libguile/Makefile
249
250 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
251 cd $(top_builddir) \
252 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
253
254
255 scmconfig.h: stamp-h
256 @:
257 stamp-h: $(srcdir)/scmconfig.h.in $(top_builddir)/config.status
258 cd $(top_builddir) \
259 && CONFIG_FILES= CONFIG_HEADERS=libguile/scmconfig.h \
260 $(SHELL) ./config.status
261 @echo timestamp > stamp-h
262 $(srcdir)/scmconfig.h.in: @MAINT@$(srcdir)/stamp-h.in
263 $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4)
264 cd $(top_srcdir) && $(AUTOHEADER)
265 @echo timestamp > $(srcdir)/stamp-h.in
266
267 mostlyclean-hdr:
268
269 clean-hdr:
270
271 distclean-hdr:
272 -rm -f scmconfig.h
273
274 maintainer-clean-hdr:
275 guile-snarf: $(top_builddir)/config.status guile-snarf.in
276 cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
277
278 mostlyclean-libLTLIBRARIES:
279
280 clean-libLTLIBRARIES:
281 -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
282
283 distclean-libLTLIBRARIES:
284
285 maintainer-clean-libLTLIBRARIES:
286
287 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
288 @$(NORMAL_INSTALL)
289 $(mkinstalldirs) $(libdir)
290 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
291 if test -f $$p; then \
292 echo "$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(libdir)/$$p"; \
293 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(libdir)/$$p; \
294 else :; fi; \
295 done
296
297 uninstall-libLTLIBRARIES:
298 $(NORMAL_UNINSTALL)
299 list='$(lib_LTLIBRARIES)'; for p in $$list; do \
300 $(LIBTOOL) --mode=uninstall rm -f $(libdir)/$$p; \
301 done
302
303 .c.o:
304 $(COMPILE) -c $<
305
306 mostlyclean-compile:
307 -rm -f *.o core
308
309 clean-compile:
310
311 distclean-compile:
312 -rm -f *.tab.c
313
314 maintainer-clean-compile:
315
316 .c.lo:
317 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
318
319 mostlyclean-libtool:
320 -rm -f *.lo
321
322 clean-libtool:
323 -rm -rf .libs
324
325 distclean-libtool:
326
327 maintainer-clean-libtool:
328
329 libguile.la: $(libguile_la_OBJECTS) $(libguile_la_DEPENDENCIES)
330 $(LINK) -rpath $(libdir) $(libguile_la_LDFLAGS) $(libguile_la_OBJECTS) $(libguile_la_LIBADD) $(LIBS)
331
332 mostlyclean-binPROGRAMS:
333
334 clean-binPROGRAMS:
335 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
336
337 distclean-binPROGRAMS:
338
339 maintainer-clean-binPROGRAMS:
340
341 install-binPROGRAMS: $(bin_PROGRAMS)
342 @$(NORMAL_INSTALL)
343 $(mkinstalldirs) $(bindir)
344 @list='$(bin_PROGRAMS)'; for p in $$list; do \
345 if test -f $$p; then \
346 echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`"; \
347 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
348 else :; fi; \
349 done
350
351 uninstall-binPROGRAMS:
352 $(NORMAL_UNINSTALL)
353 list='$(bin_PROGRAMS)'; for p in $$list; do \
354 rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
355 done
356
357 mostlyclean-checkPROGRAMS:
358
359 clean-checkPROGRAMS:
360 -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
361
362 distclean-checkPROGRAMS:
363
364 maintainer-clean-checkPROGRAMS:
365
366 guile: $(guile_OBJECTS) $(guile_DEPENDENCIES)
367 @rm -f guile
368 $(LINK) $(guile_LDFLAGS) $(guile_OBJECTS) $(guile_LDADD) $(LIBS)
369
370 gh_test_c: $(gh_test_c_OBJECTS) $(gh_test_c_DEPENDENCIES)
371 @rm -f gh_test_c
372 $(LINK) $(gh_test_c_LDFLAGS) $(gh_test_c_OBJECTS) $(gh_test_c_LDADD) $(LIBS)
373
374 gh_test_repl: $(gh_test_repl_OBJECTS) $(gh_test_repl_DEPENDENCIES)
375 @rm -f gh_test_repl
376 $(LINK) $(gh_test_repl_LDFLAGS) $(gh_test_repl_OBJECTS) $(gh_test_repl_LDADD) $(LIBS)
377
378 install-binSCRIPTS: $(bin_SCRIPTS)
379 @$(NORMAL_INSTALL)
380 $(mkinstalldirs) $(bindir)
381 @list='$(bin_SCRIPTS)'; for p in $$list; do \
382 if test -f $$p; then \
383 echo " $(INSTALL_SCRIPT) $$p $(bindir)/`echo $$p|sed '$(transform)'`"; \
384 $(INSTALL_SCRIPT) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
385 else if test -f $(srcdir)/$$p; then \
386 echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(bindir)/`echo $$p|sed '$(transform)'`"; \
387 $(INSTALL_SCRIPT) $(srcdir)/$$p $(bindir)/`echo $$p|sed '$(transform)'`; \
388 else :; fi; fi; \
389 done
390
391 uninstall-binSCRIPTS:
392 $(NORMAL_UNINSTALL)
393 list='$(bin_SCRIPTS)'; for p in $$list; do \
394 rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
395 done
396
397 install-modincludeDATA: $(modinclude_DATA)
398 @$(NORMAL_INSTALL)
399 $(mkinstalldirs) $(modincludedir)
400 @list='$(modinclude_DATA)'; for p in $$list; do \
401 if test -f $(srcdir)/$$p; then \
402 echo " $(INSTALL_DATA) $(srcdir)/$$p $(modincludedir)/$$p"; \
403 $(INSTALL_DATA) $(srcdir)/$$p $(modincludedir)/$$p; \
404 else if test -f $$p; then \
405 echo " $(INSTALL_DATA) $$p $(modincludedir)/$$p"; \
406 $(INSTALL_DATA) $$p $(modincludedir)/$$p; \
407 fi; fi; \
408 done
409
410 uninstall-modincludeDATA:
411 $(NORMAL_UNINSTALL)
412 list='$(modinclude_DATA)'; for p in $$list; do \
413 rm -f $(modincludedir)/$$p; \
414 done
415
416 install-includeHEADERS: $(include_HEADERS)
417 @$(NORMAL_INSTALL)
418 $(mkinstalldirs) $(includedir)
419 @list='$(include_HEADERS)'; for p in $$list; do \
420 echo " $(INSTALL_DATA) $(srcdir)/$$p $(includedir)/$$p"; \
421 $(INSTALL_DATA) $(srcdir)/$$p $(includedir)/$$p; \
422 done
423
424 uninstall-includeHEADERS:
425 $(NORMAL_UNINSTALL)
426 list='$(include_HEADERS)'; for p in $$list; do \
427 rm -f $(includedir)/$$p; \
428 done
429
430 install-modincludeHEADERS: $(modinclude_HEADERS)
431 @$(NORMAL_INSTALL)
432 $(mkinstalldirs) $(modincludedir)
433 @list='$(modinclude_HEADERS)'; for p in $$list; do \
434 echo " $(INSTALL_DATA) $(srcdir)/$$p $(modincludedir)/$$p"; \
435 $(INSTALL_DATA) $(srcdir)/$$p $(modincludedir)/$$p; \
436 done
437
438 uninstall-modincludeHEADERS:
439 $(NORMAL_UNINSTALL)
440 list='$(modinclude_HEADERS)'; for p in $$list; do \
441 rm -f $(modincludedir)/$$p; \
442 done
443
444 install-pkgincludeHEADERS: $(pkginclude_HEADERS)
445 @$(NORMAL_INSTALL)
446 $(mkinstalldirs) $(pkgincludedir)
447 @list='$(pkginclude_HEADERS)'; for p in $$list; do \
448 echo " $(INSTALL_DATA) $(srcdir)/$$p $(pkgincludedir)/$$p"; \
449 $(INSTALL_DATA) $(srcdir)/$$p $(pkgincludedir)/$$p; \
450 done
451
452 uninstall-pkgincludeHEADERS:
453 $(NORMAL_UNINSTALL)
454 list='$(pkginclude_HEADERS)'; for p in $$list; do \
455 rm -f $(pkgincludedir)/$$p; \
456 done
457
458 tags: TAGS
459
460 ID: $(HEADERS) $(SOURCES)
461 here=`pwd` && cd $(srcdir) && mkid -f$$here/ID $(SOURCES) $(HEADERS)
462
463 TAGS: $(HEADERS) $(SOURCES) scmconfig.h.in $(TAGS_DEPENDENCIES)
464 tags=; \
465 here=`pwd`; \
466 test -z "$(ETAGS_ARGS)scmconfig.h.in$(SOURCES)$(HEADERS)$$tags" \
467 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags scmconfig.h.in $(SOURCES) $(HEADERS) -o $$here/TAGS)
468
469 mostlyclean-tags:
470
471 clean-tags:
472
473 distclean-tags:
474 -rm -f TAGS ID
475
476 maintainer-clean-tags:
477
478 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
479
480 subdir = libguile
481
482 distdir: $(DISTFILES)
483 here=`cd $(top_builddir) && pwd`; \
484 top_distdir=`cd $(top_distdir) && pwd`; \
485 distdir=`cd $(distdir) && pwd`; \
486 cd $(top_srcdir) \
487 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign libguile/Makefile
488 @for file in $(DISTFILES); do \
489 d=$(srcdir); \
490 test -f $(distdir)/$$file \
491 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
492 || cp -p $$d/$$file $(distdir)/$$file; \
493 done
494
495 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
496 -include .deps/.P
497 .deps/.P: $(BUILT_SOURCES)
498 echo > $@
499
500 -include $(DEP_FILES)
501
502 mostlyclean-depend:
503
504 clean-depend:
505
506 distclean-depend:
507
508 maintainer-clean-depend:
509 -rm -rf .deps
510
511 .deps/%.P: %.c
512 @echo "Computing dependencies for $<..."
513 @o='o'; \
514 test -n "$o" && o='$$o'; \
515 $(MKDEP) $< >$@.tmp \
516 && sed "s,^\(.*\)\.o:,\1.$$o \1.l$$o $@:," < $@.tmp > $@ \
517 && rm -f $@.tmp
518 info:
519 dvi:
520 check: all $(check_PROGRAMS)
521 $(MAKE) check-local
522 installcheck:
523 install-exec: install-libLTLIBRARIES install-binPROGRAMS install-binSCRIPTS
524 @$(NORMAL_INSTALL)
525
526 install-data: install-modincludeDATA install-includeHEADERS install-modincludeHEADERS install-pkgincludeHEADERS
527 @$(NORMAL_INSTALL)
528
529 install: install-exec install-data all
530 @:
531
532 uninstall: uninstall-libLTLIBRARIES uninstall-binPROGRAMS uninstall-binSCRIPTS uninstall-modincludeDATA uninstall-includeHEADERS uninstall-modincludeHEADERS uninstall-pkgincludeHEADERS
533
534 all: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(DATA) $(HEADERS) scmconfig.h
535
536 install-strip:
537 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
538 installdirs:
539 $(mkinstalldirs) $(libdir) $(bindir) $(bindir) $(modincludedir) \
540 $(includedir) $(modincludedir) $(pkgincludedir)
541
542
543 mostlyclean-generic:
544 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
545
546 clean-generic:
547 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
548
549 distclean-generic:
550 -rm -f Makefile $(DISTCLEANFILES)
551 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
552 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
553
554 maintainer-clean-generic:
555 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
556 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
557 mostlyclean: mostlyclean-hdr mostlyclean-libLTLIBRARIES \
558 mostlyclean-compile mostlyclean-libtool \
559 mostlyclean-binPROGRAMS mostlyclean-checkPROGRAMS \
560 mostlyclean-tags mostlyclean-depend mostlyclean-generic
561
562 clean: clean-hdr clean-libLTLIBRARIES clean-compile clean-libtool \
563 clean-binPROGRAMS clean-checkPROGRAMS clean-tags \
564 clean-depend clean-generic mostlyclean
565
566 distclean: distclean-hdr distclean-libLTLIBRARIES distclean-compile \
567 distclean-libtool distclean-binPROGRAMS \
568 distclean-checkPROGRAMS distclean-tags distclean-depend \
569 distclean-generic clean
570 -rm -f config.status
571 -rm -f libtool
572
573 maintainer-clean: maintainer-clean-hdr maintainer-clean-libLTLIBRARIES \
574 maintainer-clean-compile maintainer-clean-libtool \
575 maintainer-clean-binPROGRAMS \
576 maintainer-clean-checkPROGRAMS maintainer-clean-tags \
577 maintainer-clean-depend maintainer-clean-generic \
578 distclean
579 @echo "This command is intended for maintainers to use;"
580 @echo "it deletes files that may require special tools to rebuild."
581
582 .PHONY: default mostlyclean-hdr distclean-hdr clean-hdr \
583 maintainer-clean-hdr mostlyclean-libLTLIBRARIES \
584 distclean-libLTLIBRARIES clean-libLTLIBRARIES \
585 maintainer-clean-libLTLIBRARIES uninstall-libLTLIBRARIES \
586 install-libLTLIBRARIES mostlyclean-compile distclean-compile \
587 clean-compile maintainer-clean-compile mostlyclean-libtool \
588 distclean-libtool clean-libtool maintainer-clean-libtool \
589 mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
590 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
591 mostlyclean-checkPROGRAMS distclean-checkPROGRAMS clean-checkPROGRAMS \
592 maintainer-clean-checkPROGRAMS uninstall-binSCRIPTS install-binSCRIPTS \
593 uninstall-modincludeDATA install-modincludeDATA \
594 uninstall-includeHEADERS install-includeHEADERS \
595 uninstall-modincludeHEADERS install-modincludeHEADERS \
596 uninstall-pkgincludeHEADERS install-pkgincludeHEADERS tags \
597 mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
598 distdir mostlyclean-depend distclean-depend clean-depend \
599 maintainer-clean-depend info dvi check-local installcheck install-exec \
600 install-data install uninstall all installdirs mostlyclean-generic \
601 distclean-generic clean-generic maintainer-clean-generic clean \
602 mostlyclean distclean maintainer-clean
603
604
605 check-local:
606 echo '(+ 1 2 3)' | ./gh_test_c; echo
607 echo '(+ 1 2 3)' | ./gh_test_repl; echo
608
609 libpath.h: Makefile
610 @echo "Generating libpath.h..."
611 @rm -f libpath.tmp
612 @echo '/* generated by Makefile */' > libpath.tmp
613 @echo '#define SCM_PKGDATA_DIR "$(pkgdatadir)"' >> libpath.tmp
614 @echo '#define SCM_LIBRARY_DIR "$(pkgdatadir)/$(VERSION)"'>>libpath.tmp
615 @echo '#define SCM_SITE_DIR "$(pkgdatadir)/site"' >> libpath.tmp
616 @echo '#define SCM_BUILD_INFO { \' >> libpath.tmp
617 @echo ' { "srcdir", "'"`cd @srcdir@; pwd`"'" }, \' >> libpath.tmp
618 @echo ' { "top_srcdir", "'"`cd @top_srcdir@; pwd`"'" }, \' \
619 >> libpath.tmp
620 @echo ' { "prefix", "@prefix@" }, \' >> libpath.tmp
621 @echo ' { "exec_prefix", "@exec_prefix@" }, \' >> libpath.tmp
622 @echo ' { "bindir", "@bindir@" }, \' >> libpath.tmp
623 @echo ' { "sbindir", "@sbindir@" }, \' >> libpath.tmp
624 @echo ' { "libexecdir", "@libexecdir@" }, \' >> libpath.tmp
625 @echo ' { "datadir", "@datadir@" }, \' >> libpath.tmp
626 @echo ' { "sysconfdir", "@sysconfdir@" }, \' >> libpath.tmp
627 @echo ' { "sharedstatedir", "@sharedstatedir@" }, \' >> libpath.tmp
628 @echo ' { "localstatedir", "@localstatedir@" }, \' >> libpath.tmp
629 @echo ' { "libdir", "@libdir@" }, \' >> libpath.tmp
630 @echo ' { "infodir", "@infodir@" }, \' >> libpath.tmp
631 @echo ' { "mandir", "@mandir@" }, \' >> libpath.tmp
632 @echo ' { "includedir", "@includedir@" }, \' >> libpath.tmp
633 @echo ' { "pkgdatadir", "$(datadir)/@PACKAGE@" }, \' >> libpath.tmp
634 @echo ' { "pkglibdir", "$(libdir)/@PACKAGE@" }, \' >> libpath.tmp
635 @echo ' { "pkgincludedir", "$(includedir)/@PACKAGE@" }, \' \
636 >> libpath.tmp
637 @echo ' { "LIBS", "@THREAD_LIBS@" }, \' >> libpath.tmp
638 @echo '}' >> libpath.tmp
639 @mv libpath.tmp libpath.h
640
641 versiondat.h: Makefile
642 @echo "Generating versiondat.h..."
643 @rm -f versiondat.tmp
644 @echo '/* generated by Makefile */' > versiondat.tmp
645 @echo '#define GUILE_VERSION "$(GUILE_VERSION)"' >> versiondat.tmp
646 @echo '#define GUILE_MAJOR_VERSION "$(GUILE_MAJOR_VERSION)"' \
647 >> versiondat.tmp
648 @echo '#define GUILE_MINOR_VERSION "$(GUILE_MINOR_VERSION)"' \
649 >> versiondat.tmp
650 @echo '#define GUILE_STAMP "$(GUILE_STAMP)"' >> versiondat.tmp
651 @mv versiondat.tmp versiondat.h
652 .c.x:
653 ./guile-snarf $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $< > $@
654
655 cpp_err_symbols.c: cpp_err_symbols.in
656 $(AWK) -f $(srcdir)/cpp_cnvt.awk < $(srcdir)/cpp_err_symbols.in > \
657 cpp_err_symbols.tmp
658 mv cpp_err_symbols.tmp cpp_err_symbols.c
659
660 cpp_sig_symbols.c: cpp_sig_symbols.in
661 $(AWK) -f $(srcdir)/cpp_cnvt.awk < $(srcdir)/cpp_sig_symbols.in > \
662 cpp_sig_symbols.tmp
663 mv cpp_sig_symbols.tmp cpp_sig_symbols.c
664
665 check_signals:
666 gcc -undef -dM -E $(srcdir)/cpp_signal.c | egrep ' SIG[A-Z]+' \
667 | cut -f2 -d' ' | sort > cpp_sig_symbols_here
668 diff -u $(srcdir)/cpp_sig_symbols.in cpp_sig_symbols_here \
669 | egrep '^\+S' \
670 | cut -c2- > cpp_sig_symbols_diff
671 if test -s cpp_sig_symbols_diff ; then \
672 cat $(srcdir)/cpp_sig_symbols.in cpp_sig_symbols_diff \
673 | sort > cpp_sig_symbols_new ;\
674 echo "cpp_sig_symbols_new has the following additions:" ;\
675 cat cpp_sig_symbols_diff ;\
676 else echo "No new symbols found."; \
677 fi
678
679 check_errnos:
680 gcc -undef -dM -E $(srcdir)/cpp_errno.c | egrep ' E.+' \
681 | cut -f2 -d' ' | sort > cpp_err_symbols_here
682 diff -u $(srcdir)/cpp_err_symbols.in cpp_err_symbols_here \
683 | egrep '^\+E' \
684 | cut -c2- > cpp_err_symbols_diff
685 if test -s cpp_err_symbols_diff ; then \
686 cat $(srcdir)/cpp_err_symbols.in cpp_err_symbols_diff \
687 | sort > cpp_err_symbols_new ;\
688 echo "cpp_err_symbols_new has the following additions:" ;\
689 cat cpp_err_symbols_diff ;\
690 else echo "No new symbols found."; \
691 fi
692
693 # Tell versions [3.59,3.63) of GNU make to not export all variables.
694 # Otherwise a system limit (for SysV at least) may be exceeded.
695 .NOEXPORT: