Commit | Line | Data |
---|---|---|
e13d8dc0 | 1 | # Makefile.in generated automatically by automake 1.1n from Makefile.am |
0f2d19dd | 2 | |
733943b9 TT |
3 | # Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc. |
4 | # This Makefile.in is free software; the Free Software Foundation | |
5 | # gives unlimited permission to copy, distribute and modify it. | |
0f2d19dd | 6 | |
0f2d19dd | 7 | |
733943b9 | 8 | SHELL = /bin/sh |
0f2d19dd | 9 | |
733943b9 TT |
10 | srcdir = @srcdir@ |
11 | top_srcdir = @top_srcdir@ | |
12 | VPATH = @srcdir@ | |
13 | prefix = @prefix@ | |
0f2d19dd JB |
14 | exec_prefix = @exec_prefix@ |
15 | ||
733943b9 TT |
16 | bindir = @bindir@ |
17 | sbindir = @sbindir@ | |
18 | libexecdir = @libexecdir@ | |
19 | datadir = @datadir@ | |
20 | sysconfdir = @sysconfdir@ | |
21 | sharedstatedir = @sharedstatedir@ | |
22 | localstatedir = @localstatedir@ | |
a2086f6f | 23 | libdir = @libdir@ |
733943b9 TT |
24 | infodir = @infodir@ |
25 | mandir = @mandir@ | |
a2086f6f | 26 | includedir = @includedir@ |
733943b9 | 27 | oldincludedir = /usr/include |
0f2d19dd | 28 | |
733943b9 TT |
29 | pkgdatadir = $(datadir)/@PACKAGE@ |
30 | pkglibdir = $(libdir)/@PACKAGE@ | |
31 | pkgincludedir = $(includedir)/@PACKAGE@ | |
0f2d19dd | 32 | |
733943b9 | 33 | top_builddir = . |
0f2d19dd | 34 | |
e13d8dc0 JB |
35 | ACLOCAL = @ACLOCAL@ |
36 | AUTOCONF = @AUTOCONF@ | |
37 | AUTOMAKE = @AUTOMAKE@ | |
38 | AUTOHEADER = @AUTOHEADER@ | |
39 | ||
733943b9 TT |
40 | INSTALL = @INSTALL@ |
41 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
42 | INSTALL_DATA = @INSTALL_DATA@ | |
43 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | |
44 | transform = @program_transform_name@ | |
e13d8dc0 JB |
45 | |
46 | NORMAL_INSTALL = true | |
47 | PRE_INSTALL = true | |
48 | POST_INSTALL = true | |
49 | NORMAL_UNINSTALL = true | |
50 | PRE_UNINSTALL = true | |
51 | POST_UNINSTALL = true | |
ef12d978 | 52 | host_alias = @host_alias@ |
e13d8dc0 | 53 | host_triplet = @host@ |
ef12d978 | 54 | AWK = @AWK@ |
ef12d978 | 55 | CC = @CC@ |
e13d8dc0 JB |
56 | LIBLOBJS = @LIBLOBJS@ |
57 | LIBTOOL = @LIBTOOL@ | |
ef12d978 | 58 | MAINT = @MAINT@ |
ef12d978 | 59 | PACKAGE = @PACKAGE@ |
e13d8dc0 JB |
60 | RANLIB = @RANLIB@ |
61 | VERSION = @VERSION@ | |
62 | module = @module@ | |
63 | xtra_PLUGIN_guile_libs = @xtra_PLUGIN_guile_libs@ | |
0f2d19dd | 64 | |
733943b9 | 65 | AUTOMAKE_OPTIONS = foreign |
60704a73 | 66 | |
733943b9 | 67 | INCLUDES = -I.. -I$(srcdir)/.. |
0f2d19dd | 68 | |
e13d8dc0 | 69 | lib_LTLIBRARIES = libguile.la |
ee2a8b9b JB |
70 | |
71 | libguile_la_SOURCES = \ | |
72 | alist.c append.c appinit.c arbiters.c async.c boolean.c chars.c \ | |
73 | continuations.c dynl.c dynwind.c eq.c error.c eval.c extchrs.c \ | |
74 | feature.c filesys.c fports.c gc.c gdbint.c genio.c gh_data.c gh_eval.c \ | |
75 | gh_funcs.c gh_init.c gh_io.c gh_list.c gh_predicates.c gsubr.c hash.c \ | |
76 | hashtab.c init.c ioext.c kw.c list.c load.c mallocs.c markers.c \ | |
77 | mbstrings.c net_db.c numbers.c objprop.c options.c pairs.c ports.c \ | |
78 | posix.c print.c procprop.c procs.c ramap.c read.c root.c scmsigs.c \ | |
79 | sequences.c simpos.c smob.c socket.c stackchk.c stime.c strings.c \ | |
80 | strop.c strorder.c strports.c struct.c symbols.c tag.c throw.c unif.c \ | |
81 | variable.c vectors.c version.c vports.c weaks.c | |
82 | EXTRA_libguile_la_SOURCES = _scm.h \ | |
83 | backtrace.c stacks.c debug.c srcprop.c \ | |
7bfd3b9e JB |
84 | strerror.c inet_aton.c putenv.c \ |
85 | threads.c | |
86 | ||
87 | noinst_HEADERS = coop-threads.c coop-threads.h coop.c | |
88 | ||
78bda5f3 | 89 | libguile_la_DEPENDENCIES = @LIBLOBJS@ |
e13d8dc0 | 90 | libguile_la_LIBADD = @LIBLOBJS@ |
1bb9f4db | 91 | libguile_la_LDFLAGS = -version-info 0:0 -rpath $(libdir) |
0f2d19dd | 92 | |
733943b9 | 93 | include_HEADERS = libguile.h |
0f2d19dd | 94 | |
ee2a8b9b JB |
95 | # These are headers visible as <guile/mumble.h> |
96 | pkginclude_HEADERS = gh.h | |
97 | ||
733943b9 TT |
98 | # These are headers visible as <libguile/mumble.h>. |
99 | modincludedir = $(includedir)/@module@ | |
100 | modinclude_HEADERS = __scm.h alist.h append.h arbiters.h async.h \ | |
e13d8dc0 JB |
101 | backtrace.h boolean.h chars.h continuations.h debug.h dynl.h dynwind.h \ |
102 | eq.h error.h eval.h extchrs.h feature.h filesys.h fports.h gc.h \ | |
103 | gdb_interface.h gdbint.h genio.h gsubr.h hash.h hashtab.h init.h \ | |
104 | ioext.h kw.h list.h load.h mallocs.h markers.h mbstrings.h net_db.h \ | |
105 | numbers.h objprop.h options.h pairs.h ports.h posix.h print.h \ | |
106 | procprop.h procs.h ramap.h read.h root.h scmhob.h scmsigs.h \ | |
107 | sequences.h simpos.h smob.h socket.h srcprop.h stackchk.h stacks.h \ | |
108 | stime.h strings.h strop.h strorder.h strports.h struct.h symbols.h \ | |
109 | tag.h tags.h throw.h unif.h variable.h vectors.h version.h vports.h \ | |
7bfd3b9e | 110 | weaks.h snarf.h threads.h coop-defs.h |
733943b9 TT |
111 | |
112 | modinclude_DATA = scmconfig.h | |
113 | ||
adb75a41 TT |
114 | bin_SCRIPTS = guile-snarf |
115 | ||
ee2a8b9b JB |
116 | THREAD_LIBS = @THREAD_LIBS@ |
117 | check_ldadd = libguile.la ${THREAD_LIBS} | |
118 | check_PROGRAMS = gh_test_c gh_test_repl | |
119 | gh_test_c_SOURCES = gh_test_c.c | |
120 | gh_test_c_LDADD = ${check_ldadd} | |
121 | gh_test_repl_SOURCES = gh_test_repl.c | |
122 | gh_test_repl_LDADD = ${check_ldadd} | |
123 | ||
496f55cd | 124 | EXTRA_DIST = gscm.c gscm.h ChangeLog-scm dynl-dl.c dynl-dld.c dynl-shl.c \ |
e13d8dc0 JB |
125 | dynl-vms.c DYNAMIC-LINKING PLUGIN/REQ PLUGIN/guile.config \ |
126 | PLUGIN/guile.libs.in cpp_signal.c cpp_errno.c cpp_err_symbols.in \ | |
7bfd3b9e JB |
127 | cpp_sig_symbols.in cpp_cnvt.awk \ |
128 | coop-threads.h.cygnus coop-threads.c.cygnus mit-pthreads.h mit-pthreads.c \ | |
129 | fsu-pthreads.h | |
733943b9 TT |
130 | |
131 | SUFFIXES = .x | |
132 | ||
133 | MKDEP = gcc -M -MG $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) | |
ee78fbb0 | 134 | |
67ec3667 GH |
135 | CLEANFILES=cpp_err_symbols_here cpp_err_symbols_diff cpp_err_symbols_new \ |
136 | cpp_sig_symbols_here cpp_sig_symbols_diff cpp_sig_symbols_new | |
e13d8dc0 | 137 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
733943b9 | 138 | CONFIG_HEADER_IN = scmconfig.h.in |
e13d8dc0 | 139 | CONFIG_HEADER_FULL = scmconfig.h |
733943b9 TT |
140 | mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs |
141 | CONFIG_HEADER = scmconfig.h | |
67ec3667 | 142 | CONFIG_CLEAN_FILES = guile-snarf |
e13d8dc0 | 143 | LTLIBRARIES = $(lib_LTLIBRARIES) |
733943b9 TT |
144 | |
145 | ||
146 | DEFS = @DEFS@ -I. -I$(srcdir) -I. | |
147 | CPPFLAGS = @CPPFLAGS@ | |
148 | LDFLAGS = @LDFLAGS@ | |
149 | LIBS = @LIBS@ | |
1bb9f4db | 150 | libguile_la_OBJECTS = alist.lo append.lo appinit.lo arbiters.lo \ |
9dcf6a02 JB |
151 | async.lo boolean.lo chars.lo continuations.lo dynl.lo dynwind.lo eq.lo \ |
152 | error.lo eval.lo extchrs.lo feature.lo filesys.lo fports.lo gc.lo \ | |
ee2a8b9b JB |
153 | gdbint.lo genio.lo gh_data.lo gh_eval.lo gh_funcs.lo gh_init.lo \ |
154 | gh_io.lo gh_list.lo gh_predicates.lo gsubr.lo hash.lo hashtab.lo \ | |
155 | init.lo ioext.lo kw.lo list.lo load.lo mallocs.lo markers.lo \ | |
156 | mbstrings.lo net_db.lo numbers.lo objprop.lo options.lo pairs.lo \ | |
157 | ports.lo posix.lo print.lo procprop.lo procs.lo ramap.lo read.lo \ | |
158 | root.lo scmsigs.lo sequences.lo simpos.lo smob.lo socket.lo stackchk.lo \ | |
159 | stime.lo strings.lo strop.lo strorder.lo strports.lo struct.lo \ | |
160 | symbols.lo tag.lo throw.lo unif.lo variable.lo vectors.lo version.lo \ | |
161 | vports.lo weaks.lo | |
162 | gh_test_c_OBJECTS = gh_test_c.o | |
163 | gh_test_c_DEPENDENCIES = libguile.la | |
164 | gh_test_c_LDFLAGS = | |
165 | gh_test_repl_OBJECTS = gh_test_repl.o | |
166 | gh_test_repl_DEPENDENCIES = libguile.la | |
167 | gh_test_repl_LDFLAGS = | |
adb75a41 TT |
168 | SCRIPTS = $(bin_SCRIPTS) |
169 | ||
733943b9 TT |
170 | CFLAGS = @CFLAGS@ |
171 | COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) | |
e13d8dc0 | 172 | LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) |
1bb9f4db | 173 | LINK = $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ |
733943b9 TT |
174 | DATA = $(modinclude_DATA) |
175 | ||
7bfd3b9e | 176 | HEADERS = $(include_HEADERS) $(modinclude_HEADERS) $(noinst_HEADERS) \ |
ee2a8b9b | 177 | $(pkginclude_HEADERS) |
733943b9 TT |
178 | |
179 | DIST_COMMON = COPYING ChangeLog Makefile.am Makefile.in acconfig.h \ | |
67ec3667 | 180 | acinclude.m4 aclocal.m4 configure configure.in guile-snarf.in \ |
adb75a41 | 181 | scmconfig.h.in stamp-h.in |
733943b9 TT |
182 | |
183 | ||
e13d8dc0 | 184 | DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) |
733943b9 TT |
185 | |
186 | TAR = tar | |
e13d8dc0 | 187 | GZIP = --best |
733943b9 | 188 | DEP_FILES = .deps/alist.P .deps/append.P .deps/appinit.P \ |
78bda5f3 MV |
189 | .deps/arbiters.P .deps/async.P .deps/backtrace.P .deps/boolean.P \ |
190 | .deps/chars.P .deps/continuations.P .deps/debug.P .deps/dynl.P \ | |
191 | .deps/dynwind.P .deps/eq.P .deps/error.P .deps/eval.P .deps/extchrs.P \ | |
192 | .deps/feature.P .deps/filesys.P .deps/fports.P .deps/gc.P \ | |
ee2a8b9b JB |
193 | .deps/gdbint.P .deps/genio.P .deps/gh_data.P .deps/gh_eval.P \ |
194 | .deps/gh_funcs.P .deps/gh_init.P .deps/gh_io.P .deps/gh_list.P \ | |
195 | .deps/gh_predicates.P .deps/gh_test_c.P .deps/gh_test_repl.P \ | |
196 | .deps/gsubr.P .deps/hash.P .deps/hashtab.P .deps/inet_aton.P \ | |
197 | .deps/init.P .deps/ioext.P .deps/kw.P .deps/list.P .deps/load.P \ | |
198 | .deps/mallocs.P .deps/markers.P .deps/mbstrings.P .deps/net_db.P \ | |
199 | .deps/numbers.P .deps/objprop.P .deps/options.P .deps/pairs.P \ | |
200 | .deps/ports.P .deps/posix.P .deps/print.P .deps/procprop.P \ | |
201 | .deps/procs.P .deps/putenv.P .deps/ramap.P .deps/read.P .deps/root.P \ | |
202 | .deps/scmsigs.P .deps/sequences.P .deps/simpos.P .deps/smob.P \ | |
203 | .deps/socket.P .deps/srcprop.P .deps/stackchk.P .deps/stacks.P \ | |
204 | .deps/stime.P .deps/strerror.P .deps/strings.P .deps/strop.P \ | |
205 | .deps/strorder.P .deps/strports.P .deps/struct.P .deps/symbols.P \ | |
7bfd3b9e JB |
206 | .deps/tag.P .deps/threads.P .deps/throw.P .deps/unif.P .deps/variable.P \ |
207 | .deps/vectors.P .deps/version.P .deps/vports.P .deps/weaks.P | |
ee2a8b9b JB |
208 | SOURCES = $(libguile_la_SOURCES) $(EXTRA_libguile_la_SOURCES) $(gh_test_c_SOURCES) $(gh_test_repl_SOURCES) |
209 | OBJECTS = $(libguile_la_OBJECTS) $(gh_test_c_OBJECTS) $(gh_test_repl_OBJECTS) | |
733943b9 TT |
210 | |
211 | default: all | |
0f2d19dd | 212 | |
733943b9 | 213 | .SUFFIXES: |
1bb9f4db | 214 | .SUFFIXES: .c .o .lo .x |
e13d8dc0 JB |
215 | $(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) |
216 | cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile | |
84da179f MG |
217 | |
218 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) | |
219 | cd $(top_builddir) \ | |
220 | && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status | |
221 | ||
e13d8dc0 JB |
222 | $(srcdir)/aclocal.m4: @MAINT@ configure.in acinclude.m4 |
223 | cd $(srcdir) && $(ACLOCAL) | |
733943b9 | 224 | |
733943b9 TT |
225 | config.status: configure |
226 | $(SHELL) ./config.status --recheck | |
e13d8dc0 JB |
227 | $(srcdir)/configure: @MAINT@configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) |
228 | cd $(srcdir) && $(AUTOCONF) | |
733943b9 TT |
229 | |
230 | $(CONFIG_HEADER): stamp-h | |
231 | stamp-h: $(CONFIG_HEADER_IN) $(top_builddir)/config.status | |
232 | cd $(top_builddir) \ | |
e13d8dc0 | 233 | && CONFIG_FILES= CONFIG_HEADERS=$(CONFIG_HEADER_FULL) \ |
733943b9 TT |
234 | $(SHELL) ./config.status |
235 | @echo timestamp > stamp-h | |
15ae1bee | 236 | $(srcdir)/$(CONFIG_HEADER_IN): @MAINT@stamp-h.in |
e13d8dc0 JB |
237 | $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h |
238 | cd $(top_srcdir) && $(AUTOHEADER) | |
733943b9 TT |
239 | echo timestamp > $(srcdir)/stamp-h.in |
240 | ||
241 | mostlyclean-hdr: | |
242 | ||
243 | clean-hdr: | |
244 | ||
245 | distclean-hdr: | |
246 | rm -f $(CONFIG_HEADER) | |
247 | ||
248 | maintainer-clean-hdr: | |
adb75a41 TT |
249 | guile-snarf: $(top_builddir)/config.status guile-snarf.in |
250 | cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status | |
733943b9 | 251 | |
e13d8dc0 | 252 | mostlyclean-libLTLIBRARIES: |
733943b9 | 253 | |
e13d8dc0 JB |
254 | clean-libLTLIBRARIES: |
255 | test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) | |
733943b9 | 256 | |
e13d8dc0 | 257 | distclean-libLTLIBRARIES: |
733943b9 | 258 | |
e13d8dc0 | 259 | maintainer-clean-libLTLIBRARIES: |
733943b9 | 260 | |
e13d8dc0 JB |
261 | install-libLTLIBRARIES: $(lib_LTLIBRARIES) |
262 | @$(NORMAL_INSTALL) | |
733943b9 | 263 | $(mkinstalldirs) $(libdir) |
e13d8dc0 | 264 | @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ |
733943b9 | 265 | if test -f $$p; then \ |
e13d8dc0 JB |
266 | echo "$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(libdir)/$$p"; \ |
267 | $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(libdir)/$$p; \ | |
733943b9 | 268 | else :; fi; \ |
0f7876f5 JB |
269 | done |
270 | ||
e13d8dc0 JB |
271 | uninstall-libLTLIBRARIES: |
272 | $(NORMAL_UNINSTALL) | |
273 | list='$(lib_LTLIBRARIES)'; for p in $$list; do \ | |
274 | $(LIBTOOL) --mode=uninstall rm -f $(libdir)/$$p; \ | |
0f2d19dd JB |
275 | done |
276 | ||
733943b9 TT |
277 | .c.o: |
278 | $(COMPILE) -c $< | |
279 | ||
280 | mostlyclean-compile: | |
281 | rm -f *.o core | |
282 | ||
283 | clean-compile: | |
284 | ||
285 | distclean-compile: | |
286 | rm -f *.tab.c | |
287 | ||
288 | maintainer-clean-compile: | |
733943b9 | 289 | |
1bb9f4db MV |
290 | .c.lo: |
291 | $(LIBTOOL) --mode=compile $(COMPILE) -c $< | |
292 | ||
293 | mostlyclean-libtool: | |
294 | rm -f *.lo | |
295 | ||
296 | clean-libtool: | |
297 | rm -rf .libs | |
298 | ||
299 | distclean-libtool: | |
300 | ||
301 | maintainer-clean-libtool: | |
1bb9f4db MV |
302 | |
303 | libguile.la: $(libguile_la_OBJECTS) $(libguile_la_DEPENDENCIES) | |
ee2a8b9b JB |
304 | $(LINK) -rpath $(libdir) $(libguile_la_LDFLAGS) $(libguile_la_OBJECTS) $(libguile_la_LIBADD) $(LIBS) |
305 | ||
306 | mostlyclean-checkPROGRAMS: | |
307 | ||
308 | clean-checkPROGRAMS: | |
309 | test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS) | |
310 | ||
311 | distclean-checkPROGRAMS: | |
312 | ||
313 | maintainer-clean-checkPROGRAMS: | |
314 | ||
315 | gh_test_c: $(gh_test_c_OBJECTS) $(gh_test_c_DEPENDENCIES) | |
316 | @rm -f gh_test_c | |
317 | $(LINK) $(gh_test_c_LDFLAGS) $(gh_test_c_OBJECTS) $(gh_test_c_LDADD) $(LIBS) | |
318 | ||
319 | gh_test_repl: $(gh_test_repl_OBJECTS) $(gh_test_repl_DEPENDENCIES) | |
320 | @rm -f gh_test_repl | |
321 | $(LINK) $(gh_test_repl_LDFLAGS) $(gh_test_repl_OBJECTS) $(gh_test_repl_LDADD) $(LIBS) | |
0f2d19dd | 322 | |
adb75a41 | 323 | install-binSCRIPTS: $(bin_SCRIPTS) |
e13d8dc0 | 324 | @$(NORMAL_INSTALL) |
adb75a41 | 325 | $(mkinstalldirs) $(bindir) |
e13d8dc0 | 326 | @list='$(bin_SCRIPTS)'; for p in $$list; do \ |
adb75a41 | 327 | if test -f $$p; then \ |
e13d8dc0 | 328 | echo " $(INSTALL_SCRIPT) $$p $(bindir)/`echo $$p|sed '$(transform)'`"; \ |
adb75a41 TT |
329 | $(INSTALL_SCRIPT) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \ |
330 | else if test -f $(srcdir)/$$p; then \ | |
e13d8dc0 | 331 | echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(bindir)/`echo $$p|sed '$(transform)'`"; \ |
f9d81b6b | 332 | $(INSTALL_SCRIPT) $(srcdir)/$$p $(bindir)/`echo $$p|sed '$(transform)'`; \ |
adb75a41 TT |
333 | else :; fi; fi; \ |
334 | done | |
335 | ||
336 | uninstall-binSCRIPTS: | |
e13d8dc0 JB |
337 | $(NORMAL_UNINSTALL) |
338 | list='$(bin_SCRIPTS)'; for p in $$list; do \ | |
adb75a41 TT |
339 | rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \ |
340 | done | |
341 | ||
733943b9 | 342 | install-modincludeDATA: $(modinclude_DATA) |
e13d8dc0 | 343 | @$(NORMAL_INSTALL) |
733943b9 | 344 | $(mkinstalldirs) $(modincludedir) |
e13d8dc0 | 345 | @list='$(modinclude_DATA)'; for p in $$list; do \ |
733943b9 | 346 | if test -f $(srcdir)/$$p; then \ |
e13d8dc0 | 347 | echo " $(INSTALL_DATA) $(srcdir)/$$p $(modincludedir)/$$p"; \ |
733943b9 TT |
348 | $(INSTALL_DATA) $(srcdir)/$$p $(modincludedir)/$$p; \ |
349 | else if test -f $$p; then \ | |
e13d8dc0 | 350 | echo " $(INSTALL_DATA) $$p $(modincludedir)/$$p"; \ |
733943b9 TT |
351 | $(INSTALL_DATA) $$p $(modincludedir)/$$p; \ |
352 | fi; fi; \ | |
60704a73 | 353 | done |
733943b9 TT |
354 | |
355 | uninstall-modincludeDATA: | |
e13d8dc0 JB |
356 | $(NORMAL_UNINSTALL) |
357 | list='$(modinclude_DATA)'; for p in $$list; do \ | |
733943b9 | 358 | rm -f $(modincludedir)/$$p; \ |
0f2d19dd JB |
359 | done |
360 | ||
7f52af65 | 361 | install-includeHEADERS: $(include_HEADERS) |
e13d8dc0 | 362 | @$(NORMAL_INSTALL) |
7f52af65 | 363 | $(mkinstalldirs) $(includedir) |
e13d8dc0 JB |
364 | @list='$(include_HEADERS)'; for p in $$list; do \ |
365 | echo " $(INSTALL_DATA) $(srcdir)/$$p $(includedir)/$$p"; \ | |
7f52af65 MD |
366 | $(INSTALL_DATA) $(srcdir)/$$p $(includedir)/$$p; \ |
367 | done | |
368 | ||
369 | uninstall-includeHEADERS: | |
e13d8dc0 JB |
370 | $(NORMAL_UNINSTALL) |
371 | list='$(include_HEADERS)'; for p in $$list; do \ | |
7f52af65 MD |
372 | rm -f $(includedir)/$$p; \ |
373 | done | |
374 | ||
ef12d978 | 375 | install-modincludeHEADERS: $(modinclude_HEADERS) |
e13d8dc0 | 376 | @$(NORMAL_INSTALL) |
ef12d978 | 377 | $(mkinstalldirs) $(modincludedir) |
e13d8dc0 JB |
378 | @list='$(modinclude_HEADERS)'; for p in $$list; do \ |
379 | echo " $(INSTALL_DATA) $(srcdir)/$$p $(modincludedir)/$$p"; \ | |
ef12d978 GH |
380 | $(INSTALL_DATA) $(srcdir)/$$p $(modincludedir)/$$p; \ |
381 | done | |
382 | ||
383 | uninstall-modincludeHEADERS: | |
e13d8dc0 JB |
384 | $(NORMAL_UNINSTALL) |
385 | list='$(modinclude_HEADERS)'; for p in $$list; do \ | |
ef12d978 GH |
386 | rm -f $(modincludedir)/$$p; \ |
387 | done | |
388 | ||
ee2a8b9b JB |
389 | install-pkgincludeHEADERS: $(pkginclude_HEADERS) |
390 | @$(NORMAL_INSTALL) | |
391 | $(mkinstalldirs) $(pkgincludedir) | |
392 | @list='$(pkginclude_HEADERS)'; for p in $$list; do \ | |
393 | echo " $(INSTALL_DATA) $(srcdir)/$$p $(pkgincludedir)/$$p"; \ | |
394 | $(INSTALL_DATA) $(srcdir)/$$p $(pkgincludedir)/$$p; \ | |
395 | done | |
396 | ||
397 | uninstall-pkgincludeHEADERS: | |
398 | $(NORMAL_UNINSTALL) | |
399 | list='$(pkginclude_HEADERS)'; for p in $$list; do \ | |
400 | rm -f $(pkgincludedir)/$$p; \ | |
401 | done | |
402 | ||
733943b9 TT |
403 | tags: TAGS |
404 | ||
405 | ID: $(HEADERS) $(SOURCES) | |
406 | here=`pwd` && cd $(srcdir) && mkid -f$$here/ID $(SOURCES) $(HEADERS) | |
407 | ||
408 | TAGS: $(HEADERS) $(SOURCES) scmconfig.h.in $(TAGS_DEPENDENCIES) | |
409 | tags=; \ | |
410 | here=`pwd`; \ | |
e13d8dc0 | 411 | list='$(SUBDIRS)'; for subdir in $$list; do \ |
733943b9 TT |
412 | test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ |
413 | done; \ | |
414 | test -z "$(ETAGS_ARGS)scmconfig.h.in$(SOURCES)$(HEADERS)$$tags" \ | |
e13d8dc0 | 415 | || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags scmconfig.h.in $(SOURCES) $(HEADERS) -o $$here/TAGS) |
733943b9 TT |
416 | |
417 | mostlyclean-tags: | |
418 | ||
419 | clean-tags: | |
420 | ||
421 | distclean-tags: | |
422 | rm -f TAGS ID | |
423 | ||
424 | maintainer-clean-tags: | |
425 | ||
426 | distdir = $(PACKAGE)-$(VERSION) | |
427 | # This target untars the dist file and tries a VPATH configuration. Then | |
428 | # it guarantees that the distribution is self-contained by making another | |
429 | # tarfile. | |
430 | distcheck: dist | |
431 | rm -rf $(distdir) | |
e13d8dc0 | 432 | GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz |
733943b9 TT |
433 | mkdir $(distdir)/=build |
434 | mkdir $(distdir)/=inst | |
435 | dc_install_base=`cd $(distdir)/=inst && pwd`; \ | |
436 | cd $(distdir)/=build \ | |
437 | && ../configure --srcdir=.. --prefix=$$dc_install_base \ | |
438 | && $(MAKE) \ | |
439 | && $(MAKE) dvi \ | |
440 | && $(MAKE) check \ | |
441 | && $(MAKE) install \ | |
442 | && $(MAKE) installcheck \ | |
443 | && $(MAKE) dist | |
444 | rm -rf $(distdir) | |
445 | @echo "========================"; \ | |
446 | echo "$(distdir).tar.gz is ready for distribution"; \ | |
447 | echo "========================" | |
448 | dist: distdir | |
449 | -chmod -R a+r $(distdir) | |
e13d8dc0 | 450 | GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir) |
733943b9 TT |
451 | rm -rf $(distdir) |
452 | dist-all: distdir | |
453 | -chmod -R a+r $(distdir) | |
e13d8dc0 | 454 | GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir) |
733943b9 TT |
455 | rm -rf $(distdir) |
456 | distdir: $(DISTFILES) | |
457 | rm -rf $(distdir) | |
458 | mkdir $(distdir) | |
459 | -chmod 755 $(distdir) | |
460 | here=`pwd`; distdir=`cd $(distdir) && pwd` \ | |
461 | && cd $(srcdir) \ | |
e13d8dc0 | 462 | && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(srcdir) --output-dir=$$distdir --foreign |
733943b9 TT |
463 | $(mkinstalldirs) $(distdir)/PLUGIN |
464 | @for file in $(DISTFILES); do \ | |
465 | d=$(srcdir); \ | |
466 | test -f $(distdir)/$$file \ | |
467 | || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ | |
468 | || cp -p $$d/$$file $(distdir)/$$file; \ | |
469 | done | |
470 | .deps/.P: | |
471 | test -d .deps || mkdir .deps | |
472 | echo > $@ | |
473 | ||
474 | -include $(DEP_FILES) | |
475 | $(DEP_FILES): .deps/.P | |
476 | ||
477 | mostlyclean-depend: | |
478 | ||
479 | clean-depend: | |
480 | ||
481 | distclean-depend: | |
482 | ||
483 | maintainer-clean-depend: | |
484 | rm -rf .deps | |
485 | ||
f9d81b6b | 486 | .deps/%.P: $(srcdir)/%.c |
733943b9 | 487 | @echo "Computing dependencies for $<..." |
84da179f | 488 | @o='o'; \ |
f9d81b6b | 489 | test -n "$o" && o='$$o'; \ |
e13d8dc0 | 490 | $(MKDEP) $< | sed "s,^\(.*\)\.o:,\1.$$o \1.l$$o $@:," > $@ |
0f2d19dd | 491 | info: |
733943b9 | 492 | dvi: |
ee2a8b9b | 493 | check: all $(check_PROGRAMS) |
733943b9 TT |
494 | $(MAKE) |
495 | installcheck: | |
e13d8dc0 JB |
496 | install-exec: install-libLTLIBRARIES install-binSCRIPTS |
497 | @$(NORMAL_INSTALL) | |
733943b9 | 498 | |
ee2a8b9b | 499 | install-data: install-modincludeDATA install-includeHEADERS install-modincludeHEADERS install-pkgincludeHEADERS |
e13d8dc0 | 500 | @$(NORMAL_INSTALL) |
733943b9 TT |
501 | |
502 | install: install-exec install-data all | |
503 | @: | |
504 | ||
ee2a8b9b | 505 | uninstall: uninstall-libLTLIBRARIES uninstall-binSCRIPTS uninstall-modincludeDATA uninstall-includeHEADERS uninstall-modincludeHEADERS uninstall-pkgincludeHEADERS |
733943b9 | 506 | |
e13d8dc0 | 507 | all: $(LTLIBRARIES) $(SCRIPTS) $(DATA) $(HEADERS) Makefile scmconfig.h |
733943b9 TT |
508 | |
509 | install-strip: | |
510 | $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install | |
511 | installdirs: | |
ef12d978 | 512 | $(mkinstalldirs) $(libdir) $(bindir) $(modincludedir) $(includedir) \ |
ee2a8b9b | 513 | $(modincludedir) $(pkgincludedir) |
733943b9 TT |
514 | |
515 | ||
516 | mostlyclean-generic: | |
517 | test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) | |
518 | ||
519 | clean-generic: | |
520 | test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) | |
521 | ||
522 | distclean-generic: | |
523 | rm -f Makefile $(DISTCLEANFILES) | |
524 | rm -f config.cache config.log stamp-h | |
525 | test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | |
526 | ||
527 | maintainer-clean-generic: | |
528 | test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) | |
529 | test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) | |
e13d8dc0 | 530 | mostlyclean: mostlyclean-hdr mostlyclean-libLTLIBRARIES \ |
1bb9f4db | 531 | mostlyclean-compile mostlyclean-libtool \ |
ee2a8b9b JB |
532 | mostlyclean-checkPROGRAMS mostlyclean-tags \ |
533 | mostlyclean-depend mostlyclean-generic | |
733943b9 | 534 | |
e13d8dc0 | 535 | clean: clean-hdr clean-libLTLIBRARIES clean-compile clean-libtool \ |
ee2a8b9b JB |
536 | clean-checkPROGRAMS clean-tags clean-depend \ |
537 | clean-generic mostlyclean | |
733943b9 | 538 | |
e13d8dc0 | 539 | distclean: distclean-hdr distclean-libLTLIBRARIES distclean-compile \ |
ee2a8b9b JB |
540 | distclean-libtool distclean-checkPROGRAMS \ |
541 | distclean-tags distclean-depend distclean-generic clean | |
733943b9 | 542 | rm -f config.status |
1bb9f4db | 543 | rm -f libtool |
733943b9 | 544 | |
e13d8dc0 | 545 | maintainer-clean: maintainer-clean-hdr maintainer-clean-libLTLIBRARIES \ |
1bb9f4db | 546 | maintainer-clean-compile maintainer-clean-libtool \ |
ee2a8b9b JB |
547 | maintainer-clean-checkPROGRAMS maintainer-clean-tags \ |
548 | maintainer-clean-depend maintainer-clean-generic \ | |
549 | distclean | |
733943b9 TT |
550 | @echo "This command is intended for maintainers to use;" |
551 | @echo "it deletes files that may require special tools to rebuild." | |
552 | rm -f config.status | |
553 | ||
554 | .PHONY: default mostlyclean-hdr distclean-hdr clean-hdr \ | |
e13d8dc0 JB |
555 | maintainer-clean-hdr mostlyclean-libLTLIBRARIES \ |
556 | distclean-libLTLIBRARIES clean-libLTLIBRARIES \ | |
557 | maintainer-clean-libLTLIBRARIES uninstall-libLTLIBRARIES \ | |
558 | install-libLTLIBRARIES mostlyclean-compile distclean-compile \ | |
559 | clean-compile maintainer-clean-compile mostlyclean-libtool \ | |
560 | distclean-libtool clean-libtool maintainer-clean-libtool \ | |
ee2a8b9b JB |
561 | mostlyclean-checkPROGRAMS distclean-checkPROGRAMS clean-checkPROGRAMS \ |
562 | maintainer-clean-checkPROGRAMS uninstall-binSCRIPTS install-binSCRIPTS \ | |
563 | uninstall-modincludeDATA install-modincludeDATA \ | |
564 | uninstall-includeHEADERS install-includeHEADERS \ | |
565 | uninstall-modincludeHEADERS install-modincludeHEADERS \ | |
566 | uninstall-pkgincludeHEADERS install-pkgincludeHEADERS tags \ | |
ef12d978 GH |
567 | mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \ |
568 | distdir mostlyclean-depend distclean-depend clean-depend \ | |
adb75a41 TT |
569 | maintainer-clean-depend info dvi installcheck install-exec install-data \ |
570 | install uninstall all installdirs mostlyclean-generic distclean-generic \ | |
571 | clean-generic maintainer-clean-generic clean mostlyclean distclean \ | |
572 | maintainer-clean | |
733943b9 | 573 | |
0f2d19dd | 574 | |
733943b9 TT |
575 | libpath.h: Makefile |
576 | echo '/* generated by Makefile */' > libpath.h | |
f8d0b192 JB |
577 | echo '#define SCM_PKGDATA_DIR "$(pkgdatadir)"' >> libpath.h |
578 | echo '#define SCM_LIBRARY_DIR "$(pkgdatadir)/$(VERSION)"' >> libpath.h | |
579 | echo '#define SCM_SITE_DIR "$(pkgdatadir)/site"' >> libpath.h | |
733943b9 | 580 | .c.x: |
adb75a41 | 581 | ./guile-snarf $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $< > $@ |
733943b9 | 582 | |
a0e90145 JB |
583 | cpp_err_symbols.c: cpp_err_symbols.in |
584 | $(AWK) -f $(srcdir)/cpp_cnvt.awk < $(srcdir)/cpp_err_symbols.in > \ | |
67ec3667 GH |
585 | cpp_err_symbols.c |
586 | ||
a0e90145 JB |
587 | cpp_sig_symbols.c: cpp_sig_symbols.in |
588 | $(AWK) -f $(srcdir)/cpp_cnvt.awk < $(srcdir)/cpp_sig_symbols.in > \ | |
67ec3667 GH |
589 | cpp_sig_symbols.c |
590 | ||
591 | check_signals: | |
592 | gcc -undef -dM -E $(srcdir)/cpp_signal.c | egrep ' SIG[A-Z]+' \ | |
593 | | cut -f2 -d' ' | sort > cpp_sig_symbols_here | |
a0e90145 JB |
594 | diff -u $(srcdir)/cpp_sig_symbols.in cpp_sig_symbols_here \ |
595 | | egrep '^\+S' \ | |
67ec3667 GH |
596 | | cut -c2- > cpp_sig_symbols_diff |
597 | if test -s cpp_sig_symbols_diff ; then \ | |
a0e90145 | 598 | cat $(srcdir)/cpp_sig_symbols.in cpp_sig_symbols_diff \ |
67ec3667 GH |
599 | | sort > cpp_sig_symbols_new ;\ |
600 | echo "cpp_sig_symbols_new has the following additions:" ;\ | |
601 | cat cpp_sig_symbols_diff ;\ | |
602 | else echo "No new symbols found."; \ | |
603 | fi | |
604 | ||
605 | check_errnos: | |
606 | gcc -undef -dM -E $(srcdir)/cpp_errno.c | egrep ' E.+' \ | |
607 | | cut -f2 -d' ' | sort > cpp_err_symbols_here | |
a0e90145 JB |
608 | diff -u $(srcdir)/cpp_err_symbols.in cpp_err_symbols_here \ |
609 | | egrep '^\+E' \ | |
67ec3667 GH |
610 | | cut -c2- > cpp_err_symbols_diff |
611 | if test -s cpp_err_symbols_diff ; then \ | |
a0e90145 | 612 | cat $(srcdir)/cpp_err_symbols.in cpp_err_symbols_diff \ |
67ec3667 GH |
613 | | sort > cpp_err_symbols_new ;\ |
614 | echo "cpp_err_symbols_new has the following additions:" ;\ | |
615 | cat cpp_err_symbols_diff ;\ | |
616 | else echo "No new symbols found."; \ | |
617 | fi | |
ee78fbb0 | 618 | |
733943b9 TT |
619 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
620 | # Otherwise a system limit (for SysV at least) may be exceeded. | |
621 | .NOEXPORT: |