head	1.1;
branch	1.1.1;
access;
symbols
	LIBC_4_5_19:1.1.1.4
	LIBC_4_5_18:1.1.1.4
	LIBC_4_5_17:1.1.1.4
	LIBC_4_5_16:1.1.1.3
	LIBC_4_5_15:1.1.1.3
	LIBC_4_5_14:1.1.1.3
	LIBC_4_5_13:1.1.1.3
	LIBC_4_5_12:1.1.1.3
	LIBC_4_5_11:1.1.1.3
	LIBC_4_5_10:1.1.1.2
	LIBC_4_5_9:1.1.1.1
	LIBC_4_5_8:1.1.1.1
	LIBC_4_5_7:1.1.1.1
	LIBC:1.1.1;
locks; strict;
comment	@# @;


1.1
date	93.12.14.16.58.47;	author steinber;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	93.12.14.16.58.48;	author steinber;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	94.01.13.12.15.25;	author steinber;	state Exp;
branches;
next	1.1.1.3;

1.1.1.3
date	94.01.19.16.25.40;	author steinber;	state Exp;
branches;
next	1.1.1.4;

1.1.1.4
date	94.02.01.14.35.34;	author steinber;	state Exp;
branches;
next	;


desc
@@



1.1
log
@Initial revision
@
text
@#
# Makefile for Linux specific functions
#

include ../../Makeconfig

include ../../Makerules

LIB:=../../$(LIB)
LIBALIAS:=../../$(LIBALIAS)

JUMP_DIR:=../../jump/$(SHLIB)
JUMP_LIB=libc

ifndef OPTFLAGS
OPTFLAGS= -O6 -fomit-frame-pointer
endif

CFLAGS = $(WFLAGS) $(OPTFLAGS) $(INC) $(XCFLAGS)

INC= -I../../include -I./i386 -I../..

ifdef MATH

DIRS=i386
TARGET=

all: subdir

else	# the math library

DIRS=i386
SRC1S= __bsd_sig.c __flock.c __fpathconf.c __getdtsz.c \
	__gethstnm.c __getpgsz.c __isatty.c __pathconf.c \
	__sigblock.c __siggtmsk.c __sigpause.c __sigstmsk.c \
	__sysconf.c __tcgetatr.c __utimes.c _errlist.c _siglist.c \
	fsync.c getdnnm.c mkfifo.c morecore.c nlist.c setegid.c \
	seteuid.c signal.c
SRC2S=	__access.S __chdir.S __chmod.S __chown.S __close.S __dup.S \
	__dup2.S __execve.S __fchmod.S __fchown.S __fcntl.S \
	__fork.S __fstat.S __fstatfs.S __getegid.S __geteuid.S \
	__getgid.S __getgrps.S __getitmr.S __getpid.S __getppid.S \
	__getrusag.S __gettod.S __getuid.S __ioctl.S __kill.S \
	__link.S __lseek.S __lstat.S __mkdir.S __mknod.S __open.S \
	__pipe.S __read.S __readlink.S __rmdir.S __setgid.S \
	__setitmr.S __setregid.S __setreuid.S __setsid.S __settod.S \
	__setuid.S __sigproc.S __stat.S __statfs.S \
	__symlink.S __times.S __umask.S __uname.S __unlink.S \
	__wait4.S __write.S acct.S alarm.S chroot.S creat.S \
	fsync.S ftruncate.S getpgrp.S getrlimit.S idle.S ioperm.S \
	iopl.S libc_exit.S mount.S munmap.S nice.S pause.S reboot.S \
	rename.S setdnnm.S setgroups.S sethstnm.S setpgid.S \
	setprio.S setrlimit.S sigpending.S stime.S swapoff.S \
	swapon.S sync.S time.S truncate.S umount.S uselib.S \
	ustat.S utime.S vhangup.S vm86.S mprotect.S
SRC3S= fstatfs.c statfs.c uname.c

SRCS=$(SRC1S) $(SRC2S) $(SRC3S)
ASMS= $(SRC1S:.c=.s) $(SRC2S:.S=.s) $(SRC3S:.c=.s)
OBJS= $(SRC1S:.c=.o) $(SRC2S:.S=.o)
ALIASES=$(SRC3S:.c=.o)

all: lib libalias

endif	# the math library

include ../../Maketargets
@


1.1.1.1
log
@LIBC_4_5_7
@
text
@@


1.1.1.2
log
@LIBC_4_5_10
@
text
@d6 1
d9 11
a19 2
INC_CFLAGS= -I./$(TARGET_ARCH) -I../..
BASE_CFLAGS:= $(BASE_CFLAGS) -DLDSO_ADDR=$(LDSO_ENTRY)
d21 1
a21 1
ifeq ($(MATH),true)
d23 3
d28 1
a28 2
lib all:
	(cd $(TARGET_ARCH); $(MAKE) $@@;)
d32 1
a32 1
DIRS=$(ARCH)
d37 2
a38 10
	getdnnm.c mkfifo.c morecore.c nlist.c setegid.c \
	seteuid.c signal.c \
	__adjtime.c __load.c __ntpgttm.c __wait.c __wait3.c \
	__waitpid.c accept.c bind.c connect.c getpeernam.c \
	getsocknam.c getsockopt.c listen.c mmap.c \
	shmat.c shmctl.c shmdt.c shmget.c \
	msgctl.c msgget.c msgrcv.c msgsnd.c \
	semctl.c semget.c semop.c \
	recv.c revcfrom.c send.c sendto.c setpgrp.c setsockopt.c \
	shutdown.c socket.c socketpair.c tell.c ulimit.c
d55 2
a56 3
	ustat.S utime.S vhangup.S vm86.S mprotect.S \
	__adjtimex.S
SRC3S= fstatfs.c statfs.c uname.c __vfork.c vfork.c
d63 1
a63 1
include ../../Maketargets
d66 2
@


1.1.1.3
log
@LIBC_4_5_11
@
text
@d5 2
a6 1
TOPDIR=../..
d8 1
a8 4
include $(TOPDIR)/Makeconfig
include $(TOPDIR)/Makerules

INC_CFLAGS= -I./$(TARGET_ARCH) -I$(TOPDIR)
d13 2
d20 1
a20 1
DIRS=$(TARGET_ARCH)
d47 1
a47 1
	iopl.S mount.S munmap.S nice.S pause.S reboot.S \
d60 1
a60 1
include $(TOPDIR)/Maketargets
@


1.1.1.4
log
@LIBC_4_5_17
@
text
@d34 1
a34 2
	shutdown.c socket.c socketpair.c tell.c ulimit.c \
	set-init.c
@
