Mercurial > hg > octave-lyh
annotate libinterp/interp-core/module.mk @ 16479:7a71ea0b7ae9
eliminate event listener class
* main-window.h, main-window.cc (main_window::exit): New function.
(main_window::_ocxtave_qt_event_listener): Delete member variable and
all uses.
main_window::construct_octave_qt_link): connect
_octave_qt_link::octave_thread_finished to main_window::exit.
* octave-qt-event-listener.h, octave-qt-event-listener.cc: Delete.
* libgui/src/module.mk (octave_gui_MOC, noinst_HEADERS,
src_libgui_src_la_SOURCES): Update lists.
* octave-qt-link.h, octave-qt-link.cc
(octave_qt_link::octave_thread_finished): New signal.
(octave_qt_link::~octave_qt_link): Delete main_thread.
(octave_qt_link::octave_qt_link): Connect main_thread::finished and
main_thread::terminated to octave_qt_link::octave_thread_finished
signal.
* octave-event-listener.h: Delete.
* libinterp/interp-core/module.mk (INTERPFCN_INC): Remove it from the
list.
* octave-link.h, octave-link.cc (octave_exit_hook): Delete.
(octave_link::discard_events, octave_link::do_discard_events,
octave_link::exit, octave_link::do_exit): New functions.
(octave_link::event_listener): Delete member variable and all uses.
(octave_link::about_to_exit, octave_link::register_event_listener,
octave_link::do_about_to_exit,
octave_link::do_register_event_listener): Delete.
(octave_link::accepting_events): New member variable.
(octave_link::octave_link): Set octave_exit to octave_link::exit.
Initialize accepting_events.
(octave_link::do_post_event): Only add to gui_event_queue if
accepting_events is true.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 09 Apr 2013 13:47:43 -0400 |
parents | 81ec95768520 |
children |
rev | line source |
---|---|
15096
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
1 EXTRA_DIST += \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
2 interp-core/module.mk \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
3 interp-core/gl2ps.c \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
4 interp-core/mxarray.in.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
5 interp-core/oct-errno.in.cc |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
6 |
15281
03ef3a183129
build: Use INC rather than INCLUDES for consistent naming in libinterp Makefile.am.
Rik <rik@octave.org>
parents:
15258
diff
changeset
|
7 JIT_INC = \ |
15096
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
8 interp-core/jit-util.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
9 interp-core/jit-typeinfo.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
10 interp-core/jit-ir.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
11 interp-core/pt-jit.h |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
12 |
15281
03ef3a183129
build: Use INC rather than INCLUDES for consistent naming in libinterp Makefile.am.
Rik <rik@octave.org>
parents:
15258
diff
changeset
|
13 INTERP_CORE_INC = \ |
15096
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
14 interp-core/Cell.h \ |
15403
7b69cd89868c
include new files in libinterp/interp-core/module.mk
John W. Eaton <jwe@octave.org>
parents:
15281
diff
changeset
|
15 interp-core/action-container.h \ |
15096
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
16 interp-core/c-file-ptr-stream.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
17 interp-core/comment-list.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
18 interp-core/cutils.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
19 interp-core/defun-dld.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
20 interp-core/defun-int.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
21 interp-core/display.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
22 interp-core/dynamic-ld.h \ |
15403
7b69cd89868c
include new files in libinterp/interp-core/module.mk
John W. Eaton <jwe@octave.org>
parents:
15281
diff
changeset
|
23 interp-core/event-queue.h \ |
15096
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
24 interp-core/gl-render.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
25 interp-core/gl2ps-renderer.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
26 interp-core/gl2ps.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
27 interp-core/gripes.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
28 interp-core/ls-ascii-helper.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
29 interp-core/ls-hdf5.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
30 interp-core/ls-mat-ascii.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
31 interp-core/ls-mat4.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
32 interp-core/ls-mat5.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
33 interp-core/ls-oct-binary.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
34 interp-core/ls-utils.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
35 interp-core/mex.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
36 interp-core/mexproto.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
37 interp-core/mxarray.in.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
38 interp-core/oct-errno.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
39 interp-core/oct-fstrm.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
40 interp-core/oct-hdf5.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
41 interp-core/oct-iostrm.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
42 interp-core/oct-lvalue.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
43 interp-core/oct-map.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
44 interp-core/oct-obj.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
45 interp-core/oct-prcstrm.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
46 interp-core/oct-procbuf.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
47 interp-core/oct-stdstrm.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
48 interp-core/oct-stream.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
49 interp-core/oct-strstrm.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
50 interp-core/oct.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
51 interp-core/procstream.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
52 interp-core/siglist.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
53 interp-core/sparse-xdiv.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
54 interp-core/sparse-xpow.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
55 interp-core/txt-eng-ft.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
56 interp-core/txt-eng.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
57 interp-core/unwind-prot.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
58 interp-core/xdiv.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
59 interp-core/xnorm.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
60 interp-core/xpow.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
61 interp-core/zfstream.h \ |
15281
03ef3a183129
build: Use INC rather than INCLUDES for consistent naming in libinterp Makefile.am.
Rik <rik@octave.org>
parents:
15258
diff
changeset
|
62 $(JIT_INC) |
15096
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
63 |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
64 JIT_SRC = \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
65 interp-core/jit-util.cc \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
66 interp-core/jit-typeinfo.cc \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
67 interp-core/jit-ir.cc \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
68 interp-core/pt-jit.cc |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
69 |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
70 C_INTERP_CORE_SRC = \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
71 interp-core/cutils.c \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
72 interp-core/matherr.c \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
73 interp-core/siglist.c \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
74 interp-core/xgl2ps.c |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
75 |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
76 INTERP_CORE_SRC = \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
77 interp-core/Cell.cc \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
78 interp-core/c-file-ptr-stream.cc \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
79 interp-core/comment-list.cc \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
80 interp-core/display.cc \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
81 interp-core/dynamic-ld.cc \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
82 interp-core/gl-render.cc \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
83 interp-core/gl2ps-renderer.cc \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
84 interp-core/gripes.cc \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
85 interp-core/ls-ascii-helper.cc \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
86 interp-core/ls-hdf5.cc \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
87 interp-core/ls-mat-ascii.cc \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
88 interp-core/ls-mat4.cc \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
89 interp-core/ls-mat5.cc \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
90 interp-core/ls-oct-binary.cc \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
91 interp-core/ls-utils.cc \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
92 interp-core/mex.cc \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
93 interp-core/oct-fstrm.cc \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
94 interp-core/oct-iostrm.cc \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
95 interp-core/oct-lvalue.cc \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
96 interp-core/oct-map.cc \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
97 interp-core/oct-obj.cc \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
98 interp-core/oct-prcstrm.cc \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
99 interp-core/oct-procbuf.cc \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
100 interp-core/oct-stream.cc \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
101 interp-core/oct-strstrm.cc \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
102 interp-core/procstream.cc \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
103 interp-core/sparse-xdiv.cc \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
104 interp-core/sparse-xpow.cc \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
105 interp-core/txt-eng-ft.cc \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
106 interp-core/unwind-prot.cc \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
107 interp-core/xdiv.cc \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
108 interp-core/xnorm.cc \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
109 interp-core/xpow.cc \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
110 interp-core/zfstream.cc \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
111 $(JIT_SRC) \ |
15107
03381a36f70d
generate convenience libraries for new parse-tree and interpfcn subdirectories
John W. Eaton <jwe@octave.org>
parents:
15100
diff
changeset
|
112 $(C_INTERP_CORE_SRC) |
15096
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
113 |
15413
3dcd96e1f657
build: Comment and add FIXME notes for automake rules which never fire.
Rik <rik@octave.org>
parents:
15403
diff
changeset
|
114 ## FIXME: Automake does not support per-object rules. |
3dcd96e1f657
build: Comment and add FIXME notes for automake rules which never fire.
Rik <rik@octave.org>
parents:
15403
diff
changeset
|
115 ## These rules could be emulated by creating a new convenience |
3dcd96e1f657
build: Comment and add FIXME notes for automake rules which never fire.
Rik <rik@octave.org>
parents:
15403
diff
changeset
|
116 ## library and using per-library rules. Or we can just live |
3dcd96e1f657
build: Comment and add FIXME notes for automake rules which never fire.
Rik <rik@octave.org>
parents:
15403
diff
changeset
|
117 ## without the rule since there haven't been any problems. (09/18/2012) |
3dcd96e1f657
build: Comment and add FIXME notes for automake rules which never fire.
Rik <rik@octave.org>
parents:
15403
diff
changeset
|
118 #display.df display.lo: CPPFLAGS += $(X11_FLAGS) |
15096
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
119 |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
120 ## Special rules for sources which must be built before rest of compilation. |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
121 interp-core/oct-errno.cc: interp-core/oct-errno.in.cc Makefile |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
122 if test -n "$(PERL)"; then \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
123 $(srcdir)/mk-errno-list --perl "$(PERL)" < $< > $@-t; \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
124 elif test -n "$(PYTHON)"; then \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
125 $(srcdir)/mk-errno-list --python "$(PYTHON)" < $< > $@-t; \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
126 else \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
127 $(SED) '/@SYSDEP_ERRNO_LIST@/D' $< > $@-t; \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
128 fi |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
129 mv $@-t $@ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
130 |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
131 interp-core/mxarray.h: interp-core/mxarray.in.h Makefile |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
132 $(SED) < $< \ |
15100
8523df595d42
maint: Add DO NOT EDIT messages to build system for src/*.in.h.
Rik <rik@octave.org>
parents:
15099
diff
changeset
|
133 -e "s|%NO_EDIT_WARNING%|DO NOT EDIT! Generated automatically from $(<F) by Make.|" \ |
15096
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
134 -e "s|%OCTAVE_IDX_TYPE%|${OCTAVE_IDX_TYPE}|" > $@-t |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
135 mv $@-t $@ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
diff
changeset
|
136 |
15107
03381a36f70d
generate convenience libraries for new parse-tree and interpfcn subdirectories
John W. Eaton <jwe@octave.org>
parents:
15100
diff
changeset
|
137 noinst_LTLIBRARIES += interp-core/libinterp-core.la |
03381a36f70d
generate convenience libraries for new parse-tree and interpfcn subdirectories
John W. Eaton <jwe@octave.org>
parents:
15100
diff
changeset
|
138 |
03381a36f70d
generate convenience libraries for new parse-tree and interpfcn subdirectories
John W. Eaton <jwe@octave.org>
parents:
15100
diff
changeset
|
139 interp_core_libinterp_core_la_SOURCES = $(INTERP_CORE_SRC) |
15258
cd8248cc6020
Use -DOCTINTERP_DLL when compiling convenience libaries in libinterp.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
15195
diff
changeset
|
140 interp_core_libinterp_core_la_CPPFLAGS = $(liboctinterp_la_CPPFLAGS) |