28 lines
750 B
Makefile
28 lines
750 B
Makefile
## Process this file with automake to generate Makefile.in
|
|
|
|
AM_CPPFLAGS = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
|
|
|
|
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
|