2004-03-01 19:36:29 +00:00
|
|
|
LIB=libbio.a
|
|
|
|
VERSION=2.0
|
|
|
|
PORTPLACE=devel/libbio
|
|
|
|
NAME=libbio
|
|
|
|
|
|
|
|
OFILES=\
|
|
|
|
bbuffered.$O\
|
|
|
|
bfildes.$O\
|
|
|
|
bflush.$O\
|
|
|
|
bgetc.$O\
|
|
|
|
bgetd.$O\
|
|
|
|
bgetrune.$O\
|
|
|
|
binit.$O\
|
|
|
|
boffset.$O\
|
|
|
|
bprint.$O\
|
2005-01-14 03:45:44 +00:00
|
|
|
bvprint.$O\
|
2004-03-01 19:36:29 +00:00
|
|
|
bputc.$O\
|
|
|
|
bputrune.$O\
|
|
|
|
brdline.$O\
|
|
|
|
brdstr.$O\
|
|
|
|
bread.$O\
|
|
|
|
bseek.$O\
|
|
|
|
bwrite.$O\
|
|
|
|
|
|
|
|
HFILES=\
|
|
|
|
bio.h\
|
|
|
|
|
|
|
|
all: $(LIB)
|
|
|
|
|
|
|
|
install: $(LIB)
|
2005-01-16 21:32:01 +00:00
|
|
|
mkdir -p $(PREFIX)/man/man3
|
2004-03-01 19:36:29 +00:00
|
|
|
install -m 0644 bio.3 $(PREFIX)/man/man3/bio.3
|
2005-01-16 21:32:01 +00:00
|
|
|
mkdir -p $(PREFIX)/include
|
2004-03-01 19:36:29 +00:00
|
|
|
install -m 0644 bio.h $(PREFIX)/include
|
2005-01-16 21:32:01 +00:00
|
|
|
mkdir -p $(PREFIX)/lib
|
2004-03-01 19:36:29 +00:00
|
|
|
install -m 0644 $(LIB) $(PREFIX)/lib/$(LIB)
|
|
|
|
|
|
|
|
bcat: bcat.$O $(LIB)
|
|
|
|
$(CC) -o bcat bcat.$O $(LIB) -L/usr/local/lib -lfmt -lutf
|
|
|
|
|