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 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
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