Blob


1 LIB=libregexp9.a
2 VERSION=2.0
3 PORTPLACE=devel/libregexp9
4 NAME=libregexp9
6 OFILES=\
7 regcomp.$O\
8 regerror.$O\
9 regexec.$O\
10 regsub.$O\
11 regaux.$O\
12 rregexec.$O\
13 rregsub.$O\
14 rregaux.$O\
16 HFILES=\
17 regexp9.h\
18 regcomp.h\
20 all: $(LIB)
22 install: $(LIB)
23 test -d $(PREFIX)/man/man3 || mkdir $(PREFIX)/man/man3
24 test -d $(PREFIX)/man/man7 || mkdir $(PREFIX)/man/man7
25 install -m 0644 regexp9.3 $(PREFIX)/man/man3/regexp9.3
26 install -m 0644 regexp9.7 $(PREFIX)/man/man7/regexp9.7
27 install -m 0644 $(LIB) $(PREFIX)/lib/$(LIB)
28 install -m 0644 regexp9.h $(PREFIX)/include/regexp9.h
30 test: test.$O $(LIB)
31 $(CC) -o test test.$O $(LIB) -L/usr/local/lib -lfmt -lutf
33 test2: test2.$O $(LIB)
34 $(CC) -o test2 test2.$O $(LIB) -L/usr/local/lib -lfmt -lutf