view liboctave/util/module.mk @ 23662:bd77ab816e43

eliminate obsolete file lo-math.h * lo-math.h: Delete. * liboctave/util/module.mk: Update. * configure.ac: Delete check for obsolete file sunmath.h. * mk-opts.pl: Emit #include <cmath>, not #include "lo-math.h". Change all uses to include <cmath> instead of "lo-math.h".
author John W. Eaton <jwe@octave.org>
date Tue, 20 Jun 2017 18:26:15 -0400
parents 8308417aff1c
children 81b141d265a3
line wrap: on
line source

UTIL_INC = \
  %reldir%/action-container.h \
  %reldir%/base-list.h \
  %reldir%/byte-swap.h \
  %reldir%/caseless-str.h \
  %reldir%/cmd-edit.h \
  %reldir%/cmd-hist.h \
  %reldir%/data-conv.h \
  %reldir%/functor.h \
  %reldir%/glob-match.h \
  %reldir%/lo-array-errwarn.h \
  %reldir%/lo-array-gripes.h \
  %reldir%/lo-cutils.h \
  %reldir%/lo-hash.h \
  %reldir%/lo-ieee.h \
  %reldir%/lo-regexp.h \
  %reldir%/lo-traits.h \
  %reldir%/lo-utils.h \
  %reldir%/f77-fcn.h \
  %reldir%/lo-error.h \
  %reldir%/quit.h \
  %reldir%/oct-base64.h \
  %reldir%/oct-binmap.h \
  %reldir%/oct-cmplx.h \
  %reldir%/oct-glob.h \
  %reldir%/oct-inttypes-fwd.h \
  %reldir%/oct-inttypes.h \
  %reldir%/oct-locbuf.h \
  %reldir%/oct-mutex.h \
  %reldir%/oct-refcount.h \
  %reldir%/oct-rl-edit.h \
  %reldir%/oct-rl-hist.h \
  %reldir%/oct-shlib.h \
  %reldir%/oct-sort.h \
  %reldir%/oct-string.h \
  %reldir%/pathsearch.h \
  %reldir%/singleton-cleanup.h \
  %reldir%/sparse-sort.h \
  %reldir%/sparse-util.h \
  %reldir%/str-vec.h \
  %reldir%/sun-utils.h \
  %reldir%/unwind-prot.h \
  %reldir%/url-transfer.h

NOINSTALL_UTIL_INC = \
  %reldir%/kpse.h \
  %reldir%/oct-sparse.h

UTIL_F77_SRC = \
  %reldir%/d1mach.f \
  %reldir%/i1mach.f \
  %reldir%/r1mach.f

UTIL_C_SRC = \
  %reldir%/f2c-main.c \
  %reldir%/lo-cutils.c \
  %reldir%/blaswrap.c \
  %reldir%/cquit.c \
  %reldir%/f77-fcn.c \
  %reldir%/lo-error.c \
  %reldir%/oct-rl-edit.c \
  %reldir%/oct-rl-hist.c

UTIL_SRC = \
  %reldir%/cmd-edit.cc \
  %reldir%/cmd-hist.cc \
  %reldir%/data-conv.cc \
  %reldir%/glob-match.cc \
  %reldir%/kpse.cc \
  %reldir%/lo-array-errwarn.cc \
  %reldir%/lo-array-gripes.cc \
  %reldir%/lo-hash.cc \
  %reldir%/lo-ieee.cc \
  %reldir%/lo-regexp.cc \
  %reldir%/lo-utils.cc \
  %reldir%/f77-extern.cc \
  %reldir%/quit.cc \
  %reldir%/oct-base64.cc \
  %reldir%/oct-glob.cc \
  %reldir%/oct-inttypes.cc \
  %reldir%/oct-locbuf.cc \
  %reldir%/oct-mutex.cc \
  %reldir%/oct-shlib.cc \
  %reldir%/oct-sparse.cc \
  %reldir%/oct-string.cc \
  %reldir%/pathsearch.cc \
  %reldir%/singleton-cleanup.cc \
  %reldir%/sparse-sort.cc \
  %reldir%/sparse-util.cc \
  %reldir%/str-vec.cc \
  %reldir%/unwind-prot.cc \
  %reldir%/url-transfer.cc \
  $(UTIL_F77_SRC) \
  $(UTIL_C_SRC) \
  $(NOINSTALL_UTIL_INC)

liboctave_EXTRA_DIST += \
  %reldir%/d1mach-tst.for

LIBOCTAVE_TEMPLATE_SRC += \
  %reldir%/oct-sort.cc

noinst_LTLIBRARIES += %reldir%/libutil.la

%canon_reldir%_libutil_la_SOURCES = $(UTIL_SRC)

%canon_reldir%_libutil_la_CPPFLAGS = \
  $(liboctave_liboctave_la_CPPFLAGS) \
  $(CURL_CPPFLAGS) \
  $(PCRE_CPPFLAGS) \
  $(SPARSE_XCPPFLAGS)

%canon_reldir%_libutil_la_CFLAGS = $(liboctave_liboctave_la_CFLAGS)

%canon_reldir%_libutil_la_CXXFLAGS = $(liboctave_liboctave_la_CXXFLAGS)

liboctave_liboctave_la_LIBADD += %reldir%/libutil.la