head     1.8;
branch   ;
access   ;
symbols  ;
locks    bin:1.8; strict;
comment  @# @;


1.8
date     93.06.25.10.21.28;  author bin;  state Exp;
branches ;
next     1.7;

1.7
date     93.06.08.09.46.37;  author bin;  state Exp;
branches ;
next     1.6;

1.6
date     93.02.25.06.12.44;  author bin;  state Exp;
branches ;
next     1.5;

1.5
date     93.02.10.17.07.25;  author bin;  state Exp;
branches ;
next     1.4;

1.4
date     92.10.01.12.14.02;  author bin;  state Exp;
branches ;
next     1.3;

1.3
date     92.08.06.14.36.06;  author bin;  state Exp;
branches ;
next     1.2;

1.2
date     92.06.30.10.29.44;  author bin;  state Exp;
branches ;
next     1.1;

1.1
date     92.04.30.14.19.56;  author bin;  state Exp;
branches ;
next     ;


desc
@@


1.8
log
@steve: added ftime()
@
text
@# /usr/src/libc/sys/i386/Makefile 6/22/93

ASFLAGS=-x

# Objects built from sources in sys/i386.
OBJ=\
	_execve.o\
	brk.o\
	cerror.o\
	dup2.o\
	fork.o\
	gtty.o\
	msgemul.o\
	pipe.o\
	sememul.o\
	setpgrp.o\
	shmemul.o\
	signal.o\
	time.o\
	uname.o\
	ustat.o\
	wait.o

# These objects are built from sources generated automatically by mkscall.
# N.B. getdents.o is not in this list for now, libc.a uses ndir version instead.
# _exit.o used to be included but now is part of crts0.o instead.
AUTOOBJ=\
	_msgsys.o\
	_pgrp.o\
	_semsys.o\
	_shmsys.o\
	_time.o\
	_utssys.o\
	access.o\
	acct.o\
	alarm.o\
	chdir.o\
	chmod.o\
	chown.o\
	chroot.o\
	chsize.o\
	close.o\
	creat.o\
	dup.o\
	fcntl.o\
	fstat.o\
	fstatfs.o\
	ftime.o\
	getegid.o\
	geteuid.o\
	getgid.o\
	getpid.o\
	getppid.o\
	getuid.o\
	ioctl.o\
	kill.o\
	link.o\
	lseek.o\
	mkdir.o\
	mknod.o\
	mount.o\
	nap.o\
	nice.o\
	open.o\
	pause.o\
	plock.o\
	poll.o\
	profil.o\
	ptrace.o\
	read.o\
	rmdir.o\
	setgid.o\
	setuid.o\
	stat.o\
	statfs.o\
	stime.o\
	sync.o\
	sysi86.o\
	times.o\
	uadmin.o\
	ulimit.o\
	umask.o\
	umount.o\
	unlink.o\
	utime.o\
	write.o

# Primary target.
SYSI386:	mkscall SYSI386AUTO $(OBJ)
	$(AR) rkus libc.a $(AUTOOBJ) $(OBJ)
	touch $@@
	: libc/sys/i386 done

# Build system call sources automatically from scall.s5.
# N.B. ASFLAGS should not include -f for these calls,
# so this invokes make rather than make -e in the subdirectory.
SYSI386AUTO:	scall.s5
	-mkdir tmp
	cd tmp; ../mkscall -f $<; make $(AUTOOBJ); mv $(AUTOOBJ) ..; cd ..
	rm -r tmp
	touch $@@
	
# Secondary targets.
# This does not need to include sources built in object directory by mkscall.
# The .s sources have explicit actions to avoid using -f in ASFLAGS.
_execve.o:	_execve.s
	$(AS) -o $@@ $<
brk.o:		brk.s
	$(AS) -o $@@ $<
cerror.o:	cerror.s
	$(AS) -o $@@ $<
dup2.o:		dup2.c
fork.o:		fork.s
	$(AS) -o $@@ $<
gtty.o:		gtty.c
msgemul.o:	msgemul.c
pipe.o:		pipe.s
	$(AS) -o $@@ $<
sememul.o:	sememul.c
setpgrp.o:	setpgrp.c
shmemul.o:	shmemul.c
signal.o:	signal.s
	$(AS) -o $@@ $<
time.o:		time.c
uname.o:	uname.c
ustat.o:	ustat.c
utsemul.o:	utsemul.c
wait.o:		wait.s
	$(AS) -o $@@ $<

# Build mkscall, which builds system call sources automatically.
mkscall:	mkscall.c
	cc $<

# end of /usr/src/libc/sys/i386/Makefile
@


1.7
log
@steve: added stub for nap()
@
text
@d1 1
a1 1
# /usr/src/libc/sys/i386/Makefile 6/4/93
d48 1
@


1.6
log
@steve: added chsize()
@
text
@d1 1
a1 1
# /usr/src/libc/sys/i386/Makefile 2/24/93
d61 1
@


1.5
log
@*** empty log message ***
@
text
@d1 1
a1 1
# /usr/src/libc/sys/i386/Makefile 2/1/93
d41 1
@


1.4
log
@*** empty log message ***
@
text
@d1 1
a1 1
# /usr/src/libc/sys/i386/Makefile 9/28/92
d3 1
a3 1
ASFLAGS=
@


1.3
log
@update by stevesf to fix problem with _utsn beinf undefined or redefined.
@
text
@d1 1
a1 1
# /usr/src/libc/sys/i386/Makefile 8/4/92
d7 1
a10 1
	execve.o\
d103 2
d110 1
a110 1
execve.o:	execve.s
a111 2
fork.o:		fork.s
	$(AS) -o $@@ $<
@


1.2
log
@*** empty log message ***
@
text
@d1 1
a1 1
# /usr/src/libc/sys/i386/Makefile 4/30/92
a21 1
	utsemul.o\
d26 1
a27 1
	_exit.o\
d86 1
a86 1
SYSI386:	SYSI386AUTO $(OBJ)
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# /usr/src/libc/sys/i386/Makefile 2/14/92
d20 2
d26 1
a47 1
	getdents.o\
d65 1
d123 2
@
