2014-12-15 21:27:38 +08:00
|
|
|
## Process this file with automake to generate Makefile.in
|
|
|
|
|
2021-12-31 03:26:52 +08:00
|
|
|
AM_CPPFLAGS = -I $(newlib_basedir)/../newlib/libm/common $(NEWLIB_CFLAGS) \
|
2014-12-15 21:27:38 +08:00
|
|
|
$(CROSS_CFLAGS) $(TARGET_CFLAGS)
|
|
|
|
|
|
|
|
if HAS_NDS32_FPU_SP_FALSE
|
|
|
|
GPR_SOURCES =
|
|
|
|
else
|
|
|
|
FPU_SP_SOURCES = wf_sqrt.S
|
|
|
|
endif
|
|
|
|
|
|
|
|
if HAS_NDS32_FPU_DP_FALSE
|
|
|
|
else
|
|
|
|
FPU_DP_SOURCES = w_sqrt.S
|
|
|
|
endif
|
|
|
|
|
|
|
|
LIB_SOURCES = $(GPR_SOURCES) $(FPU_SP_SOURCES) $(FPU_DP_SOURCES)
|
|
|
|
|
|
|
|
noinst_LIBRARIES = lib.a
|
|
|
|
lib_a_SOURCES = $(LIB_SOURCES)
|
|
|
|
lib_a_CFLAGS = $(AM_CFLAGS)
|
|
|
|
noinst_DATA =
|
|
|
|
|
|
|
|
include $(srcdir)/../../../Makefile.shared
|
|
|
|
|
2021-12-31 02:29:02 +08:00
|
|
|
ACLOCAL_AMFLAGS = -I ../../.. -I ../../../.. -I ../../../../config
|
2014-12-15 21:27:38 +08:00
|
|
|
CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
|