mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-30 02:50:25 +08:00
ea55e3f7f3
* libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also make siglist.inc dependent on sig.c instead of signal.c. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/sig.c: Rename from signal.c and change code to use NSIG instead of _NSIG. * libc/sys/linux/sigaction.c: New file. * libc/sys/linux/signal.c: Changed to be linux signal() function so as to override regular newlib default signal.c. * libc/sys/linux/linuxthreads/config.h: Add __ASSUME_REALTIME_SIGNALS definition. * libc/sys/linux/linuxthreads/testrtsig.h: New file. * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c. * libc/sys/linux/machine/i386/Makefile.in: Regenerated. * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory. * libc/sys/linux/sigset.c: Moved from machine/i386 directory. * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override default linux sigset_t typedef by defining it equal to __sigset_t. * libc/unix/sigset.c: Add check so code isn't compiled on systems with a sigset_t that isn't implemented with a single int.
28 lines
645 B
Makefile
28 lines
645 B
Makefile
## Process this file with automake to generate Makefile.in
|
|
|
|
AUTOMAKE_OPTIONS = cygnus
|
|
|
|
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
|
|
|
|
LIB_SOURCES = setjmp.S sigaction.c
|
|
|
|
liblinuxi386_la_LDFLAGS = -Xcompiler -nostdlib
|
|
|
|
if USE_LIBTOOL
|
|
noinst_LTLIBRARIES = liblinuxi386.la
|
|
liblinuxi386_la_SOURCES = $(LIB_SOURCES)
|
|
noinst_DATA = objectlist.awk.in
|
|
else
|
|
noinst_LIBRARIES = lib.a
|
|
lib_a_SOURCES = $(LIB_SOURCES)
|
|
noinst_DATA =
|
|
endif # USE_LIBTOOL
|
|
|
|
include $(srcdir)/../../../../../Makefile.shared
|
|
|
|
all: crt0.o
|
|
|
|
AM_CFLAGS = -I$(srcdir)/../..
|
|
ACLOCAL_AMFLAGS = -I ../../../../..
|
|
CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
|