Commit | Line | Data |
---|---|---|
5836cdc2 JG |
1 | AM_CPPFLAGS = -I$(srcdir) |
2 | ||
3 | noinst_PROGRAMS = prog | |
4 | prog_SOURCES = prog.c | |
5 | prog_LDADD = -llttng-ust -llttng-ust-libc-wrapper | |
6 | ||
7 | noinst_SCRIPTS = test_libc-wrapper test_libc-wrapper.py | |
8 | EXTRA_DIST = test_libc-wrapper test_libc-wrapper.py | |
c83e7ca0 DG |
9 | |
10 | all-local: | |
11 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ | |
12 | for script in $(EXTRA_DIST); do \ | |
13 | cp -f $(srcdir)/$$script $(builddir); \ | |
14 | done; \ | |
15 | fi | |
16 | ||
17 | clean-local: | |
18 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ | |
19 | for script in $(EXTRA_DIST); do \ | |
20 | rm -f $(builddir)/$$script; \ | |
21 | done; \ | |
22 | fi |