Plan 9 from Bell Labs’s /usr/web/sources/patch/ape-erik/mkfile.orig

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


APE=/sys/src/ape
<$APE/config

LIB=/$objtype/lib/ape/lib9.a
OFILES=errstr.$O\
	bind.$O\
	getcallerpc.$O\
	getfcr.$O\
	mount.$O\
	rendezvous.$O\
	rfork.$O\
	segattach.$O\
	segdetach.$O\
	segflush.$O\
	segfree.$O\
	setmalloctag.$O\
	sysfatal.$O\
	tokenize.$O\
	truerand.$O\
	u16.$O\
	u32.$O\
	u64.$O\
	unmount.$O\

</sys/src/cmd/mksyslib

CFLAGS=$CFLAGS -c $CFLAGS -D_POSIX_SOURCE -D_PLAN9_SOURCE

%.$O:	$objtype/%.s
	$AS $prereq

%.$O:	$objtype/%.c
	$CC $CFLAGS $prereq

sysfatal.$O: ../../../libc/9sys/sysfatal.c
	$CC $CFLAGS -I. ../../../libc/9sys/sysfatal.c

tokenize.$O: ../../../libc/port/tokenize.c
	$CC $CFLAGS -I. ../../../libc/port/tokenize.c

truerand.$O: ../../../libc/9sys/truerand.c
	$CC $CFLAGS -I. ../../../libc/9sys/truerand.c

u16.$O: ../../../libc/port/u16.c
	$CC $CFLAGS -I. ../../../libc/port/u16.c

u32.$O: ../../../libc/port/u32.c
	$CC $CFLAGS -I. ../../../libc/port/u32.c

u64.$O: ../../../libc/port/u64.c
	$CC $CFLAGS -I. ../../../libc/port/u64.c

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].