File: Makefile.am

package info (click to toggle)
cnrun 2.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 720 kB
  • sloc: cpp: 7,849; makefile: 205
file content (62 lines) | stat: -rw-r--r-- 1,375 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
ACLOCAL_AMFLAGS = -I m4
include src/Common.mk

SUBDIRS := src doc

EXTRA_DIST = \
	ChangeLog \
	autogen.sh \
	libcnrun.pc.in \
	m4/ax_lua.m4

if DO_TOOLS
man_MANS = \
	man/spike2sdf.1 \
	man/hh-latency-estimator.1
endif

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libcnrun.pc

test:
	(cd doc/examples && \
	 _cwd=`pwd`; rm -rf _test && mkdir -p _test && cd _test && \
	 ln -s ../../../src/lua-cnrun/.libs/libcnrun-lua.so cnrun.so && \
	 ln -s ../m.nml . && \
	 LUA_CPATH="./?.so;$$LUA_CPATH" \
	 LD_PRELOAD=../../../src/libcnrun/.libs/libcnrun.so.2.0.0:$$LD_PRELOAD \
	  lua ../example1.lua; e=$$?; cd $$_cwd && rm -rf _test; exit $$e)

unwanted_files = \
	m4/libtool.m4 \
	m4/ltoptions.m4 \
	m4/ltsugar.m4 \
	m4/ltversion.m4 \
	aclocal.m4 \
	compile \
	config.sub \
	ltmain.sh \
	depcomp \
	install-sh \
	autogen.sh \
	configure \
	config.guess \
	missing \
	Makefile.in \
	src/Makefile.in \
	src/*/Makefile.in \
	doc/Makefile.in \
	doc/lua-api/mdate-sh \
	doc/lua-api/texinfo.tex \
	doc/lua-api/Makefile.in \
	doc/lua-api/mdate-sh \
	doc/lua-api/texinfo.tex \
	doc/lua-api/stamp-vti \
	doc/lua-api/version.texi \
	doc/lua-api/cnrun-lua-api.info

dist-orig-xz: distdir
	-rm -f $(distdir).tar.xz
	(cd $(distdir) && rm -rf $(unwanted_files))
	tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(PACKAGE)_$(VERSION).orig.tar.xz
	$(am__post_remove_distdir)