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\
15 HFILES=\
16 regexp9.h\
17 regcomp.h\
19 all: $(LIB)
21 install: $(LIB)
22 test -d $(PREFIX)/man/man3 || mkdir $(PREFIX)/man/man3
23 test -d $(PREFIX)/man/man7 || mkdir $(PREFIX)/man/man7
24 install -m 0644 regexp9.3 $(PREFIX)/man/man3/regexp9.3
25 install -m 0644 regexp9.7 $(PREFIX)/man/man7/regexp9.7
26 install -m 0644 $(LIB) $(PREFIX)/lib/$(LIB)
27 install -m 0644 regexp9.h $(PREFIX)/include/regexp9.h
29 test: test.$O $(LIB)
30 $(CC) -o test test.$O $(LIB) -L/usr/local/lib -lfmt -lutf
32 test2: test2.$O $(LIB)
33 $(CC) -o test2 test2.$O $(LIB) -L/usr/local/lib -lfmt -lutf