fixes for host gcc 4.6.1
[zpugcc/jano.git] / toolchain / gcc / newlib / libc / errno / Makefile.am
blob680aecada4aed67df37f7300c4e46dc094c3c4b6
1 ## Process this file with automake to generate Makefile.in
3 AUTOMAKE_OPTIONS = cygnus
5 INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
7 LIB_SOURCES = errno.c
9 liberrno_la_LDFLAGS = -Xcompiler -nostdlib
11 if USE_LIBTOOL
12 noinst_LTLIBRARIES = liberrno.la
13 liberrno_la_SOURCES = $(LIB_SOURCES)
14 noinst_DATA = objectlist.awk.in
15 else
16 noinst_LIBRARIES = lib.a
17 lib_a_SOURCES = $(LIB_SOURCES)
18 noinst_DATA =
19 endif # USE_LIBTOOL
21 include $(srcdir)/../../Makefile.shared
23 CHEWOUT_FILES =
25 SUFFIXES = .def
27 CHEW = ../../doc/makedoc -f $(srcdir)/../../doc/doc.str
29 .c.def:
30         $(CHEW) < $< > $*.def 2> $*.ref
31         touch stmp-def
33 TARGETDOC = ../tmp.texi
35 # No doc for errno.
36 doc:
38 CLEANFILES = $(CHEWOUT_FILES) *.ref