libpipecolors/Makefile.am

62 lines
1.6 KiB
Makefile
Raw Normal View History

2015-07-02 20:20:18 -07:00
pkgconfig_DATA = libpipecolors.pc
2015-07-06 06:59:54 -07:00
2015-07-07 15:09:36 -07:00
AM_LDFLAGS = $(LDFLAGS)
2015-07-01 15:17:12 -07:00
ACLOCAL_AMFLAGS = -I m4 -I config
LIBTOOL_DEPS = @LIBTOOL_DEPS@
2015-07-01 09:07:33 -07:00
2015-07-01 15:17:12 -07:00
lib_LTLIBRARIES = libpipecolors.la
libpipecolors_la_SOURCES = libpipecolors.cpp
2015-07-06 06:59:54 -07:00
libpipecolors_la_LIBS = -lboost_regex
2015-07-01 15:17:12 -07:00
libpipecolors_la_CFLAGS = -fPIC -DPIC -pthread
2015-07-07 15:09:36 -07:00
if PC_REMOVE_INVALID
2015-07-14 15:24:08 -07:00
AM_CPPFLAGSINVALID = -DPC_REMOVE_INVALID
2015-07-07 15:09:36 -07:00
endif
2015-07-14 15:24:08 -07:00
if BUILD_WITH_BTREE
AM_CPPFLAGSBTREE = -DBUILD_WITH_BTREE -std=c++11
2015-07-14 15:24:08 -07:00
endif
AM_CPPFLAGS = $(AM_CPPFLAGSBTREE) $(AM_CPPFLAGSINVALID)
2015-07-07 15:09:36 -07:00
2015-07-01 15:17:12 -07:00
libpipecolors_la_LDFLAGS = -module \
-release ${PIPECOLORS_VERSION}
include_HEADERS = pipecolors.h
2015-07-07 15:09:36 -07:00
noinst_HEADERS = config.h
2015-07-02 20:20:18 -07:00
man_MANS = libpipecolors.7 pcprintf.3
docdir = $(datadir)/doc/@PACKAGE@
doc_DATA = README NEWS AUTHORS ChangeLog COPYING
MAINTAINERCLEANFILES = \
aclocal.m4 \
config.h \
config.h.in \
config.h.in~ \
config.log \
stamp-h1 \
-rf config \
-rf m4 \
configure \
2015-07-14 17:51:32 -07:00
Makefile.in \
-rf cpp-btree
2015-07-06 15:29:02 -07:00
install-man: install-man3 install-man7 install-man-gzip
uninstall-man: uninstall-man3 uninstall-man7 uninstall-man-gzip
install-man-gzip:
test -f $(mandir)/man3/pcprintf.3 && gzip -qf /usr/share/man/man3/pcprintf.3
test -f $(mandir)/man7/libpipecolors.7 && gzip -qf /usr/share/man/man7/libpipecolors.7
test -f $(mandir)/man3/pcprintf.3.gz && ln -sf /usr/share/man/man3/pcprintf.3.gz /usr/share/man/man3/pcsprintf.3.gz
uninstall-man-gzip:
test -f $(mandir)/man3/pcprintf.3.gz && rm -f /usr/share/man/man3/pcprintf.3.gz
test -h $(mandir)/man3/pcsprintf.3.gz && rm -f /usr/share/man/man3/pcsprintf.3.gz
test -f $(mandir)/man7/libpipecolors.7.gz && rm -f /usr/share/man/man7/libpipecolors.7.gz
2015-07-07 15:09:36 -07:00
libtool: $(LIBTOOL_DEPS)
$(SHELL) ./config.status libtool