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