diff libinterp/corefcn/module.mk @ 28123:4963f23b145c

move mex type definitions to separate file * mxtypes.in.h: New file, extracted from mxarray.in.h. * mxarray.h: Rename from mxarray.in.h. * mk-mxtypes-h.in.sh: Rename from mk-mxarray-h.in.sh. * configure.ac, libinterp/corefcn/module.mk, libinterp/module.mk: Update for name change. * : (OCTAVE_CONFIG_MOVE_IF_CHANGE_FILES): List mxtypes.in.h instead of mxarray.in.h. * ov.h: Include mxtypes.h.
author John W. Eaton <jwe@octave.org>
date Tue, 18 Feb 2020 12:34:04 -0500
parents dbcd2215ebc2
children b743a63e2dab
line wrap: on
line diff
--- a/libinterp/corefcn/module.mk	Fri Feb 21 11:52:08 2020 -0500
+++ b/libinterp/corefcn/module.mk	Tue Feb 18 12:34:04 2020 -0500
@@ -58,6 +58,7 @@
   %reldir%/ls-utils.h \
   %reldir%/mex.h \
   %reldir%/mexproto.h \
+  %reldir%/mxarray.h \
   %reldir%/oct-errno.h \
   %reldir%/oct-fstrm.h \
   %reldir%/oct-handle.h \
@@ -299,8 +300,8 @@
 	fi && \
 	mv $@-t $@
 
-%reldir%/mxarray.h: %reldir%/mxarray.in.h %reldir%/mk-mxarray-h.sh | %reldir%/$(octave_dirstamp)
-	$(AM_V_GEN)$(call simple-filter-rule,%reldir%/mk-mxarray-h.sh)
+%reldir%/mxtypes.h: %reldir%/mxtypes.in.h %reldir%/mk-mxtypes-h.sh | %reldir%/$(octave_dirstamp)
+	$(AM_V_GEN)$(call simple-filter-rule,%reldir%/mk-mxtypes-h.sh)
 
 %reldir%/oct-tex-lexer.ll: %reldir%/oct-tex-lexer.in.ll %reldir%/oct-tex-symbols.in | %reldir%/$(octave_dirstamp)
 	$(AM_V_GEN)rm -f $@-t && \
@@ -333,11 +334,11 @@
   %reldir%/genprops.awk \
   %reldir%/graphics.in.h \
   %reldir%/mk-errno-list.sh \
-  %reldir%/mk-mxarray-h.in.sh \
-  %reldir%/mxarray.in.h \
+  %reldir%/mk-mxtypes-h.in.sh \
+  %reldir%/mxtypes.in.h \
   %reldir%/oct-errno.in.cc \
   %reldir%/oct-tex-lexer.in.ll \
   %reldir%/oct-tex-symbols.in
 
 GEN_CONFIG_SHELL += \
-  %reldir%/mk-mxarray-h.sh
+  %reldir%/mk-mxtypes-h.sh