2002-07-26 02:41:15 +08:00
|
|
|
# Makefile.in generated automatically by automake 1.4 from Makefile.am
|
2000-12-09 09:20:32 +08:00
|
|
|
|
2002-07-26 02:41:15 +08:00
|
|
|
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
2000-12-09 09:20:32 +08:00
|
|
|
# This Makefile.in is free software; the Free Software Foundation
|
|
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
|
|
# with or without modifications, as long as this notice is preserved.
|
|
|
|
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
|
|
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|
|
|
# PARTICULAR PURPOSE.
|
|
|
|
|
|
|
|
|
|
|
|
SHELL = @SHELL@
|
|
|
|
|
|
|
|
srcdir = @srcdir@
|
|
|
|
top_srcdir = @top_srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
prefix = @prefix@
|
|
|
|
exec_prefix = @exec_prefix@
|
|
|
|
|
|
|
|
bindir = @bindir@
|
|
|
|
sbindir = @sbindir@
|
|
|
|
libexecdir = @libexecdir@
|
|
|
|
datadir = @datadir@
|
|
|
|
sysconfdir = @sysconfdir@
|
|
|
|
sharedstatedir = @sharedstatedir@
|
|
|
|
localstatedir = @localstatedir@
|
|
|
|
libdir = @libdir@
|
|
|
|
infodir = @infodir@
|
|
|
|
mandir = @mandir@
|
|
|
|
includedir = @includedir@
|
|
|
|
oldincludedir = /usr/include
|
|
|
|
|
|
|
|
DESTDIR =
|
|
|
|
|
|
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
|
|
|
pkglibdir = $(libdir)/@PACKAGE@
|
|
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
|
|
|
|
|
|
|
top_builddir = .
|
|
|
|
|
|
|
|
ACLOCAL = @ACLOCAL@
|
|
|
|
AUTOCONF = @AUTOCONF@
|
|
|
|
AUTOMAKE = @AUTOMAKE@
|
|
|
|
AUTOHEADER = @AUTOHEADER@
|
|
|
|
|
|
|
|
INSTALL = @INSTALL@
|
|
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
|
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
|
|
|
transform = @program_transform_name@
|
|
|
|
|
|
|
|
NORMAL_INSTALL = :
|
|
|
|
PRE_INSTALL = :
|
|
|
|
POST_INSTALL = :
|
|
|
|
NORMAL_UNINSTALL = :
|
|
|
|
PRE_UNINSTALL = :
|
|
|
|
POST_UNINSTALL = :
|
2002-04-25 04:53:30 +08:00
|
|
|
build_alias = @build_alias@
|
|
|
|
build_triplet = @build@
|
2000-12-09 09:20:32 +08:00
|
|
|
host_alias = @host_alias@
|
|
|
|
host_triplet = @host@
|
2002-04-25 04:53:30 +08:00
|
|
|
target_alias = @target_alias@
|
|
|
|
target_triplet = @target@
|
2000-12-09 09:20:32 +08:00
|
|
|
AR = @AR@
|
|
|
|
AS = @AS@
|
2001-12-14 07:50:11 +08:00
|
|
|
AWK = @AWK@
|
2000-12-09 09:20:32 +08:00
|
|
|
CC = @CC@
|
|
|
|
CPP = @CPP@
|
2002-06-08 05:59:57 +08:00
|
|
|
CXX = @CXX@
|
|
|
|
CXXCPP = @CXXCPP@
|
2001-12-14 07:50:11 +08:00
|
|
|
DLLTOOL = @DLLTOOL@
|
2000-12-09 09:20:32 +08:00
|
|
|
EXEEXT = @EXEEXT@
|
2002-10-08 07:10:13 +08:00
|
|
|
EXTRA_SUBDIRS = @EXTRA_SUBDIRS@
|
|
|
|
EXTRA_SUBLIBS = @EXTRA_SUBLIBS@
|
2002-06-08 05:59:57 +08:00
|
|
|
GCJ = @GCJ@
|
|
|
|
GCJFLAGS = @GCJFLAGS@
|
2001-12-14 07:50:11 +08:00
|
|
|
LDFLAGS = @LDFLAGS@
|
|
|
|
LIBTOOL = @LIBTOOL@
|
2002-04-04 06:46:21 +08:00
|
|
|
LINUX_MACH_LIB = @LINUX_MACH_LIB@
|
2001-12-14 07:50:11 +08:00
|
|
|
LN_S = @LN_S@
|
2000-12-09 09:20:32 +08:00
|
|
|
MAINT = @MAINT@
|
|
|
|
MAKEINFO = @MAKEINFO@
|
|
|
|
NEWLIB_CFLAGS = @NEWLIB_CFLAGS@
|
2001-12-14 07:50:11 +08:00
|
|
|
OBJDUMP = @OBJDUMP@
|
2002-06-08 05:59:57 +08:00
|
|
|
OBJEXT = @OBJEXT@
|
2000-12-09 09:20:32 +08:00
|
|
|
PACKAGE = @PACKAGE@
|
|
|
|
RANLIB = @RANLIB@
|
2002-06-08 05:59:57 +08:00
|
|
|
STRIP = @STRIP@
|
2000-12-09 09:20:32 +08:00
|
|
|
VERSION = @VERSION@
|
2001-12-14 07:50:11 +08:00
|
|
|
aext = @aext@
|
|
|
|
libm_machine_dir = @libm_machine_dir@
|
2000-12-09 09:20:32 +08:00
|
|
|
machine_dir = @machine_dir@
|
|
|
|
newlib_basedir = @newlib_basedir@
|
2001-12-14 07:50:11 +08:00
|
|
|
oext = @oext@
|
2000-12-09 09:20:32 +08:00
|
|
|
sys_dir = @sys_dir@
|
|
|
|
|
|
|
|
AUTOMAKE_OPTIONS = cygnus
|
|
|
|
|
2002-08-23 09:56:05 +08:00
|
|
|
INCLUDES = -I$(srcdir)/include $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS) $(INCLTDL)
|
2002-08-30 07:53:06 +08:00
|
|
|
@ELIX_LEVEL_1_TRUE@argp_dir =
|
|
|
|
@ELIX_LEVEL_1_FALSE@argp_dir = @ELIX_LEVEL_1_FALSE@argp
|
|
|
|
@ELIX_LEVEL_1_TRUE@ARGP_LIB =
|
|
|
|
@ELIX_LEVEL_1_FALSE@ARGP_LIB = @ELIX_LEVEL_1_FALSE@argp/libargp.la
|
2000-12-09 09:20:32 +08:00
|
|
|
|
2002-05-17 Jeff Johnston <jjohnstn@redhat.com>
* Makefile.am: Copy and install headers from sys/machine/include
directory. Also pass $toollibdir to lower-level directories.
* Makefile.in: Regenerated.
* libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
stderr to use _REENT macro instead of _impure_ptr directly.
* libc/include/sys/config.h[__i386__][__linux__]: Define
__DYNAMIC_REENT__.
* libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
call to __getreent() function if !__SINGLE_THREAD__ and
__DYNAMIC_REENT__ is set.
* libc/reent/Makefile.am: Add support for getreent.c.
* libc/reent/Makefile.in: Regenerated.
* libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
* libc/sys/linux/Makefile.am: Add support for new files.
* libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
* libc/sys/linux/Makefile.in: Regenerated.
* libc/sys/linux/configure: Ditto.
* libc/sys/linux/io.c: Add poll syscall. Also weak-alias
__close, __read, __write, __poll, __open, __lseek, __fcntl from
their __libc_ counterparts.
* libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
and weak-alias to regular names.
* libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
to pread64 and __pread64.
* libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
* libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
weak-alias to pwrite64.
* libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
__libc_sched_getscheduler, __libc_sched_get_priority_max,
__libc_sched_get_priority_min, and __libc_sched_setschedule to
name with __ instead of __libc_.
* libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
* libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
to raise.
* libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
__libc_send to __send.
* libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
__gettimeofday.
* libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
* libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
type and typedef __jmp_buf to jmp_buf.
* libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
setjmp.S.
* libc/sys/linux/machine/i386/Makefile.in: Regenerated.
* libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
section.
* libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
prefix for function macros and then use weak_alias() to regular names.
* libc/sys/linux/machine/i386/syscall.h: Ditto.
* libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
* libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
to be flockfile() and funlockfile() respectively.
* libc/sys/linux/sys/types.h
* libc/reent/getreent.c: New file.
* libc/sys/linux/flockfile.c: Ditto.
* libc/sys/linux/funlockfile.c: Ditto.
* libc/sys/linux/getreent.c: Ditto.
* libc/sys/linux/pread.c: Ditto.
* libc/sys/linux/pwrite.c: Ditto.
* libc/sys/linux/raise.c: Ditto.
* libc/sys/linux/system.c: Ditto.
* libc/sys/linux/tcdrain.c: Ditto.
* libc/sys/linux/machine/i386/i386mach.h: Ditto.
* libc/sys/linux/machine/i386/setjmp.S: Ditto.
* libc/sys/linux/machine/i386/syscalls.c: Ditto.
* libc/sys/linux/machine/i386/weakalias.h: Ditto.
* libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
2002-05-18 07:39:39 +08:00
|
|
|
SUBDIRS = machine \
|
2002-08-30 07:53:06 +08:00
|
|
|
$(argp_dir) \
|
2002-08-17 05:29:45 +08:00
|
|
|
cmath \
|
2002-10-08 07:10:13 +08:00
|
|
|
$(EXTRA_SUBDIRS)\
|
2002-05-17 Jeff Johnston <jjohnstn@redhat.com>
* Makefile.am: Copy and install headers from sys/machine/include
directory. Also pass $toollibdir to lower-level directories.
* Makefile.in: Regenerated.
* libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
stderr to use _REENT macro instead of _impure_ptr directly.
* libc/include/sys/config.h[__i386__][__linux__]: Define
__DYNAMIC_REENT__.
* libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
call to __getreent() function if !__SINGLE_THREAD__ and
__DYNAMIC_REENT__ is set.
* libc/reent/Makefile.am: Add support for getreent.c.
* libc/reent/Makefile.in: Regenerated.
* libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
* libc/sys/linux/Makefile.am: Add support for new files.
* libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
* libc/sys/linux/Makefile.in: Regenerated.
* libc/sys/linux/configure: Ditto.
* libc/sys/linux/io.c: Add poll syscall. Also weak-alias
__close, __read, __write, __poll, __open, __lseek, __fcntl from
their __libc_ counterparts.
* libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
and weak-alias to regular names.
* libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
to pread64 and __pread64.
* libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
* libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
weak-alias to pwrite64.
* libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
__libc_sched_getscheduler, __libc_sched_get_priority_max,
__libc_sched_get_priority_min, and __libc_sched_setschedule to
name with __ instead of __libc_.
* libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
* libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
to raise.
* libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
__libc_send to __send.
* libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
__gettimeofday.
* libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
* libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
type and typedef __jmp_buf to jmp_buf.
* libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
setjmp.S.
* libc/sys/linux/machine/i386/Makefile.in: Regenerated.
* libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
section.
* libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
prefix for function macros and then use weak_alias() to regular names.
* libc/sys/linux/machine/i386/syscall.h: Ditto.
* libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
* libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
to be flockfile() and funlockfile() respectively.
* libc/sys/linux/sys/types.h
* libc/reent/getreent.c: New file.
* libc/sys/linux/flockfile.c: Ditto.
* libc/sys/linux/funlockfile.c: Ditto.
* libc/sys/linux/getreent.c: Ditto.
* libc/sys/linux/pread.c: Ditto.
* libc/sys/linux/pwrite.c: Ditto.
* libc/sys/linux/raise.c: Ditto.
* libc/sys/linux/system.c: Ditto.
* libc/sys/linux/tcdrain.c: Ditto.
* libc/sys/linux/machine/i386/i386mach.h: Ditto.
* libc/sys/linux/machine/i386/setjmp.S: Ditto.
* libc/sys/linux/machine/i386/syscalls.c: Ditto.
* libc/sys/linux/machine/i386/weakalias.h: Ditto.
* libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
2002-05-18 07:39:39 +08:00
|
|
|
.
|
|
|
|
|
2002-05-25 02:50:29 +08:00
|
|
|
SUBLIBS = \
|
2002-08-30 07:53:06 +08:00
|
|
|
$(ARGP_LIB) \
|
2002-08-17 05:29:45 +08:00
|
|
|
cmath/libcmath.la \
|
2002-10-08 07:10:13 +08:00
|
|
|
$(EXTRA_SUBLIBS) \
|
2002-05-25 02:50:29 +08:00
|
|
|
$(LINUX_MACH_LIB)
|
|
|
|
|
2002-04-04 06:46:21 +08:00
|
|
|
|
2002-08-27 02:56:09 +08:00
|
|
|
GENERAL_SOURCES = \
|
2002-06-28 06:48:05 +08:00
|
|
|
aio.c \
|
2002-06-06 04:58:59 +08:00
|
|
|
brk.c \
|
2002-07-16 04:16:32 +08:00
|
|
|
calloc.c \
|
|
|
|
callocr.c \
|
|
|
|
cfreer.c \
|
2002-06-06 04:58:59 +08:00
|
|
|
cfspeed.c \
|
2002-06-28 04:09:26 +08:00
|
|
|
clock_getres.c \
|
|
|
|
clock_gettime.c \
|
|
|
|
clock_settime.c \
|
2002-06-06 04:58:59 +08:00
|
|
|
flockfile.c \
|
2002-07-16 04:16:32 +08:00
|
|
|
free.c \
|
|
|
|
freer.c \
|
2002-06-20 06:17:33 +08:00
|
|
|
ftok.c \
|
2002-06-06 04:58:59 +08:00
|
|
|
funlockfile.c \
|
2002-06-22 02:29:23 +08:00
|
|
|
getdate.c \
|
|
|
|
getdate_err.c \
|
2002-06-06 04:58:59 +08:00
|
|
|
gethostname.c \
|
|
|
|
getreent.c \
|
|
|
|
ids.c \
|
|
|
|
inode.c \
|
|
|
|
io.c \
|
2002-06-20 06:17:33 +08:00
|
|
|
ipc.c \
|
2002-06-06 04:58:59 +08:00
|
|
|
linux.c \
|
2002-07-16 04:16:32 +08:00
|
|
|
mallinfor.c \
|
|
|
|
mallocr.c \
|
|
|
|
mallstatsr.c \
|
2002-06-06 04:58:59 +08:00
|
|
|
mmap.c \
|
2002-06-20 06:17:33 +08:00
|
|
|
mq_close.c \
|
|
|
|
mq_getattr.c \
|
|
|
|
mq_notify.c \
|
|
|
|
mq_open.c \
|
|
|
|
mq_receive.c \
|
|
|
|
mq_send.c \
|
|
|
|
mq_setattr.c \
|
|
|
|
mq_unlink.c \
|
2002-07-16 04:16:32 +08:00
|
|
|
msize.c \
|
|
|
|
msizer.c \
|
|
|
|
mstats.c \
|
|
|
|
mtrim.c \
|
|
|
|
mtrimr.c \
|
2002-06-22 02:29:23 +08:00
|
|
|
ntp_gettime.c \
|
2002-06-06 04:58:59 +08:00
|
|
|
pread.c \
|
|
|
|
process.c \
|
2002-08-23 09:56:05 +08:00
|
|
|
prof-freq.c \
|
|
|
|
profile.c \
|
2002-06-06 04:58:59 +08:00
|
|
|
psignal.c \
|
|
|
|
pwrite.c \
|
|
|
|
raise.c \
|
2002-07-16 04:16:32 +08:00
|
|
|
realloc.c \
|
|
|
|
reallocr.c \
|
2002-06-06 04:58:59 +08:00
|
|
|
rename.c \
|
|
|
|
resource.c \
|
|
|
|
sched.c \
|
|
|
|
select.c \
|
|
|
|
seteuid.c \
|
2002-06-26 02:05:31 +08:00
|
|
|
sethostname.c \
|
2002-06-06 04:58:59 +08:00
|
|
|
shm_open.c \
|
|
|
|
shm_unlink.c \
|
|
|
|
sig.c \
|
|
|
|
sigaction.c \
|
|
|
|
sigqueue.c \
|
|
|
|
signal.c \
|
|
|
|
siglongjmp.c \
|
|
|
|
sigset.c \
|
|
|
|
sigwait.c \
|
|
|
|
socket.c \
|
|
|
|
sleep.c \
|
|
|
|
strsignal.c \
|
2002-07-27 05:44:34 +08:00
|
|
|
strverscmp.c \
|
2002-06-06 04:58:59 +08:00
|
|
|
sysconf.c \
|
|
|
|
sysctl.c \
|
|
|
|
systat.c \
|
|
|
|
tcdrain.c \
|
|
|
|
tcsendbrk.c \
|
|
|
|
termios.c \
|
|
|
|
time.c \
|
|
|
|
usleep.c \
|
2002-08-27 02:56:09 +08:00
|
|
|
versionsort.c
|
|
|
|
|
|
|
|
|
|
|
|
ELIX_2_OBJS = \
|
|
|
|
aio64.$(oext) \
|
|
|
|
confstr.$(oext) \
|
|
|
|
ctermid.$(oext) \
|
|
|
|
fclean.$(oext) \
|
|
|
|
fpathconf.$(oext) \
|
|
|
|
fstab.$(oext) \
|
|
|
|
fstatvfs.$(oext) \
|
|
|
|
fstatvfs64.$(oext) \
|
|
|
|
ftw.$(oext) \
|
|
|
|
ftw64.$(oext) \
|
2002-08-30 07:53:06 +08:00
|
|
|
getopt.$(oext) \
|
|
|
|
getopt1.$(oext) \
|
2002-08-27 02:56:09 +08:00
|
|
|
getrlimit64.$(oext) \
|
|
|
|
getwd.$(oext) \
|
|
|
|
io64.$(oext) \
|
|
|
|
malign.$(oext) \
|
|
|
|
malignr.$(oext) \
|
|
|
|
malloptr.$(oext) \
|
|
|
|
mcheck.$(oext) \
|
|
|
|
mntent.$(oext) \
|
|
|
|
mntent_r.$(oext) \
|
|
|
|
pathconf.$(oext) \
|
|
|
|
pread64.$(oext) \
|
|
|
|
pvallocr.$(oext) \
|
|
|
|
pwrite64.$(oext) \
|
|
|
|
readdir64.$(oext) \
|
|
|
|
realpath.$(oext) \
|
|
|
|
scandir64.$(oext) \
|
|
|
|
setrlimit64.$(oext) \
|
|
|
|
statvfs.$(oext) \
|
|
|
|
statvfs64.$(oext) \
|
|
|
|
ttyname_r.$(oext) \
|
|
|
|
utimes.$(oext) \
|
|
|
|
vallocr.$(oext) \
|
|
|
|
versionsort64.$(oext)
|
|
|
|
|
|
|
|
|
|
|
|
ELIX_3_OBJS = \
|
|
|
|
system.$(oext) \
|
|
|
|
wait.$(oext)
|
|
|
|
|
|
|
|
|
|
|
|
ELIX_4_OBJS = \
|
|
|
|
stack.$(oext)
|
|
|
|
|
|
|
|
@ELIX_LEVEL_1_TRUE@LIB_OBJS =
|
|
|
|
@ELIX_LEVEL_1_FALSE@@ELIX_LEVEL_2_TRUE@LIB_OBJS = @ELIX_LEVEL_1_FALSE@@ELIX_LEVEL_2_TRUE@$(ELIX_2_OBJS)
|
|
|
|
@ELIX_LEVEL_1_FALSE@@ELIX_LEVEL_2_FALSE@@ELIX_LEVEL_3_TRUE@LIB_OBJS = @ELIX_LEVEL_1_FALSE@@ELIX_LEVEL_2_FALSE@@ELIX_LEVEL_3_TRUE@$(ELIX_2_OBJS) $(ELIX_3_OBJS)
|
|
|
|
@ELIX_LEVEL_1_FALSE@@ELIX_LEVEL_2_FALSE@@ELIX_LEVEL_3_FALSE@LIB_OBJS = @ELIX_LEVEL_1_FALSE@@ELIX_LEVEL_2_FALSE@@ELIX_LEVEL_3_FALSE@$(ELIX_2_OBJS) $(ELIX_3_OBJS) $(ELIX_4_OBJS)
|
2000-12-09 09:20:32 +08:00
|
|
|
|
2001-12-14 07:50:11 +08:00
|
|
|
# This will handle both /usr/src/linux-2.4/include/asm/signal.h (in Red Hat Linux 7.1)
|
|
|
|
# and also /usr/src/linux/include/asm/signal.h in older versions of Red Hat Linux
|
|
|
|
SIGNAL_H = /usr/src/$(shell ls /usr/src/ | grep ^linux | head -n 1)/include/asm/signal.h
|
|
|
|
|
|
|
|
liblinux_la_LDFLAGS = -Xcompiler -nostdlib
|
|
|
|
|
2002-06-26 02:17:25 +08:00
|
|
|
ADD_OBJS = \
|
2002-07-16 04:16:32 +08:00
|
|
|
malloc.$(oext) \
|
2003-05-29 06:04:40 +08:00
|
|
|
gethostid.$(oext) \
|
|
|
|
sethostid.$(oext) \
|
2002-06-26 02:17:25 +08:00
|
|
|
$(LINUX_MACH_LIB)
|
|
|
|
|
2002-06-26 02:05:31 +08:00
|
|
|
|
2001-12-14 07:50:11 +08:00
|
|
|
@USE_LIBTOOL_TRUE@noinst_LTLIBRARIES = @USE_LIBTOOL_TRUE@liblinux.la
|
2002-08-27 02:56:09 +08:00
|
|
|
@USE_LIBTOOL_TRUE@liblinux_la_SOURCES = @USE_LIBTOOL_TRUE@$(GENERAL_SOURCES)
|
|
|
|
@USE_LIBTOOL_TRUE@liblinux_la_LIBADD = @USE_LIBTOOL_TRUE@$(ADD_OBJS) $(LIB_OBJS)
|
|
|
|
@USE_LIBTOOL_TRUE@liblinux_la_DEPENDENCIES = @USE_LIBTOOL_TRUE@$(ADD_OBJS) $(LIB_OBJS)
|
2002-07-16 04:16:32 +08:00
|
|
|
@USE_LIBTOOL_TRUE@LIBC_COMPILE = @USE_LIBTOOL_TRUE@$(LTCOMPILE)
|
|
|
|
@USE_LIBTOOL_FALSE@LIBC_COMPILE = @USE_LIBTOOL_FALSE@$(COMPILE)
|
2001-12-14 07:50:11 +08:00
|
|
|
@USE_LIBTOOL_TRUE@noinst_DATA = @USE_LIBTOOL_TRUE@objectlist.awk.in
|
|
|
|
@USE_LIBTOOL_FALSE@noinst_DATA =
|
|
|
|
@USE_LIBTOOL_FALSE@noinst_LIBRARIES = @USE_LIBTOOL_FALSE@lib.a
|
2002-08-27 02:56:09 +08:00
|
|
|
@USE_LIBTOOL_FALSE@lib_a_SOURCES = @USE_LIBTOOL_FALSE@$(GENERAL_SOURCES)
|
|
|
|
@USE_LIBTOOL_FALSE@lib_a_LIBADD = @USE_LIBTOOL_FALSE@$(ADD_OBJS) $(LIB_OBJS)
|
|
|
|
@USE_LIBTOOL_FALSE@lib_a_DEPENDENCIES = @USE_LIBTOOL_FALSE@$(ADD_OBJS) $(LIB_OBJS)
|
2001-12-14 07:50:11 +08:00
|
|
|
|
2002-06-22 02:29:23 +08:00
|
|
|
AM_CFLAGS = -I $(srcdir)/../../stdio
|
2000-12-09 09:20:32 +08:00
|
|
|
ACLOCAL_AMFLAGS = -I ../../..
|
|
|
|
CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
|
|
|
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
|
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../mkinstalldirs
|
|
|
|
CONFIG_CLEAN_FILES =
|
|
|
|
LIBRARIES = $(noinst_LIBRARIES)
|
|
|
|
|
|
|
|
|
|
|
|
DEFS = @DEFS@ -I. -I$(srcdir)
|
|
|
|
CPPFLAGS = @CPPFLAGS@
|
|
|
|
LIBS = @LIBS@
|
2002-08-27 02:56:09 +08:00
|
|
|
@USE_LIBTOOL_FALSE@lib_a_OBJECTS = aio.$(OBJEXT) brk.$(OBJEXT) \
|
|
|
|
@USE_LIBTOOL_FALSE@calloc.$(OBJEXT) callocr.$(OBJEXT) cfreer.$(OBJEXT) \
|
|
|
|
@USE_LIBTOOL_FALSE@cfspeed.$(OBJEXT) clock_getres.$(OBJEXT) \
|
|
|
|
@USE_LIBTOOL_FALSE@clock_gettime.$(OBJEXT) clock_settime.$(OBJEXT) \
|
|
|
|
@USE_LIBTOOL_FALSE@flockfile.$(OBJEXT) free.$(OBJEXT) freer.$(OBJEXT) \
|
|
|
|
@USE_LIBTOOL_FALSE@ftok.$(OBJEXT) funlockfile.$(OBJEXT) \
|
|
|
|
@USE_LIBTOOL_FALSE@getdate.$(OBJEXT) getdate_err.$(OBJEXT) \
|
|
|
|
@USE_LIBTOOL_FALSE@gethostname.$(OBJEXT) getreent.$(OBJEXT) \
|
|
|
|
@USE_LIBTOOL_FALSE@ids.$(OBJEXT) inode.$(OBJEXT) io.$(OBJEXT) \
|
|
|
|
@USE_LIBTOOL_FALSE@ipc.$(OBJEXT) linux.$(OBJEXT) mallinfor.$(OBJEXT) \
|
|
|
|
@USE_LIBTOOL_FALSE@mallocr.$(OBJEXT) mallstatsr.$(OBJEXT) \
|
|
|
|
@USE_LIBTOOL_FALSE@mmap.$(OBJEXT) mq_close.$(OBJEXT) \
|
2002-07-27 05:44:34 +08:00
|
|
|
@USE_LIBTOOL_FALSE@mq_getattr.$(OBJEXT) mq_notify.$(OBJEXT) \
|
|
|
|
@USE_LIBTOOL_FALSE@mq_open.$(OBJEXT) mq_receive.$(OBJEXT) \
|
|
|
|
@USE_LIBTOOL_FALSE@mq_send.$(OBJEXT) mq_setattr.$(OBJEXT) \
|
|
|
|
@USE_LIBTOOL_FALSE@mq_unlink.$(OBJEXT) msize.$(OBJEXT) msizer.$(OBJEXT) \
|
|
|
|
@USE_LIBTOOL_FALSE@mstats.$(OBJEXT) mtrim.$(OBJEXT) mtrimr.$(OBJEXT) \
|
2002-08-27 02:56:09 +08:00
|
|
|
@USE_LIBTOOL_FALSE@ntp_gettime.$(OBJEXT) pread.$(OBJEXT) \
|
|
|
|
@USE_LIBTOOL_FALSE@process.$(OBJEXT) prof-freq.$(OBJEXT) \
|
|
|
|
@USE_LIBTOOL_FALSE@profile.$(OBJEXT) psignal.$(OBJEXT) pwrite.$(OBJEXT) \
|
|
|
|
@USE_LIBTOOL_FALSE@raise.$(OBJEXT) realloc.$(OBJEXT) reallocr.$(OBJEXT) \
|
|
|
|
@USE_LIBTOOL_FALSE@rename.$(OBJEXT) resource.$(OBJEXT) sched.$(OBJEXT) \
|
|
|
|
@USE_LIBTOOL_FALSE@select.$(OBJEXT) seteuid.$(OBJEXT) \
|
|
|
|
@USE_LIBTOOL_FALSE@sethostname.$(OBJEXT) shm_open.$(OBJEXT) \
|
2002-07-27 05:44:34 +08:00
|
|
|
@USE_LIBTOOL_FALSE@shm_unlink.$(OBJEXT) sig.$(OBJEXT) \
|
|
|
|
@USE_LIBTOOL_FALSE@sigaction.$(OBJEXT) sigqueue.$(OBJEXT) \
|
2002-06-08 05:59:57 +08:00
|
|
|
@USE_LIBTOOL_FALSE@signal.$(OBJEXT) siglongjmp.$(OBJEXT) \
|
|
|
|
@USE_LIBTOOL_FALSE@sigset.$(OBJEXT) sigwait.$(OBJEXT) socket.$(OBJEXT) \
|
2002-08-27 02:56:09 +08:00
|
|
|
@USE_LIBTOOL_FALSE@sleep.$(OBJEXT) strsignal.$(OBJEXT) \
|
2002-07-27 05:44:34 +08:00
|
|
|
@USE_LIBTOOL_FALSE@strverscmp.$(OBJEXT) sysconf.$(OBJEXT) \
|
2002-08-27 02:56:09 +08:00
|
|
|
@USE_LIBTOOL_FALSE@sysctl.$(OBJEXT) systat.$(OBJEXT) tcdrain.$(OBJEXT) \
|
|
|
|
@USE_LIBTOOL_FALSE@tcsendbrk.$(OBJEXT) termios.$(OBJEXT) time.$(OBJEXT) \
|
|
|
|
@USE_LIBTOOL_FALSE@usleep.$(OBJEXT) versionsort.$(OBJEXT)
|
2001-12-14 07:50:11 +08:00
|
|
|
LTLIBRARIES = $(noinst_LTLIBRARIES)
|
|
|
|
|
2002-08-27 02:56:09 +08:00
|
|
|
@USE_LIBTOOL_TRUE@liblinux_la_OBJECTS = aio.lo brk.lo calloc.lo \
|
|
|
|
@USE_LIBTOOL_TRUE@callocr.lo cfreer.lo cfspeed.lo clock_getres.lo \
|
|
|
|
@USE_LIBTOOL_TRUE@clock_gettime.lo clock_settime.lo flockfile.lo \
|
|
|
|
@USE_LIBTOOL_TRUE@free.lo freer.lo ftok.lo funlockfile.lo getdate.lo \
|
|
|
|
@USE_LIBTOOL_TRUE@getdate_err.lo gethostname.lo getreent.lo ids.lo \
|
|
|
|
@USE_LIBTOOL_TRUE@inode.lo io.lo ipc.lo linux.lo mallinfor.lo \
|
|
|
|
@USE_LIBTOOL_TRUE@mallocr.lo mallstatsr.lo mmap.lo mq_close.lo \
|
|
|
|
@USE_LIBTOOL_TRUE@mq_getattr.lo mq_notify.lo mq_open.lo mq_receive.lo \
|
|
|
|
@USE_LIBTOOL_TRUE@mq_send.lo mq_setattr.lo mq_unlink.lo msize.lo \
|
|
|
|
@USE_LIBTOOL_TRUE@msizer.lo mstats.lo mtrim.lo mtrimr.lo ntp_gettime.lo \
|
|
|
|
@USE_LIBTOOL_TRUE@pread.lo process.lo prof-freq.lo profile.lo \
|
|
|
|
@USE_LIBTOOL_TRUE@psignal.lo pwrite.lo raise.lo realloc.lo reallocr.lo \
|
|
|
|
@USE_LIBTOOL_TRUE@rename.lo resource.lo sched.lo select.lo seteuid.lo \
|
|
|
|
@USE_LIBTOOL_TRUE@sethostname.lo shm_open.lo shm_unlink.lo sig.lo \
|
|
|
|
@USE_LIBTOOL_TRUE@sigaction.lo sigqueue.lo signal.lo siglongjmp.lo \
|
|
|
|
@USE_LIBTOOL_TRUE@sigset.lo sigwait.lo socket.lo sleep.lo strsignal.lo \
|
|
|
|
@USE_LIBTOOL_TRUE@strverscmp.lo sysconf.lo sysctl.lo systat.lo \
|
|
|
|
@USE_LIBTOOL_TRUE@tcdrain.lo tcsendbrk.lo termios.lo time.lo usleep.lo \
|
|
|
|
@USE_LIBTOOL_TRUE@versionsort.lo
|
2000-12-09 09:20:32 +08:00
|
|
|
CFLAGS = @CFLAGS@
|
|
|
|
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
2001-12-14 07:50:11 +08:00
|
|
|
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
2000-12-09 09:20:32 +08:00
|
|
|
CCLD = $(CC)
|
2001-12-14 07:50:11 +08:00
|
|
|
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
|
|
|
|
DATA = $(noinst_DATA)
|
|
|
|
|
2000-12-09 09:20:32 +08:00
|
|
|
DIST_COMMON = Makefile.am Makefile.in aclocal.m4 configure configure.in
|
|
|
|
|
|
|
|
|
|
|
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
|
|
|
|
|
|
|
TAR = gtar
|
|
|
|
GZIP_ENV = --best
|
2002-10-08 07:10:13 +08:00
|
|
|
DIST_SUBDIRS = machine argp cmath @EXTRA_SUBDIRS@ .
|
2001-12-14 07:50:11 +08:00
|
|
|
SOURCES = $(lib_a_SOURCES) $(liblinux_la_SOURCES)
|
|
|
|
OBJECTS = $(lib_a_OBJECTS) $(liblinux_la_OBJECTS)
|
2000-12-09 09:20:32 +08:00
|
|
|
|
|
|
|
all: all-redirect
|
|
|
|
.SUFFIXES:
|
2002-06-08 05:59:57 +08:00
|
|
|
.SUFFIXES: .S .c .lo .o .obj .s
|
2002-08-23 09:56:05 +08:00
|
|
|
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
2000-12-09 09:20:32 +08:00
|
|
|
cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
|
|
|
|
|
|
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
|
|
cd $(top_builddir) \
|
|
|
|
&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
|
|
|
|
|
|
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in \
|
2002-07-16 04:16:32 +08:00
|
|
|
../../../acinclude.m4 ../../../aclocal.m4 \
|
|
|
|
../../../libtool.m4
|
2000-12-09 09:20:32 +08:00
|
|
|
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
|
|
|
|
|
|
|
config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
|
|
|
$(SHELL) ./config.status --recheck
|
|
|
|
$(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
|
|
|
|
cd $(srcdir) && $(AUTOCONF)
|
|
|
|
|
|
|
|
mostlyclean-noinstLIBRARIES:
|
|
|
|
|
|
|
|
clean-noinstLIBRARIES:
|
|
|
|
-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
|
|
|
|
|
|
|
|
distclean-noinstLIBRARIES:
|
|
|
|
|
|
|
|
maintainer-clean-noinstLIBRARIES:
|
|
|
|
|
|
|
|
.c.o:
|
|
|
|
$(COMPILE) -c $<
|
|
|
|
|
2002-06-08 05:59:57 +08:00
|
|
|
# FIXME: We should only use cygpath when building on Windows,
|
|
|
|
# and only if it is available.
|
|
|
|
.c.obj:
|
|
|
|
$(COMPILE) -c `cygpath -w $<`
|
|
|
|
|
2000-12-09 09:20:32 +08:00
|
|
|
.s.o:
|
|
|
|
$(COMPILE) -c $<
|
|
|
|
|
|
|
|
.S.o:
|
|
|
|
$(COMPILE) -c $<
|
|
|
|
|
|
|
|
mostlyclean-compile:
|
|
|
|
-rm -f *.o core *.core
|
2002-06-08 05:59:57 +08:00
|
|
|
-rm -f *.$(OBJEXT)
|
2000-12-09 09:20:32 +08:00
|
|
|
|
|
|
|
clean-compile:
|
|
|
|
|
|
|
|
distclean-compile:
|
|
|
|
-rm -f *.tab.c
|
|
|
|
|
|
|
|
maintainer-clean-compile:
|
|
|
|
|
2001-12-14 07:50:11 +08:00
|
|
|
.c.lo:
|
|
|
|
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
|
|
|
|
|
|
|
|
.s.lo:
|
|
|
|
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
|
|
|
|
|
|
|
|
.S.lo:
|
|
|
|
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
|
|
|
|
|
|
|
|
mostlyclean-libtool:
|
|
|
|
-rm -f *.lo
|
|
|
|
|
|
|
|
clean-libtool:
|
|
|
|
-rm -rf .libs _libs
|
|
|
|
|
|
|
|
distclean-libtool:
|
|
|
|
|
|
|
|
maintainer-clean-libtool:
|
|
|
|
|
|
|
|
mostlyclean-noinstLTLIBRARIES:
|
|
|
|
|
|
|
|
clean-noinstLTLIBRARIES:
|
|
|
|
-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
|
|
|
|
|
|
|
|
distclean-noinstLTLIBRARIES:
|
|
|
|
|
|
|
|
maintainer-clean-noinstLTLIBRARIES:
|
|
|
|
|
|
|
|
liblinux.la: $(liblinux_la_OBJECTS) $(liblinux_la_DEPENDENCIES)
|
|
|
|
$(LINK) $(liblinux_la_LDFLAGS) $(liblinux_la_OBJECTS) $(liblinux_la_LIBADD) $(LIBS)
|
|
|
|
|
2002-04-04 06:46:21 +08:00
|
|
|
# This directory's subdirectories are mostly independent; you can cd
|
|
|
|
# into them and run `make' without going through this Makefile.
|
|
|
|
# To change the values of `make' variables: instead of editing Makefiles,
|
|
|
|
# (1) if the variable is set in `config.status', edit `config.status'
|
|
|
|
# (which will cause the Makefiles to be regenerated when you run `make');
|
|
|
|
# (2) otherwise, pass the desired values on the `make' command line.
|
|
|
|
|
|
|
|
@SET_MAKE@
|
|
|
|
|
|
|
|
all-recursive install-data-recursive install-exec-recursive \
|
|
|
|
installdirs-recursive install-recursive uninstall-recursive install-info-recursive \
|
|
|
|
check-recursive installcheck-recursive info-recursive dvi-recursive:
|
|
|
|
@set fnord $(MAKEFLAGS); amf=$$2; \
|
|
|
|
dot_seen=no; \
|
|
|
|
target=`echo $@ | sed s/-recursive//`; \
|
|
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
|
|
echo "Making $$target in $$subdir"; \
|
|
|
|
if test "$$subdir" = "."; then \
|
|
|
|
dot_seen=yes; \
|
|
|
|
local_target="$$target-am"; \
|
|
|
|
else \
|
|
|
|
local_target="$$target"; \
|
|
|
|
fi; \
|
|
|
|
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
|
|
|
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
|
|
|
done; \
|
|
|
|
if test "$$dot_seen" = "no"; then \
|
|
|
|
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
|
|
|
fi; test -z "$$fail"
|
|
|
|
|
|
|
|
mostlyclean-recursive clean-recursive distclean-recursive \
|
|
|
|
maintainer-clean-recursive:
|
|
|
|
@set fnord $(MAKEFLAGS); amf=$$2; \
|
|
|
|
dot_seen=no; \
|
|
|
|
rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
|
|
rev="$$subdir $$rev"; \
|
2002-07-26 02:41:15 +08:00
|
|
|
test "$$subdir" = "." && dot_seen=yes; \
|
2002-04-04 06:46:21 +08:00
|
|
|
done; \
|
|
|
|
test "$$dot_seen" = "no" && rev=". $$rev"; \
|
|
|
|
target=`echo $@ | sed s/-recursive//`; \
|
|
|
|
for subdir in $$rev; do \
|
|
|
|
echo "Making $$target in $$subdir"; \
|
|
|
|
if test "$$subdir" = "."; then \
|
|
|
|
local_target="$$target-am"; \
|
|
|
|
else \
|
|
|
|
local_target="$$target"; \
|
|
|
|
fi; \
|
|
|
|
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
|
|
|
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
|
|
|
done && test -z "$$fail"
|
|
|
|
tags-recursive:
|
|
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
|
|
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
|
|
|
done
|
|
|
|
|
2000-12-09 09:20:32 +08:00
|
|
|
tags: TAGS
|
|
|
|
|
|
|
|
ID: $(HEADERS) $(SOURCES) $(LISP)
|
|
|
|
list='$(SOURCES) $(HEADERS)'; \
|
|
|
|
unique=`for i in $$list; do echo $$i; done | \
|
|
|
|
awk ' { files[$$0] = 1; } \
|
|
|
|
END { for (i in files) print i; }'`; \
|
|
|
|
here=`pwd` && cd $(srcdir) \
|
|
|
|
&& mkid -f$$here/ID $$unique $(LISP)
|
|
|
|
|
2002-04-04 06:46:21 +08:00
|
|
|
TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
|
2000-12-09 09:20:32 +08:00
|
|
|
tags=; \
|
|
|
|
here=`pwd`; \
|
2002-04-04 06:46:21 +08:00
|
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
|
|
if test "$$subdir" = .; then :; else \
|
|
|
|
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
|
|
|
|
fi; \
|
|
|
|
done; \
|
2000-12-09 09:20:32 +08:00
|
|
|
list='$(SOURCES) $(HEADERS)'; \
|
|
|
|
unique=`for i in $$list; do echo $$i; done | \
|
|
|
|
awk ' { files[$$0] = 1; } \
|
|
|
|
END { for (i in files) print i; }'`; \
|
|
|
|
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
|
|
|
|
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
|
|
|
|
|
|
|
|
mostlyclean-tags:
|
|
|
|
|
|
|
|
clean-tags:
|
|
|
|
|
|
|
|
distclean-tags:
|
|
|
|
-rm -f TAGS ID
|
|
|
|
|
|
|
|
maintainer-clean-tags:
|
|
|
|
|
|
|
|
distdir = $(PACKAGE)-$(VERSION)
|
|
|
|
top_distdir = $(distdir)
|
|
|
|
|
|
|
|
# This target untars the dist file and tries a VPATH configuration. Then
|
|
|
|
# it guarantees that the distribution is self-contained by making another
|
|
|
|
# tarfile.
|
|
|
|
distcheck: dist
|
|
|
|
-rm -rf $(distdir)
|
|
|
|
GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
|
|
|
|
mkdir $(distdir)/=build
|
|
|
|
mkdir $(distdir)/=inst
|
|
|
|
dc_install_base=`cd $(distdir)/=inst && pwd`; \
|
|
|
|
cd $(distdir)/=build \
|
|
|
|
&& ../configure --srcdir=.. --prefix=$$dc_install_base \
|
|
|
|
&& $(MAKE) $(AM_MAKEFLAGS) \
|
|
|
|
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
|
|
|
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
|
|
|
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
|
|
|
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
|
|
|
&& $(MAKE) $(AM_MAKEFLAGS) dist
|
|
|
|
-rm -rf $(distdir)
|
|
|
|
@banner="$(distdir).tar.gz is ready for distribution"; \
|
|
|
|
dashes=`echo "$$banner" | sed s/./=/g`; \
|
|
|
|
echo "$$dashes"; \
|
|
|
|
echo "$$banner"; \
|
|
|
|
echo "$$dashes"
|
|
|
|
dist: distdir
|
|
|
|
-chmod -R a+r $(distdir)
|
|
|
|
GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
|
|
|
|
-rm -rf $(distdir)
|
|
|
|
dist-all: distdir
|
|
|
|
-chmod -R a+r $(distdir)
|
|
|
|
GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
|
|
|
|
-rm -rf $(distdir)
|
|
|
|
distdir: $(DISTFILES)
|
|
|
|
-rm -rf $(distdir)
|
|
|
|
mkdir $(distdir)
|
|
|
|
-chmod 777 $(distdir)
|
|
|
|
@for file in $(DISTFILES); do \
|
|
|
|
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
|
|
|
if test -d $$d/$$file; then \
|
|
|
|
cp -pr $$d/$$file $(distdir)/$$file; \
|
|
|
|
else \
|
|
|
|
test -f $(distdir)/$$file \
|
|
|
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
|
|
|
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
|
|
|
fi; \
|
|
|
|
done
|
2002-08-30 07:53:06 +08:00
|
|
|
for subdir in $(DIST_SUBDIRS); do \
|
2002-04-04 06:46:21 +08:00
|
|
|
if test "$$subdir" = .; then :; else \
|
|
|
|
test -d $(distdir)/$$subdir \
|
|
|
|
|| mkdir $(distdir)/$$subdir \
|
|
|
|
|| exit 1; \
|
|
|
|
chmod 777 $(distdir)/$$subdir; \
|
|
|
|
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
|
|
|
|
|| exit 1; \
|
|
|
|
fi; \
|
|
|
|
done
|
2000-12-09 09:20:32 +08:00
|
|
|
info-am:
|
2002-04-04 06:46:21 +08:00
|
|
|
info: info-recursive
|
2000-12-09 09:20:32 +08:00
|
|
|
dvi-am:
|
2002-04-04 06:46:21 +08:00
|
|
|
dvi: dvi-recursive
|
2000-12-09 09:20:32 +08:00
|
|
|
check-am:
|
2002-04-04 06:46:21 +08:00
|
|
|
check: check-recursive
|
2000-12-09 09:20:32 +08:00
|
|
|
installcheck-am:
|
2002-04-04 06:46:21 +08:00
|
|
|
installcheck: installcheck-recursive
|
2000-12-09 09:20:32 +08:00
|
|
|
install-info-am:
|
2002-04-04 06:46:21 +08:00
|
|
|
install-info: install-info-recursive
|
2000-12-09 09:20:32 +08:00
|
|
|
install-exec-am:
|
2002-04-04 06:46:21 +08:00
|
|
|
install-exec: install-exec-recursive
|
2000-12-09 09:20:32 +08:00
|
|
|
|
|
|
|
install-data-am:
|
2002-04-04 06:46:21 +08:00
|
|
|
install-data: install-data-recursive
|
2000-12-09 09:20:32 +08:00
|
|
|
|
|
|
|
install-am: all-am
|
|
|
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
2002-04-04 06:46:21 +08:00
|
|
|
install: install-recursive
|
2000-12-09 09:20:32 +08:00
|
|
|
uninstall-am:
|
2002-04-04 06:46:21 +08:00
|
|
|
uninstall: uninstall-recursive
|
2001-12-14 07:50:11 +08:00
|
|
|
all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) $(DATA)
|
2002-04-04 06:46:21 +08:00
|
|
|
all-redirect: all-recursive
|
2000-12-09 09:20:32 +08:00
|
|
|
install-strip:
|
|
|
|
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
|
2002-04-04 06:46:21 +08:00
|
|
|
installdirs: installdirs-recursive
|
|
|
|
installdirs-am:
|
2000-12-09 09:20:32 +08:00
|
|
|
|
|
|
|
|
|
|
|
mostlyclean-generic:
|
|
|
|
|
|
|
|
clean-generic:
|
|
|
|
|
|
|
|
distclean-generic:
|
|
|
|
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
|
|
|
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
|
|
|
|
|
|
|
maintainer-clean-generic:
|
|
|
|
mostlyclean-am: mostlyclean-noinstLIBRARIES mostlyclean-compile \
|
2001-12-14 07:50:11 +08:00
|
|
|
mostlyclean-libtool mostlyclean-noinstLTLIBRARIES \
|
2000-12-09 09:20:32 +08:00
|
|
|
mostlyclean-tags mostlyclean-generic
|
|
|
|
|
2002-04-04 06:46:21 +08:00
|
|
|
mostlyclean: mostlyclean-recursive
|
2000-12-09 09:20:32 +08:00
|
|
|
|
2001-12-14 07:50:11 +08:00
|
|
|
clean-am: clean-noinstLIBRARIES clean-compile clean-libtool \
|
|
|
|
clean-noinstLTLIBRARIES clean-tags clean-generic \
|
2000-12-09 09:20:32 +08:00
|
|
|
mostlyclean-am
|
|
|
|
|
2002-04-04 06:46:21 +08:00
|
|
|
clean: clean-recursive
|
2000-12-09 09:20:32 +08:00
|
|
|
|
|
|
|
distclean-am: distclean-noinstLIBRARIES distclean-compile \
|
2001-12-14 07:50:11 +08:00
|
|
|
distclean-libtool distclean-noinstLTLIBRARIES \
|
2000-12-09 09:20:32 +08:00
|
|
|
distclean-tags distclean-generic clean-am
|
2001-12-14 07:50:11 +08:00
|
|
|
-rm -f libtool
|
2000-12-09 09:20:32 +08:00
|
|
|
|
2002-04-04 06:46:21 +08:00
|
|
|
distclean: distclean-recursive
|
2000-12-09 09:20:32 +08:00
|
|
|
-rm -f config.status
|
|
|
|
|
|
|
|
maintainer-clean-am: maintainer-clean-noinstLIBRARIES \
|
2001-12-14 07:50:11 +08:00
|
|
|
maintainer-clean-compile maintainer-clean-libtool \
|
|
|
|
maintainer-clean-noinstLTLIBRARIES \
|
|
|
|
maintainer-clean-tags maintainer-clean-generic \
|
|
|
|
distclean-am
|
2000-12-09 09:20:32 +08:00
|
|
|
@echo "This command is intended for maintainers to use;"
|
|
|
|
@echo "it deletes files that may require special tools to rebuild."
|
|
|
|
|
2002-04-04 06:46:21 +08:00
|
|
|
maintainer-clean: maintainer-clean-recursive
|
2000-12-09 09:20:32 +08:00
|
|
|
-rm -f config.status
|
|
|
|
|
|
|
|
.PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \
|
|
|
|
clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
|
|
|
|
mostlyclean-compile distclean-compile clean-compile \
|
2001-12-14 07:50:11 +08:00
|
|
|
maintainer-clean-compile mostlyclean-libtool distclean-libtool \
|
|
|
|
clean-libtool maintainer-clean-libtool mostlyclean-noinstLTLIBRARIES \
|
|
|
|
distclean-noinstLTLIBRARIES clean-noinstLTLIBRARIES \
|
2002-04-04 06:46:21 +08:00
|
|
|
maintainer-clean-noinstLTLIBRARIES install-data-recursive \
|
|
|
|
uninstall-data-recursive install-exec-recursive \
|
|
|
|
uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
|
|
|
|
all-recursive check-recursive installcheck-recursive info-recursive \
|
|
|
|
dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
|
|
|
|
maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
|
|
|
|
distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
|
|
|
|
dvi-am dvi check check-am installcheck-am installcheck install-info-am \
|
|
|
|
install-info install-exec-am install-exec install-data-am install-data \
|
|
|
|
install-am install uninstall-am uninstall all-redirect all-am all \
|
|
|
|
installdirs-am installdirs mostlyclean-generic distclean-generic \
|
|
|
|
clean-generic maintainer-clean-generic clean mostlyclean distclean \
|
|
|
|
maintainer-clean
|
|
|
|
|
|
|
|
|
2002-08-27 02:56:09 +08:00
|
|
|
@USE_LIBTOOL_FALSE@lib.a: $(ADD_OBJS) $(LIB_OBJS) $(lib_a_OBJECTS)
|
2002-04-04 06:46:21 +08:00
|
|
|
@USE_LIBTOOL_FALSE@ rm -f $@
|
|
|
|
@USE_LIBTOOL_FALSE@ rm -rf tmp
|
|
|
|
@USE_LIBTOOL_FALSE@ mkdir tmp
|
|
|
|
@USE_LIBTOOL_FALSE@ cd tmp; \
|
|
|
|
@USE_LIBTOOL_FALSE@ for i in $(SUBLIBS); do \
|
|
|
|
@USE_LIBTOOL_FALSE@ $(AR) x ../$$i; \
|
2002-04-05 06:41:11 +08:00
|
|
|
@USE_LIBTOOL_FALSE@ done; \
|
2002-04-04 06:46:21 +08:00
|
|
|
@USE_LIBTOOL_FALSE@ $(AR) $(AR_FLAGS) ../$@ *.o
|
|
|
|
@USE_LIBTOOL_FALSE@ $(RANLIB) $@
|
|
|
|
@USE_LIBTOOL_FALSE@ rm -rf tmp
|
2000-12-09 09:20:32 +08:00
|
|
|
|
2002-08-23 09:56:05 +08:00
|
|
|
objectlist.awk.in: $(noinst_LTLIBRARIES) $(SUBLIBS)
|
2001-12-14 07:50:11 +08:00
|
|
|
-rm -f objectlist.awk.in
|
|
|
|
for i in `ls *.lo` ; \
|
2002-08-23 09:56:05 +08:00
|
|
|
do \
|
|
|
|
echo $$i `pwd`/$$i >> objectlist.awk.in ; \
|
|
|
|
done
|
|
|
|
for j in $(SUBLIBS) ; \
|
|
|
|
do \
|
|
|
|
export i=`echo $$j | sed -e 's,\(.*\)\/[^\/]*$$,\1,'`; \
|
|
|
|
if test $$i != "." && test -f $$i/objectlist.awk.in; then \
|
|
|
|
cat $$i/objectlist.awk.in >> objectlist.awk.in ; \
|
|
|
|
fi; \
|
2001-12-14 07:50:11 +08:00
|
|
|
done
|
|
|
|
|
2002-04-05 06:41:11 +08:00
|
|
|
all: crt0.o crt1.o
|
2000-12-09 09:20:32 +08:00
|
|
|
|
2002-04-04 06:46:21 +08:00
|
|
|
crt0.o: machine/crt0.o
|
|
|
|
rm -f $@
|
|
|
|
ln machine/crt0.o $@ >/dev/null 2>/dev/null || cp machine/crt0.o $@
|
|
|
|
|
|
|
|
machine/crt0.o: ; @true
|
|
|
|
|
2002-06-01 04:18:59 +08:00
|
|
|
sig.$(oext): siglist.inc
|
2000-12-09 09:20:32 +08:00
|
|
|
|
|
|
|
siglist.inc:
|
2001-12-14 07:50:11 +08:00
|
|
|
$(AWK) '/#define.SIG.*[1-9][0-9]*/ { n[$$3] = $$2 } \
|
2000-12-09 09:20:32 +08:00
|
|
|
/#define.NSIG.*[1-9][0-9]*/ { max = $$3 } \
|
|
|
|
/#define.SIGUNUSED/ \
|
|
|
|
{ for (i = 0; i <= max; i++) print "\"" n[i] "\"," }' \
|
2001-12-14 07:50:11 +08:00
|
|
|
< $(SIGNAL_H) > siglist.inc || \
|
2000-12-09 09:20:32 +08:00
|
|
|
{ rm -f siglist.inc; exit 1; }
|
|
|
|
|
|
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
|
|
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
|
|
|
.NOEXPORT:
|