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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib-1.10.0/] [newlib/] [libc/] [sys/] [linux/] [Makefile.am] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1010 ivang
## 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
LIB_SOURCES = \
8
        brk.c getoptlong.c ids.c inode.c io.c linux.c process.c realpath.c \
9
        select.c signal.c systat.c termios.c time.c wait.c
10
 
11
# This will handle both /usr/src/linux-2.4/include/asm/signal.h (in Red Hat Linux 7.1)
12
# and also /usr/src/linux/include/asm/signal.h in older versions of Red Hat Linux
13
SIGNAL_H = /usr/src/$(shell ls /usr/src/ | grep ^linux | head -n 1)/include/asm/signal.h
14
 
15
liblinux_la_LDFLAGS = -Xcompiler -nostdlib
16
 
17
if USE_LIBTOOL
18
noinst_LTLIBRARIES = liblinux.la
19
liblinux_la_SOURCES = $(LIB_SOURCES)
20
noinst_DATA = objectlist.awk.in
21
else
22
noinst_LIBRARIES = lib.a
23
lib_a_SOURCES = $(LIB_SOURCES)
24
noinst_DATA =
25
endif # USE_LIBTOOL
26
 
27
include $(srcdir)/../../../Makefile.shared
28
 
29
all: crt0.o
30
 
31
signal.$(oext): siglist.inc
32
 
33
siglist.inc:
34
                $(AWK) '/#define.SIG.*[1-9][0-9]*/ { n[$$3] = $$2 } \
35
                  /#define.NSIG.*[1-9][0-9]*/ { max = $$3 } \
36
                  /#define.SIGUNUSED/ \
37
                    { for (i = 0; i <= max; i++) print "\"" n[i] "\"," }' \
38
                    < $(SIGNAL_H) > siglist.inc || \
39
                    { rm -f siglist.inc; exit 1; }
40
 
41
ACLOCAL_AMFLAGS = -I ../../..
42
CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host

powered by: WebSVN 2.1.0

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