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@ |
131f97a9 | 62 | AS = @AS@ |
ef12d978 | 63 | AWK = @AWK@ |
ef12d978 | 64 | CC = @CC@ |
de185a27 | 65 | CPP = @CPP@ |
131f97a9 | 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@ |
2179c70c | 79 | OBJDUMP = @OBJDUMP@ |
ef12d978 | 80 | PACKAGE = @PACKAGE@ |
a0e6f509 | 81 | QTHREAD_LTLIBS = @QTHREAD_LTLIBS@ |
e13d8dc0 | 82 | RANLIB = @RANLIB@ |
a0e6f509 JB |
83 | THREAD_CPPFLAGS = @THREAD_CPPFLAGS@ |
84 | THREAD_LIBS_INSTALLED = @THREAD_LIBS_INSTALLED@ | |
85 | THREAD_LIBS_LOCAL = @THREAD_LIBS_LOCAL@ | |
86 | THREAD_PACKAGE = @THREAD_PACKAGE@ | |
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 | |
831e230d | 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 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 | 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 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 | ||
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 |
104b8084 | 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 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 | |
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 | 167 | error.lo eval.lo evalext.lo feature.lo filesys.lo fluids.lo fports.lo \ |
831e230d MD |
168 | gc.lo gdbint.lo gh_data.lo gh_eval.lo gh_funcs.lo gh_init.lo gh_io.lo \ |
169 | gh_list.lo gh_predicates.lo gsubr.lo guardians.lo hash.lo hashtab.lo \ | |
170 | init.lo ioext.lo keywords.lo list.lo load.lo macros.lo mallocs.lo \ | |
171 | modules.lo net_db.lo numbers.lo objects.lo objprop.lo options.lo \ | |
172 | pairs.lo ports.lo posix.lo print.lo procprop.lo procs.lo ramap.lo \ | |
173 | random.lo read.lo root.lo scmsigs.lo script.lo simpos.lo smob.lo \ | |
174 | socket.lo sort.lo srcprop.lo stackchk.lo stacks.lo stime.lo strings.lo \ | |
175 | strop.lo strorder.lo strports.lo struct.lo symbols.lo tag.lo throw.lo \ | |
176 | unif.lo variable.lo vectors.lo version.lo vports.lo weaks.lo | |
0487b82f JB |
177 | PROGRAMS = $(bin_PROGRAMS) |
178 | ||
179 | guile_OBJECTS = guile.o | |
180 | guile_DEPENDENCIES = libguile.la | |
181 | guile_LDFLAGS = | |
ee2a8b9b JB |
182 | gh_test_c_OBJECTS = gh_test_c.o |
183 | gh_test_c_DEPENDENCIES = libguile.la | |
184 | gh_test_c_LDFLAGS = | |
185 | gh_test_repl_OBJECTS = gh_test_repl.o | |
186 | gh_test_repl_DEPENDENCIES = libguile.la | |
187 | gh_test_repl_LDFLAGS = | |
adb75a41 TT |
188 | SCRIPTS = $(bin_SCRIPTS) |
189 | ||
733943b9 | 190 | CFLAGS = @CFLAGS@ |
f7c4cfdd MD |
191 | COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
192 | LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | |
193 | CCLD = $(CC) | |
194 | LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ | |
733943b9 TT |
195 | DATA = $(modinclude_DATA) |
196 | ||
7bfd3b9e | 197 | HEADERS = $(include_HEADERS) $(modinclude_HEADERS) $(noinst_HEADERS) \ |
ee2a8b9b | 198 | $(pkginclude_HEADERS) |
733943b9 | 199 | |
f7c4cfdd MD |
200 | DIST_COMMON = ./stamp-h.in COPYING ChangeLog Makefile.am Makefile.in \ |
201 | guile-snarf.in scmconfig.h.in versiondat.h.in | |
733943b9 TT |
202 | |
203 | ||
e13d8dc0 | 204 | DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) |
733943b9 | 205 | |
76b7d6a1 | 206 | TAR = tar |
f7c4cfdd | 207 | GZIP_ENV = --best |
5bab3ef8 JB |
208 | DEP_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 |
231 | SOURCES = $(libguile_la_SOURCES) $(EXTRA_libguile_la_SOURCES) $(guile_SOURCES) $(gh_test_c_SOURCES) $(gh_test_repl_SOURCES) |
232 | OBJECTS = $(libguile_la_OBJECTS) $(guile_OBJECTS) $(gh_test_c_OBJECTS) $(gh_test_repl_OBJECTS) | |
733943b9 | 233 | |
f7c4cfdd | 234 | all: 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 | 240 | Makefile: $(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 | 245 | scmconfig.h: stamp-h |
f7c4cfdd MD |
246 | @if test ! -f $@; then \ |
247 | rm -f stamp-h; \ | |
248 | $(MAKE) stamp-h; \ | |
249 | else :; fi | |
de185a27 | 250 | stamp-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 | |
264 | mostlyclean-hdr: | |
265 | ||
266 | clean-hdr: | |
267 | ||
268 | distclean-hdr: | |
7370e377 | 269 | -rm -f scmconfig.h |
733943b9 TT |
270 | |
271 | maintainer-clean-hdr: | |
adb75a41 | 272 | guile-snarf: $(top_builddir)/config.status guile-snarf.in |
f7c4cfdd | 273 | cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status |
c02daa09 | 274 | versiondat.h: $(top_builddir)/config.status versiondat.h.in |
f7c4cfdd | 275 | cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status |
733943b9 | 276 | |
e13d8dc0 | 277 | mostlyclean-libLTLIBRARIES: |
733943b9 | 278 | |
e13d8dc0 | 279 | clean-libLTLIBRARIES: |
7370e377 | 280 | -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) |
733943b9 | 281 | |
e13d8dc0 | 282 | distclean-libLTLIBRARIES: |
733943b9 | 283 | |
e13d8dc0 | 284 | maintainer-clean-libLTLIBRARIES: |
733943b9 | 285 | |
e13d8dc0 JB |
286 | install-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 | 296 | uninstall-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 | 308 | mostlyclean-compile: |
5798fd97 | 309 | -rm -f *.o core *.core |
733943b9 TT |
310 | |
311 | clean-compile: | |
312 | ||
313 | distclean-compile: | |
7370e377 | 314 | -rm -f *.tab.c |
733943b9 TT |
315 | |
316 | maintainer-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 | 324 | mostlyclean-libtool: |
7370e377 | 325 | -rm -f *.lo |
1bb9f4db MV |
326 | |
327 | clean-libtool: | |
341eaef0 | 328 | -rm -rf .libs _libs |
1bb9f4db MV |
329 | |
330 | distclean-libtool: | |
331 | ||
332 | maintainer-clean-libtool: | |
1bb9f4db MV |
333 | |
334 | libguile.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 |
337 | mostlyclean-binPROGRAMS: |
338 | ||
339 | clean-binPROGRAMS: | |
7370e377 | 340 | -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) |
0487b82f JB |
341 | |
342 | distclean-binPROGRAMS: | |
343 | ||
344 | maintainer-clean-binPROGRAMS: | |
345 | ||
346 | install-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 | ||
356 | uninstall-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 |
362 | mostlyclean-checkPROGRAMS: |
363 | ||
364 | clean-checkPROGRAMS: | |
7370e377 | 365 | -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS) |
ee2a8b9b JB |
366 | |
367 | distclean-checkPROGRAMS: | |
368 | ||
369 | maintainer-clean-checkPROGRAMS: | |
370 | ||
0487b82f JB |
371 | guile: $(guile_OBJECTS) $(guile_DEPENDENCIES) |
372 | @rm -f guile | |
373 | $(LINK) $(guile_LDFLAGS) $(guile_OBJECTS) $(guile_LDADD) $(LIBS) | |
374 | ||
ee2a8b9b JB |
375 | gh_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 | ||
379 | gh_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 | 383 | install-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 | ||
396 | uninstall-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 | 402 | install-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 | |
415 | uninstall-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 | 421 | install-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 | ||
430 | uninstall-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 | 436 | install-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 | ||
445 | uninstall-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 |
451 | install-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 | ||
460 | uninstall-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 |
466 | tags: TAGS |
467 | ||
341eaef0 | 468 | ID: $(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 | 476 | TAGS: $(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 | |
486 | mostlyclean-tags: | |
487 | ||
488 | clean-tags: | |
489 | ||
490 | distclean-tags: | |
7370e377 | 491 | -rm -f TAGS ID |
733943b9 TT |
492 | |
493 | maintainer-clean-tags: | |
494 | ||
b1e9e9d1 JB |
495 | distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) |
496 | ||
497 | subdir = libguile | |
de185a27 | 498 | |
733943b9 | 499 | distdir: $(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 | |
516 | DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) | |
733943b9 TT |
517 | |
518 | -include $(DEP_FILES) | |
733943b9 TT |
519 | |
520 | mostlyclean-depend: | |
521 | ||
522 | clean-depend: | |
523 | ||
524 | distclean-depend: | |
f7c4cfdd | 525 | -rm -rf .deps |
733943b9 TT |
526 | |
527 | maintainer-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 | |
547 | info-am: | |
548 | info: info-am | |
549 | dvi-am: | |
550 | dvi: dvi-am | |
551 | check-am: all-am | |
552 | $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) | |
553 | $(MAKE) $(AM_MAKEFLAGS) check-local | |
554 | check: check-am | |
555 | installcheck-am: | |
556 | installcheck: installcheck-am | |
557 | all-recursive-am: scmconfig.h | |
558 | $(MAKE) $(AM_MAKEFLAGS) all-recursive | |
559 | ||
560 | install-exec-am: install-libLTLIBRARIES install-binPROGRAMS \ | |
561 | install-binSCRIPTS | |
562 | install-exec: install-exec-am | |
563 | ||
564 | install-data-am: install-modincludeDATA install-includeHEADERS \ | |
565 | install-modincludeHEADERS install-pkgincludeHEADERS | |
566 | install-data: install-data-am | |
567 | ||
568 | install-am: all-am | |
569 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | |
570 | install: install-am | |
571 | uninstall-am: uninstall-libLTLIBRARIES uninstall-binPROGRAMS \ | |
572 | uninstall-binSCRIPTS uninstall-modincludeDATA \ | |
573 | uninstall-includeHEADERS uninstall-modincludeHEADERS \ | |
574 | uninstall-pkgincludeHEADERS | |
575 | uninstall: uninstall-am | |
576 | all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(DATA) \ | |
577 | $(HEADERS) scmconfig.h | |
578 | all-redirect: all-am | |
733943b9 | 579 | install-strip: |
f7c4cfdd | 580 | $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install |
733943b9 | 581 | installdirs: |
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 | ||
588 | mostlyclean-generic: | |
7370e377 | 589 | -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) |
733943b9 TT |
590 | |
591 | clean-generic: | |
7370e377 | 592 | -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) |
733943b9 TT |
593 | |
594 | distclean-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 | |
599 | maintainer-clean-generic: | |
7370e377 | 600 | -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) |
f7c4cfdd | 601 | mostlyclean-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 |
606 | mostlyclean: mostlyclean-am |
607 | ||
608 | clean-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 |
612 | clean: clean-am |
613 | ||
614 | distclean-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 |
620 | distclean: distclean-am |
621 | ||
622 | maintainer-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 |
632 | maintainer-clean: maintainer-clean-am |
633 | ||
5798fd97 MD |
634 | .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \ |
635 | mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \ | |
636 | clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \ | |
637 | uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \ | |
638 | distclean-compile clean-compile maintainer-clean-compile \ | |
639 | mostlyclean-libtool distclean-libtool clean-libtool \ | |
640 | maintainer-clean-libtool mostlyclean-binPROGRAMS distclean-binPROGRAMS \ | |
641 | clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \ | |
642 | install-binPROGRAMS mostlyclean-checkPROGRAMS distclean-checkPROGRAMS \ | |
643 | clean-checkPROGRAMS maintainer-clean-checkPROGRAMS uninstall-binSCRIPTS \ | |
644 | install-binSCRIPTS uninstall-modincludeDATA install-modincludeDATA \ | |
ee2a8b9b JB |
645 | uninstall-includeHEADERS install-includeHEADERS \ |
646 | uninstall-modincludeHEADERS install-modincludeHEADERS \ | |
647 | uninstall-pkgincludeHEADERS install-pkgincludeHEADERS tags \ | |
ef12d978 GH |
648 | mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \ |
649 | distdir mostlyclean-depend distclean-depend clean-depend \ | |
f7c4cfdd MD |
650 | maintainer-clean-depend info-am info dvi-am dvi check-local check \ |
651 | check-am installcheck-am installcheck all-recursive-am install-exec-am \ | |
652 | install-exec install-data-am install-data install-am install \ | |
653 | uninstall-am uninstall all-redirect all-am all installdirs \ | |
654 | mostlyclean-generic distclean-generic clean-generic \ | |
655 | maintainer-clean-generic clean mostlyclean distclean maintainer-clean | |
733943b9 | 656 | |
0f2d19dd | 657 | |
52f980e4 JB |
658 | check-local: |
659 | echo '(+ 1 2 3)' | ./gh_test_c; echo | |
660 | echo '(+ 1 2 3)' | ./gh_test_repl; echo | |
661 | ||
daa4f38c | 662 | libpath.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 |
696 | cpp_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 |
701 | cpp_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 | |
706 | check_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 | ||
720 | check_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: |