37 lines
877 B
Makefile
37 lines
877 B
Makefile
## Process this file with automake to generate Makefile.in
|
|
|
|
AUTOMAKE_OPTIONS = cygnus
|
|
|
|
INCLUDES = -I $(newlib_basedir)/libm/common $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
|
|
|
|
AM_CCASFLAGS = $(INCLUDES)
|
|
|
|
if MACH_ADD_SETJMP
|
|
ADDED_SOURCES = setjmp.S
|
|
else
|
|
ADDED_SOURCES =
|
|
endif
|
|
|
|
LIB_SOURCES = \
|
|
memchr.S memcmp.S memcpy.S memset.S strchr.S \
|
|
memmove.S strlen.S i386mach.h
|
|
|
|
libi386_la_LDFLAGS = -Xcompiler -nostdlib
|
|
|
|
if USE_LIBTOOL
|
|
noinst_LTLIBRARIES = libi386.la
|
|
libi386_la_SOURCES = $(LIB_SOURCES) $(ADDED_SOURCES)
|
|
noinst_DATA = objectlist.awk.in
|
|
else
|
|
noinst_LIBRARIES = lib.a
|
|
lib_a_SOURCES = $(LIB_SOURCES) $(ADDED_SOURCES)
|
|
lib_a_CCASFLAGS = $(AM_CCASFLAGS)
|
|
lib_a_CFLAGS=$(AM_CFLAGS)
|
|
noinst_DATA =
|
|
endif # USE_LIBTOOL
|
|
|
|
include $(srcdir)/../../../Makefile.shared
|
|
|
|
ACLOCAL_AMFLAGS = -I ../../.. -I ../../../..
|
|
CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
|