1
0
mirror of https://github.com/haiwen/libsearpc.git synced 2025-08-18 04:17:04 +00:00
libsearpc/Makefile.am

34 lines
635 B
Makefile
Raw Permalink Normal View History

AM_CPPFLAGS = -I$(top_srcdir)/lib
2011-04-08 12:58:15 +00:00
ACLOCAL_AMFLAGS = -I m4
2016-12-22 03:25:30 +00:00
GNU_STANDARD_FILES = README.markdown AUTHORS ChangeLog NEWS
2011-04-08 12:58:15 +00:00
2012-05-08 03:59:31 +00:00
pcfiles = libsearpc.pc
pkgconfig_DATA = $(pcfiles)
pkgconfigdir = $(libdir)/pkgconfig
2016-12-22 03:25:30 +00:00
EXTRA_DIST = $(GNU_STANDARD_FILES) LICENSE.txt
2011-04-08 12:58:15 +00:00
2012-05-08 03:59:31 +00:00
EXTRA_DIST += libsearpc.pc.in
if COMPILE_DEMO
MAKE_DEMO = demo
endif
2011-04-08 12:58:15 +00:00
2013-08-08 08:24:20 +00:00
SUBDIRS = lib pysearpc ${MAKE_DEMO} tests
install-data-local:
2013-01-12 05:51:26 +00:00
if MACOS
2019-02-27 22:52:18 +00:00
sed -i '' -e "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles)
2013-01-12 05:51:26 +00:00
else
2019-02-27 22:27:52 +00:00
if FBSD
2019-02-27 22:52:18 +00:00
sed -i '' -e "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles)
2019-02-27 22:27:52 +00:00
else
2019-02-27 22:52:18 +00:00
${SED} -i "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles)
2019-02-27 22:27:52 +00:00
endif
endif
dist-hook:
git log -1 > $(distdir)/latest_commit