OSDN Git Service

* Makefile.shared: New file.
[pf3gnuchains/pf3gnuchains3x.git] / newlib / libc / machine / i386 / Makefile.am
1 ## Process this file with automake to generate Makefile.in
2
3 AUTOMAKE_OPTIONS = cygnus
4
5 INCLUDES = -I $(newlib_basedir)/libm/common $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
6
7 if MACH_ADD_SETJMP
8 mach_add_src=setjmp.S
9 else
10 mach_add_src=
11 endif
12
13 LIB_SOURCES = \
14         memchr.S memcmp.S memcpy.S memset.S strchr.S \
15         memmove.S strlen.S f_atan2.S f_atan2f.S f_exp.c f_expf.c \
16         f_frexp.S f_frexpf.S f_log.S f_logf.S f_log10.S f_log10f.S \
17         f_ldexp.S f_ldexpf.S f_pow.c f_powf.c f_tan.S f_tanf.S \
18         $(mach_add_src)
19
20 libi386_la_LDFLAGS = -Xcompiler -nostdlib
21
22 if USE_LIBTOOL
23 noinst_LTLIBRARIES = libi386.la
24 libi386_la_SOURCES = $(LIB_SOURCES)
25 noinst_DATA = objectlist.awk.in
26 else
27 noinst_LIBRARIES = lib.a
28 lib_a_SOURCES = $(LIB_SOURCES)
29 noinst_DATA =
30 endif # USE_LIBTOOL
31
32 include $(srcdir)/../../../Makefile.shared
33
34 ACLOCAL_AMFLAGS = -I ../../..
35 CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host