File: Makefile.am

package info (click to toggle)
snapd-glib 1.45-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 6,184 kB
  • sloc: ansic: 22,492; cpp: 14,089; sh: 4,667; makefile: 300; xml: 220
file content (28 lines) | stat: -rw-r--r-- 775 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
include $(top_srcdir)/glib-tap.mk

test_programs = \
	test-glib

if COMPILE_SNAPD_QT
test_programs += test-qt
endif

test_glib_SOURCES = test-glib.c mock-snapd.c mock-snapd.h
test_glib_CFLAGS = -g $(WARN_CFLAGS) \
	$(SNAPD_CFLAGS) \
	-I$(top_srcdir)
test_glib_LDADD = $(top_builddir)/snapd-glib/libsnapd-glib.la $(SNAPD_LIBS)

test_qt_SOURCES = test-qt.cpp test-qt.h test-qt_moc.cpp mock-snapd.c mock-snapd.h
test_qt_CPPFLAGS = -g $(WARN_CFLAGS) \
	-fPIC \
	$(SNAPD_CFLAGS) \
	$(SNAPD_QT_CFLAGS) \
	-I$(top_srcdir)/snapd-qt
test_qt_CXXFLAGS = --std=c++11
test_qt_LDADD = $(top_builddir)/snapd-glib/libsnapd-glib.la $(top_builddir)/snapd-qt/libsnapd-qt.la $(SNAPD_LIBS) $(SNAPD_QT_LIBS)

test-qt_moc.cpp: test-qt.h
	$(AM_V_GEN) $(MOC5) $< -o $@

CLEANFILES += test-qt_moc.cpp