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