mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-24 21:50:20 +02:00
* Makefile.am (modinclude_HEADERS): add scmconfig.h.
(scmconfig.h): new target -- generate file from ../config.h. (MOSTLYCLEANFILES): add scmconfig.h.
This commit is contained in:
parent
a8c2aa0337
commit
03e24dbcd7
1 changed files with 27 additions and 18 deletions
|
@ -120,23 +120,23 @@ pkginclude_HEADERS = gh.h
|
||||||
|
|
||||||
# These are headers visible as <libguile/mumble.h>.
|
# These are headers visible as <libguile/mumble.h>.
|
||||||
modincludedir = $(includedir)/libguile
|
modincludedir = $(includedir)/libguile
|
||||||
modinclude_HEADERS = __scm.h alist.h arbiters.h async.h backtrace.h boolean.h \
|
modinclude_HEADERS = \
|
||||||
chars.h continuations.h coop-defs.h debug.h debug-malloc.h deprecation.h \
|
__scm.h alist.h arbiters.h async.h backtrace.h boolean.h \
|
||||||
dynl.h dynwind.h environments.h eq.h error.h eval.h evalext.h \
|
chars.h continuations.h coop-defs.h debug.h debug-malloc.h \
|
||||||
extensions.h feature.h filesys.h fluids.h fports.h gc.h \
|
deprecation.h \
|
||||||
gdb_interface.h gdbint.h \
|
dynl.h dynwind.h environments.h eq.h error.h eval.h evalext.h \
|
||||||
goops.h gsubr.h guardians.h hash.h hashtab.h hooks.h init.h ioext.h \
|
extensions.h feature.h filesys.h fluids.h fports.h gc.h \
|
||||||
iselect.h keywords.h lang.h list.h load.h macros.h mallocs.h modules.h \
|
gdb_interface.h gdbint.h \
|
||||||
net_db.h numbers.h objects.h objprop.h options.h pairs.h ports.h posix.h \
|
goops.h gsubr.h guardians.h hash.h hashtab.h hooks.h init.h ioext.h \
|
||||||
regex-posix.h print.h procprop.h procs.h properties.h random.h ramap.h \
|
iselect.h keywords.h lang.h list.h load.h macros.h mallocs.h modules.h \
|
||||||
rdelim.h read.h root.h rw.h scmsigs.h validate.h script.h simpos.h smob.h \
|
net_db.h numbers.h objects.h objprop.h options.h pairs.h ports.h posix.h \
|
||||||
snarf.h socket.h sort.h srcprop.h stackchk.h stacks.h stime.h strings.h \
|
regex-posix.h print.h procprop.h procs.h properties.h random.h ramap.h \
|
||||||
strop.h strorder.h strports.h struct.h symbols.h tags.h threads.h \
|
rdelim.h read.h root.h rw.h scmconfig.h scmsigs.h validate.h \
|
||||||
throw.h unif.h values.h variable.h vectors.h version.h vports.h weaks.h
|
script.h simpos.h smob.h \
|
||||||
|
snarf.h socket.h sort.h srcprop.h stackchk.h stacks.h stime.h strings.h \
|
||||||
## This file is generated at configure time. That is why it is DATA
|
strop.h strorder.h strports.h struct.h symbols.h tags.h threads.h \
|
||||||
## and not a header -- headers are included in the distribution.
|
throw.h unif.h values.h variable.h vectors.h version.h vports.h weaks.h \
|
||||||
modinclude_DATA = scmconfig.h
|
scmconfig.h
|
||||||
|
|
||||||
bin_SCRIPTS = guile-snarf
|
bin_SCRIPTS = guile-snarf
|
||||||
|
|
||||||
|
@ -152,6 +152,14 @@ EXTRA_DIST = ChangeLog-gh ChangeLog-scm ChangeLog-threads \
|
||||||
# $(DOT_DOC_FILES) $(EXTRA_DOT_DOC_FILES) \
|
# $(DOT_DOC_FILES) $(EXTRA_DOT_DOC_FILES) \
|
||||||
# guile-procedures.txt guile.texi
|
# guile-procedures.txt guile.texi
|
||||||
|
|
||||||
|
# This is a temporary fix -- we'll be generating this file by hand
|
||||||
|
# soon, but don't want to make changes that major right now.
|
||||||
|
scmconfig.h: $(top_builddir)/config.h
|
||||||
|
rm -f scmconfig.h
|
||||||
|
sed -e 's|\(#define PACKAGE_.*\)|/* do not publish: \1 */|' \
|
||||||
|
< $(top_builddir)/config.h > scmconfig.h.tmp
|
||||||
|
mv scmconfig.h.tmp scmconfig.h
|
||||||
|
|
||||||
## FIXME: Consider using timestamp file, to avoid unnecessary rebuilds.
|
## FIXME: Consider using timestamp file, to avoid unnecessary rebuilds.
|
||||||
libpath.h: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
libpath.h: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
@echo "Generating libpath.h..."
|
@echo "Generating libpath.h..."
|
||||||
|
@ -284,7 +292,8 @@ check_errnos:
|
||||||
|
|
||||||
MOSTLYCLEANFILES = \
|
MOSTLYCLEANFILES = \
|
||||||
cpp_err_symbols_here cpp_err_symbols_diff cpp_err_symbols_new \
|
cpp_err_symbols_here cpp_err_symbols_diff cpp_err_symbols_new \
|
||||||
cpp_sig_symbols_here cpp_sig_symbols_diff cpp_sig_symbols_new
|
cpp_sig_symbols_here cpp_sig_symbols_diff cpp_sig_symbols_new \
|
||||||
|
scmconfig.h
|
||||||
|
|
||||||
CLEANFILES = libpath.h *.x *.doc guile-procedures.txt guile-procedures.texi guile.texi
|
CLEANFILES = libpath.h *.x *.doc guile-procedures.txt guile-procedures.texi guile.texi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue