Commit | Line | Data |
---|---|---|
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 | 14 | SHELL = @SHELL@ |
0f2d19dd | 15 | |
733943b9 TT |
16 | srcdir = @srcdir@ |
17 | top_srcdir = @top_srcdir@ | |
18 | VPATH = @srcdir@ | |
19 | prefix = @prefix@ | |
0f2d19dd JB |
20 | exec_prefix = @exec_prefix@ |
21 | ||
733943b9 TT |
22 | bindir = @bindir@ |
23 | sbindir = @sbindir@ | |
24 | libexecdir = @libexecdir@ | |
25 | datadir = @datadir@ | |
26 | sysconfdir = @sysconfdir@ | |
27 | sharedstatedir = @sharedstatedir@ | |
28 | localstatedir = @localstatedir@ | |
a2086f6f | 29 | libdir = @libdir@ |
733943b9 TT |
30 | infodir = @infodir@ |
31 | mandir = @mandir@ | |
a2086f6f | 32 | includedir = @includedir@ |
733943b9 | 33 | oldincludedir = /usr/include |
0f2d19dd | 34 | |
f7c4cfdd | 35 | DESTDIR = |
5798fd97 | 36 | |
733943b9 TT |
37 | pkgdatadir = $(datadir)/@PACKAGE@ |
38 | pkglibdir = $(libdir)/@PACKAGE@ | |
39 | pkgincludedir = $(includedir)/@PACKAGE@ | |
0f2d19dd | 40 | |
b1e9e9d1 | 41 | top_builddir = .. |
0f2d19dd | 42 | |
e13d8dc0 JB |
43 | ACLOCAL = @ACLOCAL@ |
44 | AUTOCONF = @AUTOCONF@ | |
45 | AUTOMAKE = @AUTOMAKE@ | |
46 | AUTOHEADER = @AUTOHEADER@ | |
47 | ||
733943b9 | 48 | INSTALL = @INSTALL@ |
f7c4cfdd | 49 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) |
733943b9 TT |
50 | INSTALL_DATA = @INSTALL_DATA@ |
51 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | |
52 | transform = @program_transform_name@ | |
e13d8dc0 | 53 | |
341eaef0 GH |
54 | NORMAL_INSTALL = : |
55 | PRE_INSTALL = : | |
56 | POST_INSTALL = : | |
57 | NORMAL_UNINSTALL = : | |
58 | PRE_UNINSTALL = : | |
59 | POST_UNINSTALL = : | |
ef12d978 | 60 | host_alias = @host_alias@ |
e13d8dc0 | 61 | host_triplet = @host@ |
331de030 | 62 | AS = @AS@ |
ef12d978 | 63 | AWK = @AWK@ |
ef12d978 | 64 | CC = @CC@ |
de185a27 | 65 | CPP = @CPP@ |
331de030 | 66 | DLLTOOL = @DLLTOOL@ |
daa4f38c | 67 | GUILE_LIBS = @GUILE_LIBS@ |
fef07353 JB |
68 | GUILE_MAJOR_VERSION = @GUILE_MAJOR_VERSION@ |
69 | GUILE_MINOR_VERSION = @GUILE_MINOR_VERSION@ | |
70 | GUILE_STAMP = @GUILE_STAMP@ | |
71 | GUILE_VERSION = @GUILE_VERSION@ | |
72 | LD = @LD@ | |
e13d8dc0 JB |
73 | LIBLOBJS = @LIBLOBJS@ |
74 | LIBTOOL = @LIBTOOL@ | |
cbab9700 | 75 | LN_S = @LN_S@ |
ef12d978 | 76 | MAINT = @MAINT@ |
de185a27 | 77 | MAKEINFO = @MAKEINFO@ |
cbab9700 | 78 | NM = @NM@ |
ef12d978 | 79 | PACKAGE = @PACKAGE@ |
a0e6f509 | 80 | QTHREAD_LTLIBS = @QTHREAD_LTLIBS@ |
e13d8dc0 | 81 | RANLIB = @RANLIB@ |
a0e6f509 JB |
82 | THREAD_CPPFLAGS = @THREAD_CPPFLAGS@ |
83 | THREAD_LIBS_INSTALLED = @THREAD_LIBS_INSTALLED@ | |
84 | THREAD_LIBS_LOCAL = @THREAD_LIBS_LOCAL@ | |
85 | THREAD_PACKAGE = @THREAD_PACKAGE@ | |
331de030 | 86 | USE_SYMBOL_UNDERSCORE = @USE_SYMBOL_UNDERSCORE@ |
e13d8dc0 | 87 | VERSION = @VERSION@ |
a0e6f509 | 88 | qtdmdb_s = @qtdmdb_s@ |
285403bb | 89 | qthread_asflags = @qthread_asflags@ |
b1e9e9d1 | 90 | qtmd_h = @qtmd_h@ |
b1e9e9d1 | 91 | qtmdc_c = @qtmdc_c@ |
b1e9e9d1 | 92 | qtmds_s = @qtmds_s@ |
0f2d19dd | 93 | |
733943b9 | 94 | AUTOMAKE_OPTIONS = foreign |
60704a73 | 95 | |
a0e6f509 | 96 | INCLUDES = -I.. -I$(srcdir)/.. ${THREAD_CPPFLAGS} |
0f2d19dd | 97 | |
fef07353 JB |
98 | ETAGS_ARGS = --regex='/SCM_\(GLOBAL_\)?\(PROC\|PROC1\|SYMBOL\|VCELL\|CONST_LONG\).*\"\([^\"]\)*\"/\3/' |
99 | ||
e13d8dc0 | 100 | lib_LTLIBRARIES = libguile.la |
0487b82f JB |
101 | bin_PROGRAMS = guile |
102 | ||
103 | guile_SOURCES = guile.c | |
a0e6f509 | 104 | guile_LDADD = libguile.la ${THREAD_LIBS_LOCAL} |
ee2a8b9b | 105 | |
cf1b6cc8 | 106 | libguile_la_SOURCES = alist.c arbiters.c async.c backtrace.c boolean.c chars.c continuations.c debug.c dynl.c dynwind.c eq.c error.c eval.c evalext.c feature.c filesys.c fluids.c fports.c gc.c gdbint.c 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 | 109 | BUILT_SOURCES = cpp_err_symbols.c cpp_sig_symbols.c libpath.h alist.x arbiters.x async.x backtrace.x boolean.x chars.x continuations.x debug.x dynl.x dynwind.x eq.x error.x eval.x evalext.x feature.x filesys.x fluids.x fports.x gc.x 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 | ||
112 | EXTRA_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 | |
115 | noinst_HEADERS = coop-threads.c coop-threads.h coop.c | |
116 | ||
78bda5f3 | 117 | libguile_la_DEPENDENCIES = @LIBLOBJS@ |
4a5fa91c | 118 | libguile_la_LIBADD = @LIBLOBJS@ |
c15f9b9d | 119 | libguile_la_LDFLAGS = -version-info 4:0 -export-dynamic |
0f2d19dd | 120 | |
733943b9 | 121 | include_HEADERS = libguile.h |
0f2d19dd | 122 | |
ee2a8b9b JB |
123 | # These are headers visible as <guile/mumble.h> |
124 | pkginclude_HEADERS = gh.h | |
125 | ||
733943b9 | 126 | # These are headers visible as <libguile/mumble.h>. |
5380de6b | 127 | modincludedir = $(includedir)/libguile |
cf1b6cc8 | 128 | modinclude_HEADERS = __scm.h alist.h arbiters.h async.h backtrace.h boolean.h chars.h continuations.h debug.h dynl.h dynwind.h eq.h error.h eval.h evalext.h feature.h filesys.h fports.h gc.h gdb_interface.h gdbint.h genio.h gsubr.h guardians.h hash.h hashtab.h init.h ioext.h keywords.h 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 | |
131 | modinclude_DATA = scmconfig.h | |
132 | ||
adb75a41 TT |
133 | bin_SCRIPTS = guile-snarf |
134 | ||
a0e6f509 | 135 | check_ldadd = libguile.la ${THREAD_LIBS_LOCAL} |
ee2a8b9b JB |
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 | ||
f7c4cfdd MD |
142 | EXTRA_DIST = ChangeLog-gh ChangeLog-scm ChangeLog-threads dynl-dl.c dynl-dld.c dynl-shl.c dynl-vms.c DYNAMIC-LINKING cpp_signal.c cpp_errno.c cpp_err_symbols.in cpp_sig_symbols.in cpp_cnvt.awk coop-threads.h.cygnus coop-threads.c.cygnus mit-pthreads.h mit-pthreads.c fsu-pthreads.h |
143 | ||
733943b9 TT |
144 | |
145 | SUFFIXES = .x | |
146 | ||
147 | MKDEP = gcc -M -MG $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) | |
ee78fbb0 | 148 | |
f7c4cfdd MD |
149 | MOSTLYCLEANFILES = cpp_err_symbols_here cpp_err_symbols_diff cpp_err_symbols_new cpp_sig_symbols_here cpp_sig_symbols_diff cpp_sig_symbols_new |
150 | ||
9159ebec TP |
151 | |
152 | CLEANFILES = versiondat.h libpath.h | |
153 | ||
154 | DISTCLEANFILES = *.x | |
b1e9e9d1 | 155 | mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs |
733943b9 | 156 | CONFIG_HEADER = scmconfig.h |
c02daa09 | 157 | CONFIG_CLEAN_FILES = guile-snarf versiondat.h |
e13d8dc0 | 158 | LTLIBRARIES = $(lib_LTLIBRARIES) |
733943b9 TT |
159 | |
160 | ||
161 | DEFS = @DEFS@ -I. -I$(srcdir) -I. | |
162 | CPPFLAGS = @CPPFLAGS@ | |
163 | LDFLAGS = @LDFLAGS@ | |
164 | LIBS = @LIBS@ | |
4b422a5a JB |
165 | libguile_la_OBJECTS = alist.lo arbiters.lo async.lo backtrace.lo \ |
166 | boolean.lo chars.lo continuations.lo debug.lo dynl.lo dynwind.lo eq.lo \ | |
09e3ccd7 MD |
167 | error.lo eval.lo evalext.lo feature.lo filesys.lo fluids.lo fports.lo \ |
168 | gc.lo gdbint.lo genio.lo gh_data.lo gh_eval.lo gh_funcs.lo gh_init.lo \ | |
e98f3cf2 | 169 | gh_io.lo gh_list.lo gh_predicates.lo gsubr.lo guardians.lo hash.lo \ |
f7da6190 MD |
170 | hashtab.lo init.lo ioext.lo keywords.lo list.lo load.lo macros.lo \ |
171 | mallocs.lo markers.lo modules.lo net_db.lo numbers.lo objects.lo \ | |
172 | objprop.lo options.lo pairs.lo ports.lo posix.lo print.lo procprop.lo \ | |
cf1b6cc8 JB |
173 | procs.lo ramap.lo random.lo read.lo root.lo scmsigs.lo script.lo \ |
174 | simpos.lo smob.lo socket.lo sort.lo srcprop.lo stackchk.lo stacks.lo \ | |
175 | stime.lo strings.lo strop.lo strorder.lo strports.lo struct.lo \ | |
176 | symbols.lo tag.lo throw.lo unif.lo variable.lo vectors.lo version.lo \ | |
177 | vports.lo weaks.lo | |
0487b82f JB |
178 | PROGRAMS = $(bin_PROGRAMS) |
179 | ||
180 | guile_OBJECTS = guile.o | |
181 | guile_DEPENDENCIES = libguile.la | |
182 | guile_LDFLAGS = | |
ee2a8b9b JB |
183 | gh_test_c_OBJECTS = gh_test_c.o |
184 | gh_test_c_DEPENDENCIES = libguile.la | |
185 | gh_test_c_LDFLAGS = | |
186 | gh_test_repl_OBJECTS = gh_test_repl.o | |
187 | gh_test_repl_DEPENDENCIES = libguile.la | |
188 | gh_test_repl_LDFLAGS = | |
adb75a41 TT |
189 | SCRIPTS = $(bin_SCRIPTS) |
190 | ||
733943b9 | 191 | CFLAGS = @CFLAGS@ |
f7c4cfdd MD |
192 | COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
193 | LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | |
194 | CCLD = $(CC) | |
195 | LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ | |
733943b9 TT |
196 | DATA = $(modinclude_DATA) |
197 | ||
7bfd3b9e | 198 | HEADERS = $(include_HEADERS) $(modinclude_HEADERS) $(noinst_HEADERS) \ |
ee2a8b9b | 199 | $(pkginclude_HEADERS) |
733943b9 | 200 | |
f7c4cfdd MD |
201 | DIST_COMMON = ./stamp-h.in COPYING ChangeLog Makefile.am Makefile.in \ |
202 | guile-snarf.in scmconfig.h.in versiondat.h.in | |
733943b9 TT |
203 | |
204 | ||
e13d8dc0 | 205 | DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) |
733943b9 | 206 | |
76b7d6a1 | 207 | TAR = tar |
f7c4cfdd | 208 | GZIP_ENV = --best |
5bab3ef8 JB |
209 | DEP_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 |
232 | SOURCES = $(libguile_la_SOURCES) $(EXTRA_libguile_la_SOURCES) $(guile_SOURCES) $(gh_test_c_SOURCES) $(gh_test_repl_SOURCES) |
233 | OBJECTS = $(libguile_la_OBJECTS) $(guile_OBJECTS) $(gh_test_c_OBJECTS) $(gh_test_repl_OBJECTS) | |
733943b9 | 234 | |
f7c4cfdd | 235 | all: 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 | 241 | Makefile: $(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 | 246 | scmconfig.h: stamp-h |
f7c4cfdd MD |
247 | @if test ! -f $@; then \ |
248 | rm -f stamp-h; \ | |
249 | $(MAKE) stamp-h; \ | |
250 | else :; fi | |
de185a27 | 251 | stamp-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 | |
265 | mostlyclean-hdr: | |
266 | ||
267 | clean-hdr: | |
268 | ||
269 | distclean-hdr: | |
7370e377 | 270 | -rm -f scmconfig.h |
733943b9 TT |
271 | |
272 | maintainer-clean-hdr: | |
adb75a41 | 273 | guile-snarf: $(top_builddir)/config.status guile-snarf.in |
f7c4cfdd | 274 | cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status |
c02daa09 | 275 | versiondat.h: $(top_builddir)/config.status versiondat.h.in |
f7c4cfdd | 276 | cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status |
733943b9 | 277 | |
e13d8dc0 | 278 | mostlyclean-libLTLIBRARIES: |
733943b9 | 279 | |
e13d8dc0 | 280 | clean-libLTLIBRARIES: |
7370e377 | 281 | -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) |
733943b9 | 282 | |
e13d8dc0 | 283 | distclean-libLTLIBRARIES: |
733943b9 | 284 | |
e13d8dc0 | 285 | maintainer-clean-libLTLIBRARIES: |
733943b9 | 286 | |
e13d8dc0 JB |
287 | install-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 | 297 | uninstall-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 | 309 | mostlyclean-compile: |
5798fd97 | 310 | -rm -f *.o core *.core |
733943b9 TT |
311 | |
312 | clean-compile: | |
313 | ||
314 | distclean-compile: | |
7370e377 | 315 | -rm -f *.tab.c |
733943b9 TT |
316 | |
317 | maintainer-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 | 325 | mostlyclean-libtool: |
7370e377 | 326 | -rm -f *.lo |
1bb9f4db MV |
327 | |
328 | clean-libtool: | |
341eaef0 | 329 | -rm -rf .libs _libs |
1bb9f4db MV |
330 | |
331 | distclean-libtool: | |
332 | ||
333 | maintainer-clean-libtool: | |
1bb9f4db MV |
334 | |
335 | libguile.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 |
338 | mostlyclean-binPROGRAMS: |
339 | ||
340 | clean-binPROGRAMS: | |
7370e377 | 341 | -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) |
0487b82f JB |
342 | |
343 | distclean-binPROGRAMS: | |
344 | ||
345 | maintainer-clean-binPROGRAMS: | |
346 | ||
347 | install-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 | ||
357 | uninstall-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 |
363 | mostlyclean-checkPROGRAMS: |
364 | ||
365 | clean-checkPROGRAMS: | |
7370e377 | 366 | -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS) |
ee2a8b9b JB |
367 | |
368 | distclean-checkPROGRAMS: | |
369 | ||
370 | maintainer-clean-checkPROGRAMS: | |
371 | ||
0487b82f JB |
372 | guile: $(guile_OBJECTS) $(guile_DEPENDENCIES) |
373 | @rm -f guile | |
374 | $(LINK) $(guile_LDFLAGS) $(guile_OBJECTS) $(guile_LDADD) $(LIBS) | |
375 | ||
ee2a8b9b JB |
376 | gh_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 | ||
380 | gh_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 | 384 | install-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 | ||
397 | uninstall-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 | 403 | install-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 | |
416 | uninstall-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 | 422 | install-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 | ||
431 | uninstall-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 | 437 | install-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 | ||
446 | uninstall-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 |
452 | install-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 | ||
461 | uninstall-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 |
467 | tags: TAGS |
468 | ||
341eaef0 | 469 | ID: $(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 | 477 | TAGS: $(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 | |
487 | mostlyclean-tags: | |
488 | ||
489 | clean-tags: | |
490 | ||
491 | distclean-tags: | |
7370e377 | 492 | -rm -f TAGS ID |
733943b9 TT |
493 | |
494 | maintainer-clean-tags: | |
495 | ||
b1e9e9d1 JB |
496 | distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) |
497 | ||
498 | subdir = libguile | |
de185a27 | 499 | |
733943b9 | 500 | distdir: $(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 | |
517 | DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) | |
733943b9 TT |
518 | |
519 | -include $(DEP_FILES) | |
733943b9 TT |
520 | |
521 | mostlyclean-depend: | |
522 | ||
523 | clean-depend: | |
524 | ||
525 | distclean-depend: | |
f7c4cfdd | 526 | -rm -rf .deps |
733943b9 TT |
527 | |
528 | maintainer-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 | |
548 | info-am: | |
549 | info: info-am | |
550 | dvi-am: | |
551 | dvi: dvi-am | |
552 | check-am: all-am | |
553 | $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) | |
554 | $(MAKE) $(AM_MAKEFLAGS) check-local | |
555 | check: check-am | |
556 | installcheck-am: | |
557 | installcheck: installcheck-am | |
558 | all-recursive-am: scmconfig.h | |
559 | $(MAKE) $(AM_MAKEFLAGS) all-recursive | |
560 | ||
561 | install-exec-am: install-libLTLIBRARIES install-binPROGRAMS \ | |
562 | install-binSCRIPTS | |
563 | install-exec: install-exec-am | |
564 | ||
565 | install-data-am: install-modincludeDATA install-includeHEADERS \ | |
566 | install-modincludeHEADERS install-pkgincludeHEADERS | |
567 | install-data: install-data-am | |
568 | ||
569 | install-am: all-am | |
570 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | |
571 | install: install-am | |
572 | uninstall-am: uninstall-libLTLIBRARIES uninstall-binPROGRAMS \ | |
573 | uninstall-binSCRIPTS uninstall-modincludeDATA \ | |
574 | uninstall-includeHEADERS uninstall-modincludeHEADERS \ | |
575 | uninstall-pkgincludeHEADERS | |
576 | uninstall: uninstall-am | |
577 | all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(DATA) \ | |
578 | $(HEADERS) scmconfig.h | |
579 | all-redirect: all-am | |
733943b9 | 580 | install-strip: |
f7c4cfdd | 581 | $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install |
733943b9 | 582 | installdirs: |
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 | ||
589 | mostlyclean-generic: | |
7370e377 | 590 | -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) |
733943b9 TT |
591 | |
592 | clean-generic: | |
7370e377 | 593 | -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) |
733943b9 TT |
594 | |
595 | distclean-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 | |
600 | maintainer-clean-generic: | |
7370e377 | 601 | -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) |
f7c4cfdd | 602 | mostlyclean-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 |
607 | mostlyclean: mostlyclean-am |
608 | ||
609 | clean-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 |
613 | clean: clean-am |
614 | ||
615 | distclean-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 |
621 | distclean: distclean-am |
622 | ||
623 | maintainer-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 |
633 | maintainer-clean: maintainer-clean-am |
634 | ||
5798fd97 MD |
635 | .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \ |
636 | mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \ | |
637 | clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \ | |
638 | uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \ | |
639 | distclean-compile clean-compile maintainer-clean-compile \ | |
640 | mostlyclean-libtool distclean-libtool clean-libtool \ | |
641 | maintainer-clean-libtool mostlyclean-binPROGRAMS distclean-binPROGRAMS \ | |
642 | clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \ | |
643 | install-binPROGRAMS mostlyclean-checkPROGRAMS distclean-checkPROGRAMS \ | |
644 | clean-checkPROGRAMS maintainer-clean-checkPROGRAMS uninstall-binSCRIPTS \ | |
645 | install-binSCRIPTS uninstall-modincludeDATA install-modincludeDATA \ | |
ee2a8b9b JB |
646 | uninstall-includeHEADERS install-includeHEADERS \ |
647 | uninstall-modincludeHEADERS install-modincludeHEADERS \ | |
648 | uninstall-pkgincludeHEADERS install-pkgincludeHEADERS tags \ | |
ef12d978 GH |
649 | mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \ |
650 | distdir mostlyclean-depend distclean-depend clean-depend \ | |
f7c4cfdd MD |
651 | maintainer-clean-depend info-am info dvi-am dvi check-local check \ |
652 | check-am installcheck-am installcheck all-recursive-am install-exec-am \ | |
653 | install-exec install-data-am install-data install-am install \ | |
654 | uninstall-am uninstall all-redirect all-am all installdirs \ | |
655 | mostlyclean-generic distclean-generic clean-generic \ | |
656 | maintainer-clean-generic clean mostlyclean distclean maintainer-clean | |
733943b9 | 657 | |
0f2d19dd | 658 | |
52f980e4 JB |
659 | check-local: |
660 | echo '(+ 1 2 3)' | ./gh_test_c; echo | |
661 | echo '(+ 1 2 3)' | ./gh_test_repl; echo | |
662 | ||
daa4f38c | 663 | libpath.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 |
697 | cpp_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 |
702 | cpp_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 | |
707 | check_signals: | |
708 | gcc -undef -dM -E $(srcdir)/cpp_signal.c | egrep ' SIG[A-Z]+' \ | |
709 | | cut -f2 -d' ' | sort > cpp_sig_symbols_here | |
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 | ||
721 | check_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: |