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