annotate liboctave/util/module.mk @ 21785:c9f8a7f7915e

use forward declarations instead of including oct-inttypes.h where possible * oct-inttypes-fwd.h: New file. * liboctave/util/module.mk: Update. * oct-inttypes.h, pr-output.h, Array.cc, dNDArray.h, fNDArray.h, idx-vector.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, int8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h, uint8NDArray.h, lo-mappers.h, data-conv.h: Include oct-inttypes-fwd.h instead of oct-inttypes.h where possible.
author John W. Eaton <jwe@octave.org>
date Fri, 27 May 2016 15:19:45 -0400
parents 2a81f4b7b254
children 02add2f597a1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15271
648dabbb4c6b build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
diff changeset
1 UTIL_INC = \
20327
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
2 liboctave/util/action-container.h \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
3 liboctave/util/base-list.h \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
4 liboctave/util/byte-swap.h \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
5 liboctave/util/caseless-str.h \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
6 liboctave/util/cmd-edit.h \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
7 liboctave/util/cmd-hist.h \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
8 liboctave/util/data-conv.h \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
9 liboctave/util/functor.h \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
10 liboctave/util/glob-match.h \
21100
e39e05d90788 Switch gripe_XXX to either err_XXX or warn_XXX naming scheme.
Rik <rik@octave.org>
parents: 20913
diff changeset
11 liboctave/util/lo-array-errwarn.h \
20327
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
12 liboctave/util/lo-array-gripes.h \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
13 liboctave/util/lo-cutils.h \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
14 liboctave/util/lo-ieee.h \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
15 liboctave/util/lo-macros.h \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
16 liboctave/util/lo-math.h \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
17 liboctave/util/lo-traits.h \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
18 liboctave/util/lo-utils.h \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
19 liboctave/util/oct-alloc.h \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
20 liboctave/util/oct-base64.h \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
21 liboctave/util/oct-binmap.h \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
22 liboctave/util/oct-cmplx.h \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
23 liboctave/util/oct-glob.h \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
24 liboctave/util/oct-inttypes.h \
21785
c9f8a7f7915e use forward declarations instead of including oct-inttypes.h where possible
John W. Eaton <jwe@octave.org>
parents: 21217
diff changeset
25 liboctave/util/oct-inttypes-fwd.h \
20327
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
26 liboctave/util/oct-locbuf.h \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
27 liboctave/util/oct-mutex.h \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
28 liboctave/util/oct-refcount.h \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
29 liboctave/util/oct-rl-edit.h \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
30 liboctave/util/oct-rl-hist.h \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
31 liboctave/util/oct-shlib.h \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
32 liboctave/util/oct-sort.h \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
33 liboctave/util/pathsearch.h \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
34 liboctave/util/lo-regexp.h \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
35 liboctave/util/singleton-cleanup.h \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
36 liboctave/util/sparse-sort.h \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
37 liboctave/util/sparse-util.h \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
38 liboctave/util/str-vec.h \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
39 liboctave/util/sun-utils.h \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
40 liboctave/util/unwind-prot.h \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
41 liboctave/util/url-transfer.h
15271
648dabbb4c6b build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
diff changeset
42
21186
7f35125714b4 don't install some internal headers and template sources
John W. Eaton <jwe@octave.org>
parents: 21100
diff changeset
43 NOINSTALL_UTIL_INC = \
21217
2a81f4b7b254 don't install siglist.h or statdefs.h
John W. Eaton <jwe@octave.org>
parents: 21186
diff changeset
44 liboctave/util/oct-sparse.h \
2a81f4b7b254 don't install siglist.h or statdefs.h
John W. Eaton <jwe@octave.org>
parents: 21186
diff changeset
45 liboctave/util/statdefs.h
21186
7f35125714b4 don't install some internal headers and template sources
John W. Eaton <jwe@octave.org>
parents: 21100
diff changeset
46
15271
648dabbb4c6b build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
diff changeset
47 UTIL_C_SRC = \
20327
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
48 liboctave/util/f2c-main.c \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
49 liboctave/util/lo-cutils.c \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
50 liboctave/util/oct-rl-edit.c \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
51 liboctave/util/oct-rl-hist.c
15271
648dabbb4c6b build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
diff changeset
52
648dabbb4c6b build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
diff changeset
53 UTIL_SRC = \
20327
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
54 liboctave/util/cmd-edit.cc \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
55 liboctave/util/cmd-hist.cc \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
56 liboctave/util/data-conv.cc \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
57 liboctave/util/glob-match.cc \
21100
e39e05d90788 Switch gripe_XXX to either err_XXX or warn_XXX naming scheme.
Rik <rik@octave.org>
parents: 20913
diff changeset
58 liboctave/util/lo-array-errwarn.cc \
20327
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
59 liboctave/util/lo-array-gripes.cc \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
60 liboctave/util/lo-ieee.cc \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
61 liboctave/util/lo-utils.cc \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
62 liboctave/util/oct-base64.cc \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
63 liboctave/util/oct-glob.cc \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
64 liboctave/util/oct-inttypes.cc \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
65 liboctave/util/oct-locbuf.cc \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
66 liboctave/util/oct-mutex.cc \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
67 liboctave/util/oct-shlib.cc \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
68 liboctave/util/pathsearch.cc \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
69 liboctave/util/lo-regexp.cc \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
70 liboctave/util/singleton-cleanup.cc \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
71 liboctave/util/sparse-sort.cc \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
72 liboctave/util/sparse-util.cc \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
73 liboctave/util/str-vec.cc \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
74 liboctave/util/unwind-prot.cc \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
75 liboctave/util/url-transfer.cc \
21186
7f35125714b4 don't install some internal headers and template sources
John W. Eaton <jwe@octave.org>
parents: 21100
diff changeset
76 $(UTIL_C_SRC) \
7f35125714b4 don't install some internal headers and template sources
John W. Eaton <jwe@octave.org>
parents: 21100
diff changeset
77 $(NOINSTALL_UTIL_INC)
15271
648dabbb4c6b build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
diff changeset
78
20327
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
79 LIBOCTAVE_TEMPLATE_SRC += \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
80 liboctave/util/oct-sort.cc
15271
648dabbb4c6b build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
diff changeset
81
20407
4bde15a9c8bb don't install kpse.cc (bug #45644)
John W. Eaton <jwe@octave.org>
parents: 20366
diff changeset
82 EXTRA_DIST += \
20327
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
83 liboctave/util/kpse.cc
15271
648dabbb4c6b build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
diff changeset
84
20327
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
85 noinst_LTLIBRARIES += liboctave/util/libutil.la
15271
648dabbb4c6b build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
diff changeset
86
20327
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
87 liboctave_util_libutil_la_SOURCES = $(UTIL_SRC)
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
88
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
89 liboctave_util_libutil_la_CPPFLAGS = \
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
90 $(liboctave_liboctave_la_CPPFLAGS) \
19281
4b8b942ef8db limit specific CPPFLAGS variables to specific convenience libs (bug #38928)
John W. Eaton <jwe@octave.org>
parents: 19124
diff changeset
91 $(CURL_CPPFLAGS) \
17821
82c94987abc6 build: Remove REGEX_CPPFLAGS from XTRA_CXXFLAGS.
Rik <rik@octave.org>
parents: 17555
diff changeset
92 $(PCRE_CPPFLAGS) \
15416
a0fb36acbd0d build: Only use extra CPPFLAGS in the convenience libraries that need them.
Rik <rik@octave.org>
parents: 15380
diff changeset
93 $(SPARSE_XCPPFLAGS)
15271
648dabbb4c6b build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
diff changeset
94
20327
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
95 liboctave_util_libutil_la_CFLAGS = $(liboctave_liboctave_la_CFLAGS)
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
96
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
97 liboctave_util_libutil_la_CXXFLAGS = $(liboctave_liboctave_la_CXXFLAGS)
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
98
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 19598
diff changeset
99 liboctave_liboctave_la_LIBADD += liboctave/util/libutil.la