Commit | Line | Data |
---|---|---|
9d16b343 MJ |
1 | # SPDX-License-Identifier: GPL-2.0-only |
2 | ||
2a69bf14 KS |
3 | AM_CPPFLAGS += -I$(top_srcdir)/src/ -I$(top_srcdir)/include |
4 | ||
5 | noinst_PROGRAMS = clock | |
6 | clock_SOURCES = clock.cpp | |
7 | clock_CPPFLAGS = $(AM_CPPFLAGS) | |
ffe50351 | 8 | noinst_LTLIBRARIES = libtap.la |
329e5f26 | 9 | libtap_la_SOURCES = tap.c tap.h |
2a69bf14 | 10 | libtap_la_LIBADD = ../libtestutils.la |
431387b0 JG |
11 | dist_noinst_SCRIPTS = tap.sh |
12 | EXTRA_DIST = tap.sh | |
c83e7ca0 DG |
13 | |
14 | all-local: | |
15 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ | |
16 | for script in $(EXTRA_DIST); do \ | |
17 | cp -f $(srcdir)/$$script $(builddir); \ | |
18 | done; \ | |
19 | fi | |
20 | ||
21 | clean-local: | |
22 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ | |
23 | for script in $(EXTRA_DIST); do \ | |
24 | rm -f $(builddir)/$$script; \ | |
25 | done; \ | |
26 | fi |