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