File:  [Plan 9 NeXT] / lucent / sys / src / libgnot / mkfile
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 18:01:05 2018 UTC (8 years, 1 month ago) by root
Branches: lucent, MAIN
CVS tags: plan9, HEAD
Plan 9 NeXT

</$objtype/mkfile

LENDIAN=`{if(~ $objtype 386 || ~ $objtype hobbit) echo 1; if not echo 0}

LIB=/$objtype/lib/libgnot.a
OFILES=\
	defont0.$O\
	gaddr.$O\
	gballoc.$O\
	gbitblt.$O\
	gbitbltclip.$O\
	gpoint.$O\
	gsegment.$O\
	gsubfstring.$O\
	gsubfstrwidth.$O\
	gtexture.$O\
	bbmalloc.$O\
	tabs.$O

HFILES=/sys/include/gnot.h

</sys/src/cmd/mksyslib

CFLAGS=-w -DT$objtype -DLENDIAN'='$LENDIAN

gbitblt.$O:	bb$O.h tabs.h

testbb:V:
	$CC $CFLAGS -DT$objtype -DTEST gbitblt.c
	$LD gbitblt.$O
	rm -f gbitblt.$O

testbbc:V:
	$CC -w -DTEST gbitblt.c
	$LD gbitblt.$O tabs.$O
	rm -f gbitblt.$O

segtest:V:
	$CC $CFLAGS segtest.c
	$LD -o segtest segtest.$O
	rm -f segtest.$O

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.