tMakefile.regexp - 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.regexp (728B)
       ---
            1 LIB=libregexp9.a
            2 VERSION=2.0
            3 PORTPLACE=devel/libregexp9
            4 NAME=libregexp9
            5 
            6 OFILES=\
            7         regcomp.$O\
            8         regerror.$O\
            9         regexec.$O\
           10         regsub.$O\
           11         regaux.$O\
           12         rregexec.$O\
           13         rregsub.$O\
           14 
           15 HFILES=\
           16         regexp9.h\
           17         regcomp.h\
           18 
           19 all: $(LIB)
           20 
           21 install: $(LIB)
           22         mkdir -p $(PREFIX)/share/man/man3 $(PREFIX)/man/man7
           23         install -m 0644 regexp9.3 $(PREFIX)/share/man/man3/regexp9.3
           24         install -m 0644 regexp9.7 $(PREFIX)/man/man7/regexp9.7
           25         mkdir -p $(PREFIX)/lib
           26         install -m 0644 $(LIB) $(PREFIX)/lib/$(LIB)
           27         mkdir -p $(PREFIX)/include
           28         install -m 0644 regexp9.h $(PREFIX)/include/regexp9.h
           29 
           30 test: test.$O $(LIB)
           31         $(CC) -o test test.$O $(LIB) -L/usr/local/lib -lfmt -lutf
           32 
           33 test2: test2.$O $(LIB)
           34         $(CC) -o test2 test2.$O $(LIB) -L/usr/local/lib -lfmt -lutf
           35