2019-08-09 00:27:06 +08:00
|
|
|
## Process this file with automake to generate Makefile.in
|
|
|
|
|
2021-12-31 03:26:52 +08:00
|
|
|
AM_CPPFLAGS = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
|
2019-08-09 00:27:06 +08:00
|
|
|
|
|
|
|
src = feclearexcept.c fe_dfl_env.c fegetenv.c fegetexceptflag.c \
|
|
|
|
fegetround.c feholdexcept.c feraiseexcept.c fesetenv.c \
|
|
|
|
fesetexceptflag.c fesetround.c fetestexcept.c feupdateenv.c
|
|
|
|
|
|
|
|
libcommon_la_LDFLAGS = -Xcompiler -nostdlib
|
|
|
|
lib_a_CFLAGS = -fbuiltin -fno-math-errno
|
|
|
|
|
|
|
|
if USE_LIBTOOL
|
|
|
|
noinst_LTLIBRARIES = libcommon.la
|
|
|
|
libcommon_la_SOURCES = $(src)
|
|
|
|
noinst_DATA = objectlist.awk.in
|
|
|
|
else
|
|
|
|
noinst_LIBRARIES = lib.a
|
|
|
|
lib_a_SOURCES = $(src)
|
|
|
|
lib_a_CFLAGS += $(AM_CFLAGS)
|
|
|
|
noinst_DATA =
|
|
|
|
endif # USE_LIBTOOL
|
|
|
|
|
|
|
|
include $(srcdir)/../../Makefile.shared
|
|
|
|
|
|
|
|
# A partial dependency list.
|
|
|
|
|
|
|
|
$(lib_a_OBJECTS): $(srcdir)/../../libc/include/fenv.h
|