tMakefile.bio - plan9port - [fork] Plan 9 from user space
 (HTM) git clone git://src.adamsgaard.dk/plan9port
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
       tMakefile.bio (636B)
       ---
            1 LIB=libbio.a
            2 VERSION=2.0
            3 PORTPLACE=devel/libbio
            4 NAME=libbio
            5 
            6 OFILES=\
            7         bbuffered.$O\
            8         bfildes.$O\
            9         bflush.$O\
           10         bgetc.$O\
           11         bgetd.$O\
           12         bgetrune.$O\
           13         binit.$O\
           14         boffset.$O\
           15         bprint.$O\
           16         bvprint.$O\
           17         bputc.$O\
           18         bputrune.$O\
           19         brdline.$O\
           20         brdstr.$O\
           21         bread.$O\
           22         bseek.$O\
           23         bwrite.$O\
           24 
           25 HFILES=\
           26         bio.h\
           27 
           28 all: $(LIB)
           29 
           30 install: $(LIB)
           31         mkdir -p $(PREFIX)/share/man/man3
           32         install -m 0644 bio.3 $(PREFIX)/share/man/man3/bio.3
           33         mkdir -p $(PREFIX)/include
           34         install -m 0644 bio.h $(PREFIX)/include
           35         mkdir -p $(PREFIX)/lib
           36         install -m 0644 $(LIB) $(PREFIX)/lib/$(LIB)
           37 
           38 bcat: bcat.$O $(LIB)
           39         $(CC) -o bcat bcat.$O $(LIB) -L/usr/local/lib -lfmt -lutf
           40