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