2000-02-18 03:39:52 +08:00
|
|
|
## Process this file with automake to generate Makefile.in
|
|
|
|
|
2021-12-31 03:26:52 +08:00
|
|
|
AM_CPPFLAGS = -I $(newlib_basedir)/libm/common $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
|
2000-02-18 03:39:52 +08:00
|
|
|
|
2021-12-31 03:26:52 +08:00
|
|
|
AM_CCASFLAGS = $(AM_CPPFLAGS)
|
2006-04-12 03:02:16 +08:00
|
|
|
|
2000-02-18 03:39:52 +08:00
|
|
|
if MACH_ADD_SETJMP
|
2006-05-02 06:01:07 +08:00
|
|
|
ADDED_SOURCES = setjmp.S
|
2000-02-18 03:39:52 +08:00
|
|
|
else
|
2006-05-02 06:01:07 +08:00
|
|
|
ADDED_SOURCES =
|
2000-02-18 03:39:52 +08:00
|
|
|
endif
|
|
|
|
|
2001-12-14 07:50:11 +08:00
|
|
|
LIB_SOURCES = \
|
2000-02-18 03:39:52 +08:00
|
|
|
memchr.S memcmp.S memcpy.S memset.S strchr.S \
|
2002-02-08 03:15:15 +08:00
|
|
|
memmove.S strlen.S i386mach.h
|
2000-02-18 03:39:52 +08:00
|
|
|
|
2001-12-14 07:50:11 +08:00
|
|
|
libi386_la_LDFLAGS = -Xcompiler -nostdlib
|
|
|
|
|
|
|
|
if USE_LIBTOOL
|
|
|
|
noinst_LTLIBRARIES = libi386.la
|
2006-05-02 06:01:07 +08:00
|
|
|
libi386_la_SOURCES = $(LIB_SOURCES) $(ADDED_SOURCES)
|
2001-12-14 07:50:11 +08:00
|
|
|
noinst_DATA = objectlist.awk.in
|
|
|
|
else
|
|
|
|
noinst_LIBRARIES = lib.a
|
2006-05-02 06:01:07 +08:00
|
|
|
lib_a_SOURCES = $(LIB_SOURCES) $(ADDED_SOURCES)
|
2021-12-31 03:32:09 +08:00
|
|
|
## These flag settings are basically redundant, but necessary to workaround the
|
|
|
|
## automake limitation "Objects 'created with both libtool and without'".
|
2006-04-12 03:02:16 +08:00
|
|
|
lib_a_CCASFLAGS = $(AM_CCASFLAGS)
|
2021-12-31 03:32:09 +08:00
|
|
|
lib_a_CFLAGS = $(AM_CFLAGS)
|
2001-12-14 07:50:11 +08:00
|
|
|
noinst_DATA =
|
|
|
|
endif # USE_LIBTOOL
|
|
|
|
|
|
|
|
include $(srcdir)/../../../Makefile.shared
|
|
|
|
|
2021-12-31 02:29:02 +08:00
|
|
|
ACLOCAL_AMFLAGS = -I ../../.. -I ../../../.. -I ../../../../config
|
2000-02-18 03:39:52 +08:00
|
|
|
CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
|