libpipecolors/Makefile.am

56 lines
1.5 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
AM_CPPFLAGS = -DPC_REMOVE_INVALID
endif
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-03 00:56:32 -07:00
Makefile.in
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