summaryrefslogtreecommitdiffstats
path: root/kdbg/testprogs/Makefile.am
blob: ba751b232d133f9f307e0d74b5d831887cca61f9 (plain)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
## This is the example XSL and XML files for debugging with xsldbg 
EXTRA_DIST = xsldoc.xsl xsldoc.xml

# set the include path for X, qt and KDE
INCLUDES= $(all_includes)
# always compile with debugging info switched on
AM_CXXFLAGS = -g

# Disable optimization to ensure that variables are not hidden by the
# compiler
CXXFLAGS = $(patsubst -O%,,$(CXXFLAGS))

if BUILDTESTPROGS
PROGS = \
	anonstruct \
	locals \
	maths \
	nestedclass \
	qt \
	repeats \
	std \
	templates \
	testfile \
	widechar
else
PROGS =
endif

noinst_PROGRAMS = $(PROGS)

testfile_SOURCES = testfile.cpp
testfile_LDFLAGS = -g $(all_libraries) $(KDE_RPATH)
testfile_LDADD = $(LIB_QT)

locals_SOURCES = locals.cpp
locals_LDFLAGS = -g

maths_SOURCES = maths.cpp
maths_LDFLAGS = -g

qt_SOURCES = qt.cpp
qt_LDFLAGS = -g $(all_libraries) $(KDE_RPATH)
qt_LDADD = $(LIB_QT)

repeats_SOURCES = repeats.cpp
repeats_LDFLAGS = -g $(all_libraries) $(KDE_RPATH)
repeats_LDADD = $(LIB_QT)

std_SOURCES = std.cpp
std_LDFLAGS = -g

templates_SOURCES = templates.cpp
templates_LDFLAGS = -g

anonstruct_SOURCES = anonstruct.cpp
anonstruct_LDFLAGS = -g

nestedclass_SOURCES = nestedclass.cpp
nestedclass_LDFLAGS = -g

widechar_SOURCES = widechar.cpp
widechar_LDFLAGS = -g