mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
If the return value of pow is not saved in a double but rather used for other calculations or casts, results can be bad, like pow(10, 2) being 99 instead of 100. Wrap pow and store the return value first before continuing. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15484 57a11ea4-9604-0410-9ed3-97b8803252fd
27 lines
798 B
Makefile
27 lines
798 B
Makefile
noinst_LTLIBRARIES = libc-missing.la
|
|
|
|
# All header files must be listed.
|
|
noinst_HEADERS = \
|
|
localtime_r.h setenv.h strptime.h pow.h
|
|
|
|
# No sources should be listed.
|
|
libc_missing_la_SOURCES = libc-missing-noop.c
|
|
|
|
EXTRA_libc_missing_la_SOURCES = localtime_r.c setenv.c strptime.c
|
|
|
|
# This will automatically be filled in with the necessary object file
|
|
# names. Configure does this based upon the AC_REPLACE_FUNCS macros.
|
|
LIBOBJS = @LIBOBJS@
|
|
LTLIBOBJS = $(shell echo "$(LIBOBJS)" | sed '@LIBOBJS_SEDSCRIPT@' | \
|
|
sed 's,\.[^.]* ,.lo ,g;s,\.[^.]*$$,.lo,')
|
|
|
|
libc_missing_la_LIBADD = $(LTLIBOBJS)
|
|
|
|
# Not currently used. If added to AC_REPLACE_FUNCS then this line
|
|
# should be removed.
|
|
EXTRA_DIST = scm_strptime.c
|
|
|
|
print_libobjs: Makefile
|
|
@echo "LIBOBJS = $(LIBOBJS)"
|
|
@echo "LTLIBOBJS = $(LTLIBOBJS)"
|