OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [newlib-1.17.0/] [newlib/] [libc/] [stdio64/] [Makefile.am] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 148 jeremybenn
## Process this file with automake to generate Makefile.in
2
 
3
AUTOMAKE_OPTIONS = cygnus
4
 
5
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
6
 
7
# need a dummy object so objectlist.awk.in will build every time
8
GENERAL_SOURCES = dummy.c local64.h
9
 
10
## All interfaces are EL/IX level 2
11
if ELIX_LEVEL_1
12
ELIX_SOURCES =
13
else
14
ELIX_SOURCES = \
15
        fdopen64.c      \
16
        fgetpos64.c     \
17
        fopen64.c       \
18
        freopen64.c     \
19
        fseeko64.c      \
20
        fsetpos64.c     \
21
        ftello64.c      \
22
        stdio64.c       \
23
        tmpfile64.c
24
endif
25
 
26
libstdio64_la_LDFLAGS = -Xcompiler -nostdlib
27
 
28
if USE_LIBTOOL
29
noinst_LTLIBRARIES = libstdio64.la
30
libstdio64_la_SOURCES = $(GENERAL_SOURCES) $(ELIX_SOURCES)
31
LIB_COMPILE = $(LTCOMPILE)
32
noinst_DATA = objectlist.awk.in
33
else
34
noinst_LIBRARIES = lib.a
35
lib_a_SOURCES = $(GENERAL_SOURCES) $(ELIX_SOURCES)
36
lib_a_CFLAGS = $(AM_CFLAGS)
37
LIB_COMPILE = $(COMPILE)
38
noinst_DATA =
39
endif # USE_LIBTOOL
40
 
41
include $(srcdir)/../../Makefile.shared
42
 
43
AM_CFLAGS = -I $(srcdir)/../stdio
44
 
45
CHEWOUT_FILES = \
46
        fgetpos64.def           \
47
        fopen64.def             \
48
        freopen64.def           \
49
        fseeko64.def            \
50
        fsetpos64.def           \
51
        ftello64.def            \
52
        tmpfile64.def
53
 
54
SUFFIXES = .def
55
 
56
CHEW = ../../doc/makedoc -f $(srcdir)/../../doc/doc.str
57
 
58
.c.def:
59
        $(CHEW) < $< > $*.def 2> $*.ref
60
        touch stmp-def
61
 
62
TARGETDOC = ../tmp.texi
63
 
64
doc: $(CHEWOUT_FILES)
65
        cat $(srcdir)/stdio64.tex >> $(TARGETDOC)
66
 
67
CLEANFILES = $(CHEWOUT_FILES) *.ref
68
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.