| 1 | # SPDX-License-Identifier: GPL-2.0-only |
| 2 | |
| 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) |
| 8 | noinst_LTLIBRARIES = libtap.la |
| 9 | libtap_la_SOURCES = tap.c tap.h |
| 10 | libtap_la_LIBADD = ../libtestutils.la |
| 11 | dist_noinst_SCRIPTS = tap.sh |
| 12 | EXTRA_DIST = tap.sh |
| 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 |