2011-04-15 06:33:25 +00:00
|
|
|
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
|
|
|
|
|
2011-04-09 09:33:28 +00:00
|
|
|
if COMPILE_DEMO
|
2011-04-15 06:33:25 +00:00
|
|
|
MAKE_DEMO = demo
|
2011-04-09 09:33:28 +00:00
|
|
|
endif
|
2011-04-08 12:58:15 +00:00
|
|
|
|
2013-08-08 08:24:20 +00:00
|
|
|
SUBDIRS = lib pysearpc ${MAKE_DEMO} tests
|
2013-01-10 07:15:03 +00:00
|
|
|
|
|
|
|
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
|
2013-03-04 03:50:20 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
dist-hook:
|
2013-04-13 10:44:31 +00:00
|
|
|
git log -1 > $(distdir)/latest_commit
|