Mercurial > octave
view liboctave/cruft/module.mk @ 22024:659731a4563f
build: delete generated files, keep distributed files on clean and distclean (bug #45646)
* Makefile.am (CLEANFILES): Add octave-config.h and run-octave to the list.
Remove $(BUILT_SOURCES) from the list.
(DISTCLEANFILES): Add $(GEN_CONFIG_INC) to the list.
(nodist_octinclude_HEADERS): Add oct-conf-post.h to the list.
* libgui/src/module.mk
(libgui_CLEANFILES): Add libgui/src/liboctgui-build-info.cc to the list.
(libgui_DISTCLEANFILES): Remove libgui/src/liboctgui-build-info.cc from the
list.
* libinterp/module.mk
(LIBINTERP_BUILT_NODISTFILES): Add libinterp/corefcn/graphics-props.cc to the
list.
(nodist_octinclude_HEADERS): Add libinterp/builtin-defun-decls.h and
libinterp/corefcn/graphics-props.cc to the list.
(octinclude_HEADERS): Remove libinterp/builtin-defun-decls.h and
libinterp/corefcn/graphics-props.cc from the list.
(libinterp_CLEANFILES): Add $(LIBINTERP_BUILT_NODISTFILES) to the list,
replacing libinterp/corefcn/graphics-props.cc.
(libinterp_DISTCLEANFILES): Remove $(LIBINTERP_BUILT_NODISTFILES) from the list.
* liboctave/cruft/module.mk (liboctave_CLEANFILES): Add the previous contents of
$(liboctave_DISTCLEANFILES) to the list.
* liboctave/module.mk (liboctave_CLEANFILES): Add $(LIBOCTAVE_BUILT_NODISTFILES)
to the list. (liboctave_DISTCLEANFILES): Remove $(LIBOCTAVE_BUILT_NODISTFILES)
and $(BUILT_INCS) from the list.
* liboctave/numeric/module.mk (liboctave_CLEANFILES): Add $(LIBOCTAVE_OPT_INC)
to the list.
* liboctave/operators/module.mk
(liboctave_CLEANFILES): Add $(BUILT_LIBOCTAVE_OPERATORS_FILES) to the list.
(liboctave_DISTCLEANFILES): Remove $(BUILT_LIBOCTAVE_OPERATORS_SOURCES) from
the list.
* scripts/module.mk (scripts_CLEANFILES): Add $(GEN_FCN_FILES) to the list.
(scripts_DISTCLEANFILES): Remove $(GEN_FCN_FILES) from the list.
* src/module.mk (src_CLEANFILES): Add src/main.cc, src/mkoctfile.cc,
src/octave-build-info.cc, and src/octave-config.cc to the list.
(src_DISTCLEANFILES): Remove src/octave-config-build-info.cc from the list.
(DISTCLEANFILES): Remove src/main.cc, src/mkoctfile.cc, and src/octave-config.cc
from the list.
author | Mike Miller <mtmiller@octave.org> |
---|---|
date | Fri, 01 Jul 2016 10:51:49 -0700 |
parents | 7e8a410e6124 |
children | 58d56f52d50a |
line wrap: on
line source
nodist_liboctave_cruft_libcruft_la_SOURCES = liboctave_cruft_libcruft_la_FFLAGS = $(F77_INTEGER_8_FLAG) liboctave_cruft_libcruft_la_DEPENDENCIES = liboctave/cruft/cruft.def CRUFT_INC = CRUFT_SOURCES = include liboctave/cruft/amos/module.mk include liboctave/cruft/blas-xtra/module.mk include liboctave/cruft/daspk/module.mk include liboctave/cruft/dasrt/module.mk include liboctave/cruft/dassl/module.mk include liboctave/cruft/Faddeeva/module.mk include liboctave/cruft/fftpack/module.mk include liboctave/cruft/lapack-xtra/module.mk include liboctave/cruft/misc/module.mk include liboctave/cruft/odepack/module.mk include liboctave/cruft/ordered-qz/module.mk include liboctave/cruft/quadpack/module.mk include liboctave/cruft/ranlib/module.mk include liboctave/cruft/slatec-err/module.mk include liboctave/cruft/slatec-fn/module.mk liboctave/cruft/cruft.def: $(liboctave_cruft_libcruft_la_SOURCES) build-aux/mk-f77-def.sh $(AM_V_GEN)rm -f $@-t $@ && \ $(SHELL) build-aux/mk-f77-def.sh $(srcdir) $(liboctave_cruft_libcruft_la_SOURCES) > $@-t && \ mv $@-t $@ liboctave_CLEANFILES += \ liboctave/cruft/cruft.def \ liboctave/cruft/ranlib/ranlib.def \ $(nodist_liboctave_cruft_libcruft_la_SOURCES) noinst_LTLIBRARIES += liboctave/cruft/libcruft.la liboctave_cruft_libcruft_la_SOURCES = $(CRUFT_SOURCES) liboctave_cruft_libcruft_la_CPPFLAGS = $(liboctave_liboctave_la_CPPFLAGS) liboctave_cruft_libcruft_la_CFLAGS = $(liboctave_liboctave_la_CFLAGS) liboctave_cruft_libcruft_la_CXXFLAGS = $(liboctave_liboctave_la_CXXFLAGS) liboctave_liboctave_la_LIBADD += liboctave/cruft/libcruft.la