Regenerated
[bpt/guile.git] / libguile / Makefile.in
CommitLineData
f7c4cfdd 1# Makefile.in generated automatically by automake 1.4 from Makefile.am
0f2d19dd 2
f7c4cfdd 3# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
733943b9 4# This Makefile.in is free software; the Free Software Foundation
cbab9700
JB
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.
0f2d19dd 12
0f2d19dd 13
f7c4cfdd 14SHELL = @SHELL@
0f2d19dd 15
733943b9
TT
16srcdir = @srcdir@
17top_srcdir = @top_srcdir@
18VPATH = @srcdir@
19prefix = @prefix@
0f2d19dd
JB
20exec_prefix = @exec_prefix@
21
733943b9
TT
22bindir = @bindir@
23sbindir = @sbindir@
24libexecdir = @libexecdir@
25datadir = @datadir@
26sysconfdir = @sysconfdir@
27sharedstatedir = @sharedstatedir@
28localstatedir = @localstatedir@
a2086f6f 29libdir = @libdir@
733943b9
TT
30infodir = @infodir@
31mandir = @mandir@
a2086f6f 32includedir = @includedir@
733943b9 33oldincludedir = /usr/include
0f2d19dd 34
f7c4cfdd 35DESTDIR =
5798fd97 36
733943b9
TT
37pkgdatadir = $(datadir)/@PACKAGE@
38pkglibdir = $(libdir)/@PACKAGE@
39pkgincludedir = $(includedir)/@PACKAGE@
0f2d19dd 40
b1e9e9d1 41top_builddir = ..
0f2d19dd 42
e13d8dc0
JB
43ACLOCAL = @ACLOCAL@
44AUTOCONF = @AUTOCONF@
45AUTOMAKE = @AUTOMAKE@
46AUTOHEADER = @AUTOHEADER@
47
733943b9 48INSTALL = @INSTALL@
f7c4cfdd 49INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
733943b9
TT
50INSTALL_DATA = @INSTALL_DATA@
51INSTALL_SCRIPT = @INSTALL_SCRIPT@
52transform = @program_transform_name@
e13d8dc0 53
341eaef0
GH
54NORMAL_INSTALL = :
55PRE_INSTALL = :
56POST_INSTALL = :
57NORMAL_UNINSTALL = :
58PRE_UNINSTALL = :
59POST_UNINSTALL = :
ef12d978 60host_alias = @host_alias@
e13d8dc0 61host_triplet = @host@
131f97a9 62AS = @AS@
ef12d978 63AWK = @AWK@
ef12d978 64CC = @CC@
de185a27 65CPP = @CPP@
131f97a9 66DLLTOOL = @DLLTOOL@
daa4f38c 67GUILE_LIBS = @GUILE_LIBS@
fef07353
JB
68GUILE_MAJOR_VERSION = @GUILE_MAJOR_VERSION@
69GUILE_MINOR_VERSION = @GUILE_MINOR_VERSION@
70GUILE_STAMP = @GUILE_STAMP@
71GUILE_VERSION = @GUILE_VERSION@
72LD = @LD@
e13d8dc0
JB
73LIBLOBJS = @LIBLOBJS@
74LIBTOOL = @LIBTOOL@
cbab9700 75LN_S = @LN_S@
ef12d978 76MAINT = @MAINT@
de185a27 77MAKEINFO = @MAKEINFO@
cbab9700 78NM = @NM@
2179c70c 79OBJDUMP = @OBJDUMP@
ef12d978 80PACKAGE = @PACKAGE@
a0e6f509 81QTHREAD_LTLIBS = @QTHREAD_LTLIBS@
e13d8dc0 82RANLIB = @RANLIB@
a0e6f509
JB
83THREAD_CPPFLAGS = @THREAD_CPPFLAGS@
84THREAD_LIBS_INSTALLED = @THREAD_LIBS_INSTALLED@
85THREAD_LIBS_LOCAL = @THREAD_LIBS_LOCAL@
86THREAD_PACKAGE = @THREAD_PACKAGE@
e13d8dc0 87VERSION = @VERSION@
a0e6f509 88qtdmdb_s = @qtdmdb_s@
285403bb 89qthread_asflags = @qthread_asflags@
b1e9e9d1 90qtmd_h = @qtmd_h@
b1e9e9d1 91qtmdc_c = @qtmdc_c@
b1e9e9d1 92qtmds_s = @qtmds_s@
0f2d19dd 93
733943b9 94AUTOMAKE_OPTIONS = foreign
60704a73 95
a0e6f509 96INCLUDES = -I.. -I$(srcdir)/.. ${THREAD_CPPFLAGS}
0f2d19dd 97
fef07353
JB
98ETAGS_ARGS = --regex='/SCM_\(GLOBAL_\)?\(PROC\|PROC1\|SYMBOL\|VCELL\|CONST_LONG\).*\"\([^\"]\)*\"/\3/'
99
e13d8dc0 100lib_LTLIBRARIES = libguile.la
0487b82f
JB
101bin_PROGRAMS = guile
102
103guile_SOURCES = guile.c
a0e6f509 104guile_LDADD = libguile.la ${THREAD_LIBS_LOCAL}
ee2a8b9b 105
831e230d 106libguile_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 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
f7c4cfdd
MD
107
108
831e230d 109BUILT_SOURCES = cpp_err_symbols.c cpp_sig_symbols.c libpath.h alist.x arbiters.x async.x backtrace.x boolean.x chars.x continuations.x debug.x dynl.x dynwind.x eq.x error.x eval.x evalext.x feature.x filesys.x fluids.x fports.x gc.x gdbint.x gh_data.x gh_eval.x gh_funcs.x gh_init.x gh_io.x gh_list.x gh_predicates.x gsubr.x guardians.x hash.x hashtab.x init.x ioext.x iselect.x keywords.x list.x load.x macros.x mallocs.x 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
f7c4cfdd
MD
110
111
112EXTRA_libguile_la_SOURCES = _scm.h strerror.c inet_aton.c putenv.c threads.c alloca.c regex-posix.c iselect.c
113
7bfd3b9e
JB
114
115noinst_HEADERS = coop-threads.c coop-threads.h coop.c
116
78bda5f3 117libguile_la_DEPENDENCIES = @LIBLOBJS@
4a5fa91c 118libguile_la_LIBADD = @LIBLOBJS@
c15f9b9d 119libguile_la_LDFLAGS = -version-info 4:0 -export-dynamic
0f2d19dd 120
733943b9 121include_HEADERS = libguile.h
0f2d19dd 122
ee2a8b9b
JB
123# These are headers visible as <guile/mumble.h>
124pkginclude_HEADERS = gh.h
125
733943b9 126# These are headers visible as <libguile/mumble.h>.
5380de6b 127modincludedir = $(includedir)/libguile
104b8084 128modinclude_HEADERS = __scm.h alist.h arbiters.h async.h backtrace.h boolean.h chars.h continuations.h debug.h dynl.h dynwind.h eq.h error.h eval.h evalext.h feature.h filesys.h fports.h gc.h gdb_interface.h gdbint.h genio.h gsubr.h guardians.h hash.h hashtab.h init.h ioext.h keywords.h kw.h list.h load.h macros.h mallocs.h 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
f7c4cfdd 129
733943b9
TT
130
131modinclude_DATA = scmconfig.h
132
adb75a41
TT
133bin_SCRIPTS = guile-snarf
134
a0e6f509 135check_ldadd = libguile.la ${THREAD_LIBS_LOCAL}
ee2a8b9b
JB
136check_PROGRAMS = gh_test_c gh_test_repl
137gh_test_c_SOURCES = gh_test_c.c
138gh_test_c_LDADD = ${check_ldadd}
139gh_test_repl_SOURCES = gh_test_repl.c
140gh_test_repl_LDADD = ${check_ldadd}
141
f7c4cfdd
MD
142EXTRA_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
733943b9
TT
144
145SUFFIXES = .x
146
147MKDEP = gcc -M -MG $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
ee78fbb0 148
f7c4cfdd
MD
149MOSTLYCLEANFILES = 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
9159ebec
TP
151
152CLEANFILES = versiondat.h libpath.h
153
154DISTCLEANFILES = *.x
b1e9e9d1 155mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
733943b9 156CONFIG_HEADER = scmconfig.h
c02daa09 157CONFIG_CLEAN_FILES = guile-snarf versiondat.h
e13d8dc0 158LTLIBRARIES = $(lib_LTLIBRARIES)
733943b9
TT
159
160
161DEFS = @DEFS@ -I. -I$(srcdir) -I.
162CPPFLAGS = @CPPFLAGS@
163LDFLAGS = @LDFLAGS@
164LIBS = @LIBS@
4b422a5a
JB
165libguile_la_OBJECTS = alist.lo arbiters.lo async.lo backtrace.lo \
166boolean.lo chars.lo continuations.lo debug.lo dynl.lo dynwind.lo eq.lo \
09e3ccd7 167error.lo eval.lo evalext.lo feature.lo filesys.lo fluids.lo fports.lo \
831e230d
MD
168gc.lo gdbint.lo gh_data.lo gh_eval.lo gh_funcs.lo gh_init.lo gh_io.lo \
169gh_list.lo gh_predicates.lo gsubr.lo guardians.lo hash.lo hashtab.lo \
170init.lo ioext.lo keywords.lo list.lo load.lo macros.lo mallocs.lo \
171modules.lo net_db.lo numbers.lo objects.lo objprop.lo options.lo \
172pairs.lo ports.lo posix.lo print.lo procprop.lo procs.lo ramap.lo \
173random.lo read.lo root.lo scmsigs.lo script.lo simpos.lo smob.lo \
174socket.lo sort.lo srcprop.lo stackchk.lo stacks.lo stime.lo strings.lo \
175strop.lo strorder.lo strports.lo struct.lo symbols.lo tag.lo throw.lo \
176unif.lo variable.lo vectors.lo version.lo vports.lo weaks.lo
0487b82f
JB
177PROGRAMS = $(bin_PROGRAMS)
178
179guile_OBJECTS = guile.o
180guile_DEPENDENCIES = libguile.la
181guile_LDFLAGS =
ee2a8b9b
JB
182gh_test_c_OBJECTS = gh_test_c.o
183gh_test_c_DEPENDENCIES = libguile.la
184gh_test_c_LDFLAGS =
185gh_test_repl_OBJECTS = gh_test_repl.o
186gh_test_repl_DEPENDENCIES = libguile.la
187gh_test_repl_LDFLAGS =
adb75a41
TT
188SCRIPTS = $(bin_SCRIPTS)
189
733943b9 190CFLAGS = @CFLAGS@
f7c4cfdd
MD
191COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
192LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
193CCLD = $(CC)
194LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
733943b9
TT
195DATA = $(modinclude_DATA)
196
7bfd3b9e 197HEADERS = $(include_HEADERS) $(modinclude_HEADERS) $(noinst_HEADERS) \
ee2a8b9b 198$(pkginclude_HEADERS)
733943b9 199
f7c4cfdd
MD
200DIST_COMMON = ./stamp-h.in COPYING ChangeLog Makefile.am Makefile.in \
201guile-snarf.in scmconfig.h.in versiondat.h.in
733943b9
TT
202
203
e13d8dc0 204DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
733943b9 205
76b7d6a1 206TAR = tar
f7c4cfdd 207GZIP_ENV = --best
5bab3ef8
JB
208DEP_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 \
f7c4cfdd
MD
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 \
831e230d 213.deps/fports.P .deps/gc.P .deps/gdbint.P .deps/gh_data.P \
f7c4cfdd
MD
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 \
f7da6190 218.deps/ioext.P .deps/iselect.P .deps/keywords.P .deps/list.P \
104b8084
MD
219.deps/load.P .deps/macros.P .deps/mallocs.P .deps/modules.P \
220.deps/net_db.P .deps/numbers.P .deps/objects.P .deps/objprop.P \
221.deps/options.P .deps/pairs.P .deps/ports.P .deps/posix.P .deps/print.P \
222.deps/procprop.P .deps/procs.P .deps/putenv.P .deps/ramap.P \
223.deps/random.P .deps/read.P .deps/regex-posix.P .deps/root.P \
224.deps/scmsigs.P .deps/script.P .deps/simpos.P .deps/smob.P \
225.deps/socket.P .deps/sort.P .deps/srcprop.P .deps/stackchk.P \
226.deps/stacks.P .deps/stime.P .deps/strerror.P .deps/strings.P \
227.deps/strop.P .deps/strorder.P .deps/strports.P .deps/struct.P \
228.deps/symbols.P .deps/tag.P .deps/threads.P .deps/throw.P .deps/unif.P \
229.deps/variable.P .deps/vectors.P .deps/version.P .deps/vports.P \
230.deps/weaks.P
0487b82f
JB
231SOURCES = $(libguile_la_SOURCES) $(EXTRA_libguile_la_SOURCES) $(guile_SOURCES) $(gh_test_c_SOURCES) $(gh_test_repl_SOURCES)
232OBJECTS = $(libguile_la_OBJECTS) $(guile_OBJECTS) $(gh_test_c_OBJECTS) $(gh_test_repl_OBJECTS)
733943b9 233
f7c4cfdd 234all: all-redirect
733943b9 235.SUFFIXES:
341eaef0 236.SUFFIXES: .S .c .lo .o .s .x
f7c4cfdd 237$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
b1e9e9d1 238 cd $(top_srcdir) && $(AUTOMAKE) --foreign libguile/Makefile
84da179f 239
d1306c27 240Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
84da179f 241 cd $(top_builddir) \
b1e9e9d1 242 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
84da179f 243
733943b9 244
de185a27 245scmconfig.h: stamp-h
f7c4cfdd
MD
246 @if test ! -f $@; then \
247 rm -f stamp-h; \
248 $(MAKE) stamp-h; \
249 else :; fi
de185a27 250stamp-h: $(srcdir)/scmconfig.h.in $(top_builddir)/config.status
733943b9 251 cd $(top_builddir) \
de185a27 252 && CONFIG_FILES= CONFIG_HEADERS=libguile/scmconfig.h \
733943b9 253 $(SHELL) ./config.status
f7c4cfdd
MD
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
b1e9e9d1 260$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4)
e13d8dc0 261 cd $(top_srcdir) && $(AUTOHEADER)
f7c4cfdd 262 @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
733943b9
TT
263
264mostlyclean-hdr:
265
266clean-hdr:
267
268distclean-hdr:
7370e377 269 -rm -f scmconfig.h
733943b9
TT
270
271maintainer-clean-hdr:
adb75a41 272guile-snarf: $(top_builddir)/config.status guile-snarf.in
f7c4cfdd 273 cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
c02daa09 274versiondat.h: $(top_builddir)/config.status versiondat.h.in
f7c4cfdd 275 cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
733943b9 276
e13d8dc0 277mostlyclean-libLTLIBRARIES:
733943b9 278
e13d8dc0 279clean-libLTLIBRARIES:
7370e377 280 -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
733943b9 281
e13d8dc0 282distclean-libLTLIBRARIES:
733943b9 283
e13d8dc0 284maintainer-clean-libLTLIBRARIES:
733943b9 285
e13d8dc0
JB
286install-libLTLIBRARIES: $(lib_LTLIBRARIES)
287 @$(NORMAL_INSTALL)
5798fd97 288 $(mkinstalldirs) $(DESTDIR)$(libdir)
e13d8dc0 289 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
733943b9 290 if test -f $$p; then \
f7c4cfdd
MD
291 echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p"; \
292 $(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p; \
733943b9 293 else :; fi; \
0f7876f5
JB
294 done
295
e13d8dc0 296uninstall-libLTLIBRARIES:
5798fd97 297 @$(NORMAL_UNINSTALL)
e13d8dc0 298 list='$(lib_LTLIBRARIES)'; for p in $$list; do \
5798fd97 299 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
0f2d19dd
JB
300 done
301
341eaef0
GH
302.s.o:
303 $(COMPILE) -c $<
304
305.S.o:
306 $(COMPILE) -c $<
307
733943b9 308mostlyclean-compile:
5798fd97 309 -rm -f *.o core *.core
733943b9
TT
310
311clean-compile:
312
313distclean-compile:
7370e377 314 -rm -f *.tab.c
733943b9
TT
315
316maintainer-clean-compile:
733943b9 317
341eaef0
GH
318.s.lo:
319 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
320
321.S.lo:
322 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
323
1bb9f4db 324mostlyclean-libtool:
7370e377 325 -rm -f *.lo
1bb9f4db
MV
326
327clean-libtool:
341eaef0 328 -rm -rf .libs _libs
1bb9f4db
MV
329
330distclean-libtool:
331
332maintainer-clean-libtool:
1bb9f4db
MV
333
334libguile.la: $(libguile_la_OBJECTS) $(libguile_la_DEPENDENCIES)
ee2a8b9b
JB
335 $(LINK) -rpath $(libdir) $(libguile_la_LDFLAGS) $(libguile_la_OBJECTS) $(libguile_la_LIBADD) $(LIBS)
336
0487b82f
JB
337mostlyclean-binPROGRAMS:
338
339clean-binPROGRAMS:
7370e377 340 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
0487b82f
JB
341
342distclean-binPROGRAMS:
343
344maintainer-clean-binPROGRAMS:
345
346install-binPROGRAMS: $(bin_PROGRAMS)
347 @$(NORMAL_INSTALL)
5798fd97 348 $(mkinstalldirs) $(DESTDIR)$(bindir)
0487b82f
JB
349 @list='$(bin_PROGRAMS)'; for p in $$list; do \
350 if test -f $$p; then \
f7c4cfdd
MD
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)/'`; \
0487b82f
JB
353 else :; fi; \
354 done
355
356uninstall-binPROGRAMS:
5798fd97 357 @$(NORMAL_UNINSTALL)
0487b82f 358 list='$(bin_PROGRAMS)'; for p in $$list; do \
f7c4cfdd 359 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
0487b82f
JB
360 done
361
ee2a8b9b
JB
362mostlyclean-checkPROGRAMS:
363
364clean-checkPROGRAMS:
7370e377 365 -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
ee2a8b9b
JB
366
367distclean-checkPROGRAMS:
368
369maintainer-clean-checkPROGRAMS:
370
0487b82f
JB
371guile: $(guile_OBJECTS) $(guile_DEPENDENCIES)
372 @rm -f guile
373 $(LINK) $(guile_LDFLAGS) $(guile_OBJECTS) $(guile_LDADD) $(LIBS)
374
ee2a8b9b
JB
375gh_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
379gh_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)
0f2d19dd 382
adb75a41 383install-binSCRIPTS: $(bin_SCRIPTS)
e13d8dc0 384 @$(NORMAL_INSTALL)
5798fd97 385 $(mkinstalldirs) $(DESTDIR)$(bindir)
e13d8dc0 386 @list='$(bin_SCRIPTS)'; for p in $$list; do \
adb75a41 387 if test -f $$p; then \
5798fd97
MD
388 echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
389 $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
adb75a41 390 else if test -f $(srcdir)/$$p; then \
5798fd97
MD
391 echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
392 $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
adb75a41
TT
393 else :; fi; fi; \
394 done
395
396uninstall-binSCRIPTS:
5798fd97 397 @$(NORMAL_UNINSTALL)
e13d8dc0 398 list='$(bin_SCRIPTS)'; for p in $$list; do \
5798fd97 399 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
adb75a41
TT
400 done
401
733943b9 402install-modincludeDATA: $(modinclude_DATA)
e13d8dc0 403 @$(NORMAL_INSTALL)
5798fd97 404 $(mkinstalldirs) $(DESTDIR)$(modincludedir)
e13d8dc0 405 @list='$(modinclude_DATA)'; for p in $$list; do \
733943b9 406 if test -f $(srcdir)/$$p; then \
5798fd97
MD
407 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(modincludedir)/$$p"; \
408 $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(modincludedir)/$$p; \
733943b9 409 else if test -f $$p; then \
5798fd97
MD
410 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(modincludedir)/$$p"; \
411 $(INSTALL_DATA) $$p $(DESTDIR)$(modincludedir)/$$p; \
733943b9 412 fi; fi; \
60704a73 413 done
733943b9
TT
414
415uninstall-modincludeDATA:
5798fd97 416 @$(NORMAL_UNINSTALL)
e13d8dc0 417 list='$(modinclude_DATA)'; for p in $$list; do \
5798fd97 418 rm -f $(DESTDIR)$(modincludedir)/$$p; \
0f2d19dd
JB
419 done
420
7f52af65 421install-includeHEADERS: $(include_HEADERS)
e13d8dc0 422 @$(NORMAL_INSTALL)
5798fd97 423 $(mkinstalldirs) $(DESTDIR)$(includedir)
e13d8dc0 424 @list='$(include_HEADERS)'; for p in $$list; do \
5798fd97
MD
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; \
7f52af65
MD
428 done
429
430uninstall-includeHEADERS:
5798fd97 431 @$(NORMAL_UNINSTALL)
e13d8dc0 432 list='$(include_HEADERS)'; for p in $$list; do \
5798fd97 433 rm -f $(DESTDIR)$(includedir)/$$p; \
7f52af65
MD
434 done
435
ef12d978 436install-modincludeHEADERS: $(modinclude_HEADERS)
e13d8dc0 437 @$(NORMAL_INSTALL)
5798fd97 438 $(mkinstalldirs) $(DESTDIR)$(modincludedir)
e13d8dc0 439 @list='$(modinclude_HEADERS)'; for p in $$list; do \
5798fd97
MD
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; \
ef12d978
GH
443 done
444
445uninstall-modincludeHEADERS:
5798fd97 446 @$(NORMAL_UNINSTALL)
e13d8dc0 447 list='$(modinclude_HEADERS)'; for p in $$list; do \
5798fd97 448 rm -f $(DESTDIR)$(modincludedir)/$$p; \
ef12d978
GH
449 done
450
ee2a8b9b
JB
451install-pkgincludeHEADERS: $(pkginclude_HEADERS)
452 @$(NORMAL_INSTALL)
5798fd97 453 $(mkinstalldirs) $(DESTDIR)$(pkgincludedir)
ee2a8b9b 454 @list='$(pkginclude_HEADERS)'; for p in $$list; do \
5798fd97
MD
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; \
ee2a8b9b
JB
458 done
459
460uninstall-pkgincludeHEADERS:
5798fd97 461 @$(NORMAL_UNINSTALL)
ee2a8b9b 462 list='$(pkginclude_HEADERS)'; for p in $$list; do \
5798fd97 463 rm -f $(DESTDIR)$(pkgincludedir)/$$p; \
ee2a8b9b
JB
464 done
465
733943b9
TT
466tags: TAGS
467
341eaef0 468ID: $(HEADERS) $(SOURCES) $(LISP)
f7c4cfdd
MD
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; }'`; \
341eaef0 473 here=`pwd` && cd $(srcdir) \
f7c4cfdd 474 && mkid -f$$here/ID $$unique $(LISP)
733943b9 475
341eaef0 476TAGS: $(HEADERS) $(SOURCES) scmconfig.h.in $(TAGS_DEPENDENCIES) $(LISP)
733943b9
TT
477 tags=; \
478 here=`pwd`; \
5798fd97
MD
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)
733943b9
TT
485
486mostlyclean-tags:
487
488clean-tags:
489
490distclean-tags:
7370e377 491 -rm -f TAGS ID
733943b9
TT
492
493maintainer-clean-tags:
494
b1e9e9d1
JB
495distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
496
497subdir = libguile
de185a27 498
733943b9 499distdir: $(DISTFILES)
de185a27
JB
500 here=`cd $(top_builddir) && pwd`; \
501 top_distdir=`cd $(top_distdir) && pwd`; \
7370e377 502 distdir=`cd $(distdir) && pwd`; \
de185a27
JB
503 cd $(top_srcdir) \
504 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign libguile/Makefile
733943b9
TT
505 @for file in $(DISTFILES); do \
506 d=$(srcdir); \
f7c4cfdd
MD
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; \
733943b9 514 done
cbab9700
JB
515
516DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
733943b9
TT
517
518-include $(DEP_FILES)
733943b9
TT
519
520mostlyclean-depend:
521
522clean-depend:
523
524distclean-depend:
f7c4cfdd 525 -rm -rf .deps
733943b9
TT
526
527maintainer-clean-depend:
733943b9 528
5798fd97
MD
529%.o: %.c
530 @echo '$(COMPILE) -c $<'; \
f7c4cfdd
MD
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
5798fd97
MD
537
538%.lo: %.c
539 @echo '$(LTCOMPILE) -c $<'; \
f7c4cfdd
MD
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
547info-am:
548info: info-am
549dvi-am:
550dvi: dvi-am
551check-am: all-am
552 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
553 $(MAKE) $(AM_MAKEFLAGS) check-local
554check: check-am
555installcheck-am:
556installcheck: installcheck-am
557all-recursive-am: scmconfig.h
558 $(MAKE) $(AM_MAKEFLAGS) all-recursive
559
560install-exec-am: install-libLTLIBRARIES install-binPROGRAMS \
561 install-binSCRIPTS
562install-exec: install-exec-am
563
564install-data-am: install-modincludeDATA install-includeHEADERS \
565 install-modincludeHEADERS install-pkgincludeHEADERS
566install-data: install-data-am
567
568install-am: all-am
569 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
570install: install-am
571uninstall-am: uninstall-libLTLIBRARIES uninstall-binPROGRAMS \
572 uninstall-binSCRIPTS uninstall-modincludeDATA \
573 uninstall-includeHEADERS uninstall-modincludeHEADERS \
574 uninstall-pkgincludeHEADERS
575uninstall: uninstall-am
576all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(DATA) \
577 $(HEADERS) scmconfig.h
578all-redirect: all-am
733943b9 579install-strip:
f7c4cfdd 580 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
733943b9 581installdirs:
f7c4cfdd
MD
582 $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) \
583 $(DESTDIR)$(bindir) $(DESTDIR)$(modincludedir) \
584 $(DESTDIR)$(includedir) $(DESTDIR)$(modincludedir) \
585 $(DESTDIR)$(pkgincludedir)
733943b9
TT
586
587
588mostlyclean-generic:
7370e377 589 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
733943b9
TT
590
591clean-generic:
7370e377 592 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
733943b9
TT
593
594distclean-generic:
f7c4cfdd 595 -rm -f Makefile $(CONFIG_CLEAN_FILES)
7370e377 596 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
f7c4cfdd 597 -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
733943b9
TT
598
599maintainer-clean-generic:
7370e377 600 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
f7c4cfdd 601mostlyclean-am: mostlyclean-hdr mostlyclean-libLTLIBRARIES \
1bb9f4db 602 mostlyclean-compile mostlyclean-libtool \
0487b82f
JB
603 mostlyclean-binPROGRAMS mostlyclean-checkPROGRAMS \
604 mostlyclean-tags mostlyclean-depend mostlyclean-generic
733943b9 605
f7c4cfdd
MD
606mostlyclean: mostlyclean-am
607
608clean-am: clean-hdr clean-libLTLIBRARIES clean-compile clean-libtool \
0487b82f 609 clean-binPROGRAMS clean-checkPROGRAMS clean-tags \
f7c4cfdd 610 clean-depend clean-generic mostlyclean-am
733943b9 611
f7c4cfdd
MD
612clean: clean-am
613
614distclean-am: distclean-hdr distclean-libLTLIBRARIES distclean-compile \
0487b82f
JB
615 distclean-libtool distclean-binPROGRAMS \
616 distclean-checkPROGRAMS distclean-tags distclean-depend \
f7c4cfdd 617 distclean-generic clean-am
7370e377 618 -rm -f libtool
733943b9 619
f7c4cfdd
MD
620distclean: distclean-am
621
622maintainer-clean-am: maintainer-clean-hdr \
623 maintainer-clean-libLTLIBRARIES \
1bb9f4db 624 maintainer-clean-compile maintainer-clean-libtool \
0487b82f 625 maintainer-clean-binPROGRAMS \
ee2a8b9b
JB
626 maintainer-clean-checkPROGRAMS maintainer-clean-tags \
627 maintainer-clean-depend maintainer-clean-generic \
f7c4cfdd 628 distclean-am
733943b9
TT
629 @echo "This command is intended for maintainers to use;"
630 @echo "it deletes files that may require special tools to rebuild."
733943b9 631
f7c4cfdd
MD
632maintainer-clean: maintainer-clean-am
633
5798fd97
MD
634.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
635mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
636clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
637uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
638distclean-compile clean-compile maintainer-clean-compile \
639mostlyclean-libtool distclean-libtool clean-libtool \
640maintainer-clean-libtool mostlyclean-binPROGRAMS distclean-binPROGRAMS \
641clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
642install-binPROGRAMS mostlyclean-checkPROGRAMS distclean-checkPROGRAMS \
643clean-checkPROGRAMS maintainer-clean-checkPROGRAMS uninstall-binSCRIPTS \
644install-binSCRIPTS uninstall-modincludeDATA install-modincludeDATA \
ee2a8b9b
JB
645uninstall-includeHEADERS install-includeHEADERS \
646uninstall-modincludeHEADERS install-modincludeHEADERS \
647uninstall-pkgincludeHEADERS install-pkgincludeHEADERS tags \
ef12d978
GH
648mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
649distdir mostlyclean-depend distclean-depend clean-depend \
f7c4cfdd
MD
650maintainer-clean-depend info-am info dvi-am dvi check-local check \
651check-am installcheck-am installcheck all-recursive-am install-exec-am \
652install-exec install-data-am install-data install-am install \
653uninstall-am uninstall all-redirect all-am all installdirs \
654mostlyclean-generic distclean-generic clean-generic \
655maintainer-clean-generic clean mostlyclean distclean maintainer-clean
733943b9 656
0f2d19dd 657
52f980e4
JB
658check-local:
659 echo '(+ 1 2 3)' | ./gh_test_c; echo
660 echo '(+ 1 2 3)' | ./gh_test_repl; echo
661
daa4f38c 662libpath.h: $(srcdir)/Makefile.in $(top_builddir)/config.status
e151bee6
JB
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
daa4f38c 690 @echo ' { "LIBS", "@GUILE_LIBS@" }, \' >> libpath.tmp
e151bee6
JB
691 @echo '}' >> libpath.tmp
692 @mv libpath.tmp libpath.h
733943b9 693.c.x:
adb75a41 694 ./guile-snarf $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $< > $@
733943b9 695
a0e90145
JB
696cpp_err_symbols.c: cpp_err_symbols.in
697 $(AWK) -f $(srcdir)/cpp_cnvt.awk < $(srcdir)/cpp_err_symbols.in > \
593d151f
JB
698 cpp_err_symbols.tmp
699 mv cpp_err_symbols.tmp cpp_err_symbols.c
67ec3667 700
a0e90145
JB
701cpp_sig_symbols.c: cpp_sig_symbols.in
702 $(AWK) -f $(srcdir)/cpp_cnvt.awk < $(srcdir)/cpp_sig_symbols.in > \
593d151f
JB
703 cpp_sig_symbols.tmp
704 mv cpp_sig_symbols.tmp cpp_sig_symbols.c
67ec3667
GH
705
706check_signals:
707 gcc -undef -dM -E $(srcdir)/cpp_signal.c | egrep ' SIG[A-Z]+' \
708 | cut -f2 -d' ' | sort > cpp_sig_symbols_here
a0e90145
JB
709 diff -u $(srcdir)/cpp_sig_symbols.in cpp_sig_symbols_here \
710 | egrep '^\+S' \
67ec3667
GH
711 | cut -c2- > cpp_sig_symbols_diff
712 if test -s cpp_sig_symbols_diff ; then \
a0e90145 713 cat $(srcdir)/cpp_sig_symbols.in cpp_sig_symbols_diff \
67ec3667
GH
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
720check_errnos:
721 gcc -undef -dM -E $(srcdir)/cpp_errno.c | egrep ' E.+' \
722 | cut -f2 -d' ' | sort > cpp_err_symbols_here
a0e90145
JB
723 diff -u $(srcdir)/cpp_err_symbols.in cpp_err_symbols_here \
724 | egrep '^\+E' \
67ec3667
GH
725 | cut -c2- > cpp_err_symbols_diff
726 if test -s cpp_err_symbols_diff ; then \
a0e90145 727 cat $(srcdir)/cpp_err_symbols.in cpp_err_symbols_diff \
67ec3667
GH
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
ee78fbb0 733
733943b9
TT
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: