aboutsummaryrefslogtreecommitdiff
path: root/libcontextsubscriber/multithreading-tests/wait-for-subscription-only-in-thread/Makefile.am
blob: 6e80e6d87445c2ad49e513aea1ce43b6707a402a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
noinst_PROGRAMS = run-test
run_test_SOURCES = main.cpp thread.h

AM_CXXFLAGS = $(QtCore_CFLAGS)
LIBS += $(QtCore_LIBS)

# library dependency hack for seamless make in cli/
AM_CXXFLAGS += -I$(srcdir)/../../src
run_test_LDADD = ../../src/libcontextsubscriber.la
../../src/libcontextsubscriber.la:
	$(MAKE) -C ../../src libcontextsubscriber.la
.PHONY: ../../src/libcontextsubscriber.la

# moccing
nodist_run_test_SOURCES = mocs.cpp
QT_TOMOC = $(filter %.h, $(run_test_SOURCES))
include $(top_srcdir)/am/qt.am