* guile-snarf.in: Be sure to exit with an error if CPP does.
[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 OBJDUMP = @OBJDUMP@
80 PACKAGE = @PACKAGE@
81 QTHREAD_LTLIBS = @QTHREAD_LTLIBS@
82 RANLIB = @RANLIB@
83 THREAD_CPPFLAGS = @THREAD_CPPFLAGS@
84 THREAD_LIBS_INSTALLED = @THREAD_LIBS_INSTALLED@
85 THREAD_LIBS_LOCAL = @THREAD_LIBS_LOCAL@
86 THREAD_PACKAGE = @THREAD_PACKAGE@
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 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 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 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
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 6: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 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
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 gh_data.lo gh_eval.lo gh_funcs.lo gh_init.lo gh_io.lo \
169 gh_list.lo gh_predicates.lo gsubr.lo guardians.lo hash.lo hashtab.lo \
170 init.lo ioext.lo keywords.lo lang.lo list.lo load.lo macros.lo \
171 mallocs.lo modules.lo net_db.lo numbers.lo objects.lo objprop.lo \
172 options.lo pairs.lo ports.lo posix.lo print.lo procprop.lo procs.lo \
173 ramap.lo random.lo read.lo root.lo scmsigs.lo script.lo simpos.lo \
174 smob.lo socket.lo sort.lo srcprop.lo stackchk.lo stacks.lo stime.lo \
175 strings.lo strop.lo strorder.lo strports.lo struct.lo symbols.lo tag.lo \
176 throw.lo unif.lo variable.lo vectors.lo version.lo vports.lo weaks.lo
177 PROGRAMS = $(bin_PROGRAMS)
178
179 guile_OBJECTS = guile.o
180 guile_DEPENDENCIES = libguile.la
181 guile_LDFLAGS =
182 gh_test_c_OBJECTS = gh_test_c.o
183 gh_test_c_DEPENDENCIES = libguile.la
184 gh_test_c_LDFLAGS =
185 gh_test_repl_OBJECTS = gh_test_repl.o
186 gh_test_repl_DEPENDENCIES = libguile.la
187 gh_test_repl_LDFLAGS =
188 SCRIPTS = $(bin_SCRIPTS)
189
190 CFLAGS = @CFLAGS@
191 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
192 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
193 CCLD = $(CC)
194 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
195 DATA = $(modinclude_DATA)
196
197 HEADERS = $(include_HEADERS) $(modinclude_HEADERS) $(noinst_HEADERS) \
198 $(pkginclude_HEADERS)
199
200 DIST_COMMON = ./stamp-h.in COPYING ChangeLog Makefile.am Makefile.in \
201 guile-snarf.in scmconfig.h.in versiondat.h.in
202
203
204 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
205
206 TAR = tar
207 GZIP_ENV = --best
208 DEP_FILES = .deps/alist.P .deps/alloca.P .deps/arbiters.P .deps/async.P \
209 .deps/backtrace.P .deps/boolean.P .deps/chars.P .deps/continuations.P \
210 .deps/cpp_err_symbols.P .deps/cpp_sig_symbols.P .deps/debug.P \
211 .deps/dynl.P .deps/dynwind.P .deps/eq.P .deps/error.P .deps/eval.P \
212 .deps/evalext.P .deps/feature.P .deps/filesys.P .deps/fluids.P \
213 .deps/fports.P .deps/gc.P .deps/gdbint.P .deps/gh_data.P \
214 .deps/gh_eval.P .deps/gh_funcs.P .deps/gh_init.P .deps/gh_io.P \
215 .deps/gh_list.P .deps/gh_predicates.P .deps/gh_test_c.P \
216 .deps/gh_test_repl.P .deps/gsubr.P .deps/guardians.P .deps/guile.P \
217 .deps/hash.P .deps/hashtab.P .deps/inet_aton.P .deps/init.P \
218 .deps/ioext.P .deps/iselect.P .deps/keywords.P .deps/lang.P \
219 .deps/list.P .deps/load.P .deps/macros.P .deps/mallocs.P \
220 .deps/modules.P .deps/net_db.P .deps/numbers.P .deps/objects.P \
221 .deps/objprop.P .deps/options.P .deps/pairs.P .deps/ports.P \
222 .deps/posix.P .deps/print.P .deps/procprop.P .deps/procs.P \
223 .deps/putenv.P .deps/ramap.P .deps/random.P .deps/read.P \
224 .deps/regex-posix.P .deps/root.P .deps/scmsigs.P .deps/script.P \
225 .deps/simpos.P .deps/smob.P .deps/socket.P .deps/sort.P .deps/srcprop.P \
226 .deps/stackchk.P .deps/stacks.P .deps/stime.P .deps/strerror.P \
227 .deps/strings.P .deps/strop.P .deps/strorder.P .deps/strports.P \
228 .deps/struct.P .deps/symbols.P .deps/tag.P .deps/threads.P \
229 .deps/throw.P .deps/unif.P .deps/variable.P .deps/vectors.P \
230 .deps/version.P .deps/vports.P .deps/weaks.P
231 SOURCES = $(libguile_la_SOURCES) $(EXTRA_libguile_la_SOURCES) $(guile_SOURCES) $(gh_test_c_SOURCES) $(gh_test_repl_SOURCES)
232 OBJECTS = $(libguile_la_OBJECTS) $(guile_OBJECTS) $(gh_test_c_OBJECTS) $(gh_test_repl_OBJECTS)
233
234 all: all-redirect
235 .SUFFIXES:
236 .SUFFIXES: .S .c .lo .o .s .x
237 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
238 cd $(top_srcdir) && $(AUTOMAKE) --foreign libguile/Makefile
239
240 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
241 cd $(top_builddir) \
242 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
243
244
245 scmconfig.h: stamp-h
246 @if test ! -f $@; then \
247 rm -f stamp-h; \
248 $(MAKE) stamp-h; \
249 else :; fi
250 stamp-h: $(srcdir)/scmconfig.h.in $(top_builddir)/config.status
251 cd $(top_builddir) \
252 && CONFIG_FILES= CONFIG_HEADERS=libguile/scmconfig.h \
253 $(SHELL) ./config.status
254 @echo timestamp > stamp-h 2> /dev/null
255 $(srcdir)/scmconfig.h.in: @MAINTAINER_MODE_TRUE@$(srcdir)/stamp-h.in
256 @if test ! -f $@; then \
257 rm -f $(srcdir)/stamp-h.in; \
258 $(MAKE) $(srcdir)/stamp-h.in; \
259 else :; fi
260 $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4)
261 cd $(top_srcdir) && $(AUTOHEADER)
262 @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
263
264 mostlyclean-hdr:
265
266 clean-hdr:
267
268 distclean-hdr:
269 -rm -f scmconfig.h
270
271 maintainer-clean-hdr:
272 guile-snarf: $(top_builddir)/config.status guile-snarf.in
273 cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
274 versiondat.h: $(top_builddir)/config.status versiondat.h.in
275 cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
276
277 mostlyclean-libLTLIBRARIES:
278
279 clean-libLTLIBRARIES:
280 -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
281
282 distclean-libLTLIBRARIES:
283
284 maintainer-clean-libLTLIBRARIES:
285
286 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
287 @$(NORMAL_INSTALL)
288 $(mkinstalldirs) $(DESTDIR)$(libdir)
289 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
290 if test -f $$p; then \
291 echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p"; \
292 $(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p; \
293 else :; fi; \
294 done
295
296 uninstall-libLTLIBRARIES:
297 @$(NORMAL_UNINSTALL)
298 list='$(lib_LTLIBRARIES)'; for p in $$list; do \
299 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
300 done
301
302 .s.o:
303 $(COMPILE) -c $<
304
305 .S.o:
306 $(COMPILE) -c $<
307
308 mostlyclean-compile:
309 -rm -f *.o core *.core
310
311 clean-compile:
312
313 distclean-compile:
314 -rm -f *.tab.c
315
316 maintainer-clean-compile:
317
318 .s.lo:
319 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
320
321 .S.lo:
322 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
323
324 mostlyclean-libtool:
325 -rm -f *.lo
326
327 clean-libtool:
328 -rm -rf .libs _libs
329
330 distclean-libtool:
331
332 maintainer-clean-libtool:
333
334 libguile.la: $(libguile_la_OBJECTS) $(libguile_la_DEPENDENCIES)
335 $(LINK) -rpath $(libdir) $(libguile_la_LDFLAGS) $(libguile_la_OBJECTS) $(libguile_la_LIBADD) $(LIBS)
336
337 mostlyclean-binPROGRAMS:
338
339 clean-binPROGRAMS:
340 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
341
342 distclean-binPROGRAMS:
343
344 maintainer-clean-binPROGRAMS:
345
346 install-binPROGRAMS: $(bin_PROGRAMS)
347 @$(NORMAL_INSTALL)
348 $(mkinstalldirs) $(DESTDIR)$(bindir)
349 @list='$(bin_PROGRAMS)'; for p in $$list; do \
350 if test -f $$p; then \
351 echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
352 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
353 else :; fi; \
354 done
355
356 uninstall-binPROGRAMS:
357 @$(NORMAL_UNINSTALL)
358 list='$(bin_PROGRAMS)'; for p in $$list; do \
359 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
360 done
361
362 mostlyclean-checkPROGRAMS:
363
364 clean-checkPROGRAMS:
365 -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
366
367 distclean-checkPROGRAMS:
368
369 maintainer-clean-checkPROGRAMS:
370
371 guile: $(guile_OBJECTS) $(guile_DEPENDENCIES)
372 @rm -f guile
373 $(LINK) $(guile_LDFLAGS) $(guile_OBJECTS) $(guile_LDADD) $(LIBS)
374
375 gh_test_c: $(gh_test_c_OBJECTS) $(gh_test_c_DEPENDENCIES)
376 @rm -f gh_test_c
377 $(LINK) $(gh_test_c_LDFLAGS) $(gh_test_c_OBJECTS) $(gh_test_c_LDADD) $(LIBS)
378
379 gh_test_repl: $(gh_test_repl_OBJECTS) $(gh_test_repl_DEPENDENCIES)
380 @rm -f gh_test_repl
381 $(LINK) $(gh_test_repl_LDFLAGS) $(gh_test_repl_OBJECTS) $(gh_test_repl_LDADD) $(LIBS)
382
383 install-binSCRIPTS: $(bin_SCRIPTS)
384 @$(NORMAL_INSTALL)
385 $(mkinstalldirs) $(DESTDIR)$(bindir)
386 @list='$(bin_SCRIPTS)'; for p in $$list; do \
387 if test -f $$p; then \
388 echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
389 $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
390 else if test -f $(srcdir)/$$p; then \
391 echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
392 $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
393 else :; fi; fi; \
394 done
395
396 uninstall-binSCRIPTS:
397 @$(NORMAL_UNINSTALL)
398 list='$(bin_SCRIPTS)'; for p in $$list; do \
399 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
400 done
401
402 install-modincludeDATA: $(modinclude_DATA)
403 @$(NORMAL_INSTALL)
404 $(mkinstalldirs) $(DESTDIR)$(modincludedir)
405 @list='$(modinclude_DATA)'; for p in $$list; do \
406 if test -f $(srcdir)/$$p; then \
407 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(modincludedir)/$$p"; \
408 $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(modincludedir)/$$p; \
409 else if test -f $$p; then \
410 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(modincludedir)/$$p"; \
411 $(INSTALL_DATA) $$p $(DESTDIR)$(modincludedir)/$$p; \
412 fi; fi; \
413 done
414
415 uninstall-modincludeDATA:
416 @$(NORMAL_UNINSTALL)
417 list='$(modinclude_DATA)'; for p in $$list; do \
418 rm -f $(DESTDIR)$(modincludedir)/$$p; \
419 done
420
421 install-includeHEADERS: $(include_HEADERS)
422 @$(NORMAL_INSTALL)
423 $(mkinstalldirs) $(DESTDIR)$(includedir)
424 @list='$(include_HEADERS)'; for p in $$list; do \
425 if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
426 echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p"; \
427 $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p; \
428 done
429
430 uninstall-includeHEADERS:
431 @$(NORMAL_UNINSTALL)
432 list='$(include_HEADERS)'; for p in $$list; do \
433 rm -f $(DESTDIR)$(includedir)/$$p; \
434 done
435
436 install-modincludeHEADERS: $(modinclude_HEADERS)
437 @$(NORMAL_INSTALL)
438 $(mkinstalldirs) $(DESTDIR)$(modincludedir)
439 @list='$(modinclude_HEADERS)'; for p in $$list; do \
440 if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
441 echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(modincludedir)/$$p"; \
442 $(INSTALL_DATA) $$d$$p $(DESTDIR)$(modincludedir)/$$p; \
443 done
444
445 uninstall-modincludeHEADERS:
446 @$(NORMAL_UNINSTALL)
447 list='$(modinclude_HEADERS)'; for p in $$list; do \
448 rm -f $(DESTDIR)$(modincludedir)/$$p; \
449 done
450
451 install-pkgincludeHEADERS: $(pkginclude_HEADERS)
452 @$(NORMAL_INSTALL)
453 $(mkinstalldirs) $(DESTDIR)$(pkgincludedir)
454 @list='$(pkginclude_HEADERS)'; for p in $$list; do \
455 if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
456 echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(pkgincludedir)/$$p"; \
457 $(INSTALL_DATA) $$d$$p $(DESTDIR)$(pkgincludedir)/$$p; \
458 done
459
460 uninstall-pkgincludeHEADERS:
461 @$(NORMAL_UNINSTALL)
462 list='$(pkginclude_HEADERS)'; for p in $$list; do \
463 rm -f $(DESTDIR)$(pkgincludedir)/$$p; \
464 done
465
466 tags: TAGS
467
468 ID: $(HEADERS) $(SOURCES) $(LISP)
469 list='$(SOURCES) $(HEADERS)'; \
470 unique=`for i in $$list; do echo $$i; done | \
471 awk ' { files[$$0] = 1; } \
472 END { for (i in files) print i; }'`; \
473 here=`pwd` && cd $(srcdir) \
474 && mkid -f$$here/ID $$unique $(LISP)
475
476 TAGS: $(HEADERS) $(SOURCES) scmconfig.h.in $(TAGS_DEPENDENCIES) $(LISP)
477 tags=; \
478 here=`pwd`; \
479 list='$(SOURCES) $(HEADERS)'; \
480 unique=`for i in $$list; do echo $$i; done | \
481 awk ' { files[$$0] = 1; } \
482 END { for (i in files) print i; }'`; \
483 test -z "$(ETAGS_ARGS)scmconfig.h.in$$unique$(LISP)$$tags" \
484 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags scmconfig.h.in $$unique $(LISP) -o $$here/TAGS)
485
486 mostlyclean-tags:
487
488 clean-tags:
489
490 distclean-tags:
491 -rm -f TAGS ID
492
493 maintainer-clean-tags:
494
495 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
496
497 subdir = libguile
498
499 distdir: $(DISTFILES)
500 here=`cd $(top_builddir) && pwd`; \
501 top_distdir=`cd $(top_distdir) && pwd`; \
502 distdir=`cd $(distdir) && pwd`; \
503 cd $(top_srcdir) \
504 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign libguile/Makefile
505 @for file in $(DISTFILES); do \
506 d=$(srcdir); \
507 if test -d $$d/$$file; then \
508 cp -pr $$/$$file $(distdir)/$$file; \
509 else \
510 test -f $(distdir)/$$file \
511 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
512 || cp -p $$d/$$file $(distdir)/$$file || :; \
513 fi; \
514 done
515
516 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
517
518 -include $(DEP_FILES)
519
520 mostlyclean-depend:
521
522 clean-depend:
523
524 distclean-depend:
525 -rm -rf .deps
526
527 maintainer-clean-depend:
528
529 %.o: %.c
530 @echo '$(COMPILE) -c $<'; \
531 $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
532 @-cp .deps/$(*F).pp .deps/$(*F).P; \
533 tr ' ' '\012' < .deps/$(*F).pp \
534 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
535 >> .deps/$(*F).P; \
536 rm .deps/$(*F).pp
537
538 %.lo: %.c
539 @echo '$(LTCOMPILE) -c $<'; \
540 $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
541 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
542 < .deps/$(*F).pp > .deps/$(*F).P; \
543 tr ' ' '\012' < .deps/$(*F).pp \
544 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
545 >> .deps/$(*F).P; \
546 rm -f .deps/$(*F).pp
547 info-am:
548 info: info-am
549 dvi-am:
550 dvi: dvi-am
551 check-am: all-am
552 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
553 $(MAKE) $(AM_MAKEFLAGS) check-local
554 check: check-am
555 installcheck-am:
556 installcheck: installcheck-am
557 all-recursive-am: scmconfig.h
558 $(MAKE) $(AM_MAKEFLAGS) all-recursive
559
560 install-exec-am: install-libLTLIBRARIES install-binPROGRAMS \
561 install-binSCRIPTS
562 install-exec: install-exec-am
563
564 install-data-am: install-modincludeDATA install-includeHEADERS \
565 install-modincludeHEADERS install-pkgincludeHEADERS
566 install-data: install-data-am
567
568 install-am: all-am
569 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
570 install: install-am
571 uninstall-am: uninstall-libLTLIBRARIES uninstall-binPROGRAMS \
572 uninstall-binSCRIPTS uninstall-modincludeDATA \
573 uninstall-includeHEADERS uninstall-modincludeHEADERS \
574 uninstall-pkgincludeHEADERS
575 uninstall: uninstall-am
576 all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(DATA) \
577 $(HEADERS) scmconfig.h
578 all-redirect: all-am
579 install-strip:
580 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
581 installdirs:
582 $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) \
583 $(DESTDIR)$(bindir) $(DESTDIR)$(modincludedir) \
584 $(DESTDIR)$(includedir) $(DESTDIR)$(modincludedir) \
585 $(DESTDIR)$(pkgincludedir)
586
587
588 mostlyclean-generic:
589 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
590
591 clean-generic:
592 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
593
594 distclean-generic:
595 -rm -f Makefile $(CONFIG_CLEAN_FILES)
596 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
597 -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
598
599 maintainer-clean-generic:
600 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
601 mostlyclean-am: mostlyclean-hdr mostlyclean-libLTLIBRARIES \
602 mostlyclean-compile mostlyclean-libtool \
603 mostlyclean-binPROGRAMS mostlyclean-checkPROGRAMS \
604 mostlyclean-tags mostlyclean-depend mostlyclean-generic
605
606 mostlyclean: mostlyclean-am
607
608 clean-am: clean-hdr clean-libLTLIBRARIES clean-compile clean-libtool \
609 clean-binPROGRAMS clean-checkPROGRAMS clean-tags \
610 clean-depend clean-generic mostlyclean-am
611
612 clean: clean-am
613
614 distclean-am: distclean-hdr distclean-libLTLIBRARIES distclean-compile \
615 distclean-libtool distclean-binPROGRAMS \
616 distclean-checkPROGRAMS distclean-tags distclean-depend \
617 distclean-generic clean-am
618 -rm -f libtool
619
620 distclean: distclean-am
621
622 maintainer-clean-am: maintainer-clean-hdr \
623 maintainer-clean-libLTLIBRARIES \
624 maintainer-clean-compile maintainer-clean-libtool \
625 maintainer-clean-binPROGRAMS \
626 maintainer-clean-checkPROGRAMS maintainer-clean-tags \
627 maintainer-clean-depend maintainer-clean-generic \
628 distclean-am
629 @echo "This command is intended for maintainers to use;"
630 @echo "it deletes files that may require special tools to rebuild."
631
632 maintainer-clean: maintainer-clean-am
633
634 .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
635 mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
636 clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
637 uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
638 distclean-compile clean-compile maintainer-clean-compile \
639 mostlyclean-libtool distclean-libtool clean-libtool \
640 maintainer-clean-libtool mostlyclean-binPROGRAMS distclean-binPROGRAMS \
641 clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
642 install-binPROGRAMS mostlyclean-checkPROGRAMS distclean-checkPROGRAMS \
643 clean-checkPROGRAMS maintainer-clean-checkPROGRAMS uninstall-binSCRIPTS \
644 install-binSCRIPTS uninstall-modincludeDATA install-modincludeDATA \
645 uninstall-includeHEADERS install-includeHEADERS \
646 uninstall-modincludeHEADERS install-modincludeHEADERS \
647 uninstall-pkgincludeHEADERS install-pkgincludeHEADERS tags \
648 mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
649 distdir mostlyclean-depend distclean-depend clean-depend \
650 maintainer-clean-depend info-am info dvi-am dvi check-local check \
651 check-am installcheck-am installcheck all-recursive-am install-exec-am \
652 install-exec install-data-am install-data install-am install \
653 uninstall-am uninstall all-redirect all-am all installdirs \
654 mostlyclean-generic distclean-generic clean-generic \
655 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
656
657
658 check-local:
659 echo '(+ 1 2 3)' | GUILE_LOAD_PATH=${top_srcdir}:.. ./gh_test_c; echo
660 echo '(+ 1 2 3)' | GUILE_LOAD_PATH=${top_srcdir}:.. ./gh_test_repl; echo
661
662 libpath.h: $(srcdir)/Makefile.in $(top_builddir)/config.status
663 @echo "Generating libpath.h..."
664 @rm -f libpath.tmp
665 @echo '/* generated by Makefile */' > libpath.tmp
666 @echo '#define SCM_PKGDATA_DIR "$(pkgdatadir)"' >> libpath.tmp
667 @echo '#define SCM_LIBRARY_DIR "$(pkgdatadir)/$(VERSION)"'>>libpath.tmp
668 @echo '#define SCM_SITE_DIR "$(pkgdatadir)/site"' >> libpath.tmp
669 @echo '#define SCM_BUILD_INFO { \' >> libpath.tmp
670 @echo ' { "srcdir", "'"`cd @srcdir@; pwd`"'" }, \' >> libpath.tmp
671 @echo ' { "top_srcdir", "'"`cd @top_srcdir@; pwd`"'" }, \' \
672 >> libpath.tmp
673 @echo ' { "prefix", "@prefix@" }, \' >> libpath.tmp
674 @echo ' { "exec_prefix", "@exec_prefix@" }, \' >> libpath.tmp
675 @echo ' { "bindir", "@bindir@" }, \' >> libpath.tmp
676 @echo ' { "sbindir", "@sbindir@" }, \' >> libpath.tmp
677 @echo ' { "libexecdir", "@libexecdir@" }, \' >> libpath.tmp
678 @echo ' { "datadir", "@datadir@" }, \' >> libpath.tmp
679 @echo ' { "sysconfdir", "@sysconfdir@" }, \' >> libpath.tmp
680 @echo ' { "sharedstatedir", "@sharedstatedir@" }, \' >> libpath.tmp
681 @echo ' { "localstatedir", "@localstatedir@" }, \' >> libpath.tmp
682 @echo ' { "libdir", "@libdir@" }, \' >> libpath.tmp
683 @echo ' { "infodir", "@infodir@" }, \' >> libpath.tmp
684 @echo ' { "mandir", "@mandir@" }, \' >> libpath.tmp
685 @echo ' { "includedir", "@includedir@" }, \' >> libpath.tmp
686 @echo ' { "pkgdatadir", "$(datadir)/@PACKAGE@" }, \' >> libpath.tmp
687 @echo ' { "pkglibdir", "$(libdir)/@PACKAGE@" }, \' >> libpath.tmp
688 @echo ' { "pkgincludedir", "$(includedir)/@PACKAGE@" }, \' \
689 >> libpath.tmp
690 @echo ' { "LIBS", "@GUILE_LIBS@" }, \' >> libpath.tmp
691 @echo '}' >> libpath.tmp
692 @mv libpath.tmp libpath.h
693 .c.x:
694 ./guile-snarf $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $< > $@ \
695 || (rm $@; false)
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: