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