Blob


1 LIB=libbio.a
2 VERSION=2.0
3 PORTPLACE=devel/libbio
4 NAME=libbio
6 OFILES=\
7 bbuffered.$O\
8 bfildes.$O\
9 bflush.$O\
10 bfmt.$O\
11 bgetc.$O\
12 bgetd.$O\
13 bgetrune.$O\
14 binit.$O\
15 boffset.$O\
16 bprint.$O\
17 bputc.$O\
18 bputrune.$O\
19 brdline.$O\
20 brdstr.$O\
21 bread.$O\
22 bseek.$O\
23 bwrite.$O\
25 HFILES=\
26 bio.h\
28 all: $(LIB)
30 install: $(LIB)
31 test -d $(PREFIX)/man/man3 || mkdir $(PREFIX)/man/man3
32 install -m 0644 bio.3 $(PREFIX)/man/man3/bio.3
33 install -m 0644 bio.h $(PREFIX)/include
34 install -m 0644 $(LIB) $(PREFIX)/lib/$(LIB)
36 bcat: bcat.$O $(LIB)
37 $(CC) -o bcat bcat.$O $(LIB) -L/usr/local/lib -lfmt -lutf