2000-02-18 03:39:52 +08:00
|
|
|
## Process this file with automake to generate Makefile.in
|
|
|
|
|
|
|
|
AUTOMAKE_OPTIONS = cygnus
|
|
|
|
|
|
|
|
INCLUDES = -I $(newlib_basedir)/libm/common $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
|
|
|
|
|
|
|
|
if MACH_ADD_SETJMP
|
2002-03-07 07:14:17 +08:00
|
|
|
mach_add_obj=setjmp.$(oext)
|
2000-02-18 03:39:52 +08:00
|
|
|
else
|
2002-02-08 03:15:15 +08:00
|
|
|
mach_add_obj=
|
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
|
|
|
|
libi386_la_SOURCES = $(LIB_SOURCES)
|
2002-02-08 03:15:15 +08:00
|
|
|
EXTRA_libi386_la_SOURCES = setjmp.S
|
|
|
|
libi386_la_LIBADD = $(mach_add_obj)
|
|
|
|
libi386_la_DEPENDENCIES = $(mach_add_obj)
|
2001-12-14 07:50:11 +08:00
|
|
|
noinst_DATA = objectlist.awk.in
|
|
|
|
else
|
|
|
|
noinst_LIBRARIES = lib.a
|
|
|
|
lib_a_SOURCES = $(LIB_SOURCES)
|
2002-02-08 03:15:15 +08:00
|
|
|
lib_a_LIBADD = $(mach_add_obj)
|
|
|
|
lib_a_DEPENDENCIES = $(mach_add_obj)
|
|
|
|
EXTRA_lib_a_SOURCES = setjmp.S
|
2001-12-14 07:50:11 +08:00
|
|
|
noinst_DATA =
|
|
|
|
endif # USE_LIBTOOL
|
|
|
|
|
|
|
|
include $(srcdir)/../../../Makefile.shared
|
|
|
|
|
2000-02-18 03:39:52 +08:00
|
|
|
ACLOCAL_AMFLAGS = -I ../../..
|
|
|
|
CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
|