Mercurial > hg > MonetDB-extend
view regexp/Makefile @ 40:e70b12c15507
Updated for Oct2020 version.
author | Sjoerd Mullender <sjoerd@acm.org> |
---|---|
date | Tue, 08 Jun 2021 14:55:38 +0200 (2021-06-08) |
parents | 499debebda5d |
children | da896864dbbd |
line wrap: on
line source
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # # Copyright 2013-2018 MonetDB B.V. LIBDIR = $(shell pkgconf --variable=libdir monetdb5) CFLAGS += $(shell pkgconf --cflags monetdb5 libpcre) LDFLAGS += $(shell pkgconf --libs monetdb5 libpcre) all: lib_regexp.so lib_regexp.so: regexp.o $(CC) -fPIC -DPIC -o lib_regexp.so -shared regexp.o $(LDFLAGS) -Wl,-soname -Wl,lib_regexp.so regexp.o: regexp.c $(CC) -fPIC -DPIC $(CFLAGS) -c regexp.c doc: README.html README.pdf README.html: README.rst rst2html -d README.rst > README.html README.pdf: README.rst rst2pdf README.rst clean: rm -f README.html README.pdf *.o *.so install: lib_regexp.so cp lib_regexp.so $(DESTDIR)$(LIBDIR)/monetdb5 tar: MonetDB-regexp-1.2.tar.bz2 MonetDB-regexp-1.2.tar.bz2: README.rst Makefile regexp.c tar -cjf MonetDB-regexp-1.2.tar.bz2 --transform='s|^|MonetDB-regexp-1.2/|' README.rst Makefile regexp.c