Mercurial > octave-antonio
diff liboctave/Makefile.am @ 9979:3878bae57c12
Clean liboctave/Makefile.am to use more standard automake syntax
and reduce unnecessary compilations.
author | Rik <rdrider0-list@yahoo.com> |
---|---|
date | Sun, 13 Dec 2009 20:01:16 -0800 |
parents | 55061c7c8d6e |
children | e517da95bf98 |
line wrap: on
line diff
--- a/liboctave/Makefile.am Sun Dec 13 19:35:24 2009 -0800 +++ b/liboctave/Makefile.am Sun Dec 13 20:01:16 2009 -0800 @@ -23,8 +23,6 @@ include ../common.mk -octlib_LTLIBRARIES = liboctave.la - AM_CPPFLAGS = -I$(top_srcdir)/libgnu -I$(top_srcdir)/libcruft/misc EXTRA_DIST = \ @@ -271,11 +269,6 @@ BUILT_SOURCES = $(BUILT_INCS) -## FIXME -- These files don't need to be distributed. They do need -## to be installed. So we need to add them to a list somewhere so -## that happens correctly. -BUILT_NODISTFILES = $(BUILT_INCS) - TEMPLATE_SRC = \ Array.cc \ DiagArray2.cc \ @@ -404,6 +397,8 @@ uint64NDArray.cc \ uint8NDArray.cc +octlib_LTLIBRARIES = liboctave.la + LIBOCTAVE_CXX_SOURCES = \ CollocWt.cc \ DASPK.cc \ @@ -537,8 +532,8 @@ $(OPT_INC) : %.h : %.in $(top_srcdir)/mk-opts.pl @echo making $@ from $< - @perl $(top_srcdir)/mk-opts.pl --opt-class-header $< > $@-t - @mv $@-t $@ + @$(PERL) $(top_srcdir)/mk-opts.pl --opt-class-header $< > $@-t + $(simple_move_if_change_rule) $(VX_OP_INC) $(VX_OP_SRC) : $(srcdir)/mk-ops.awk vx-ops $(AWK) -f $(srcdir)/mk-ops.awk prefix=vx $(srcdir)/vx-ops @@ -553,8 +548,5 @@ $(AWK) -f $(srcdir)/mk-ops.awk prefix=mx make_inclusive_header=mx-ops.h $(srcdir)/mx-ops > $@-t $(simple_move_if_change_rule) -distclean-local: - rm -f $(BUILT_INCS) $(BUILT_LIBOCTAVE_CXX_SOURCES) +DISTCLEANFILES = $(BUILT_INCS) $(BUILT_LIBOCTAVE_CXX_SOURCES) -#distclean-local maintainer-clean-local: -#.PHONY: distclean-local maintainer-clean-local