summaryrefslogtreecommitdiffstats
path: root/src/utests/Makefile.am
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-03-02 18:37:22 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-03-06 12:43:06 +0900
commitbb099158e6c9fd0f1c2771cb9350d3b0a0b51a27 (patch)
tree598156ab1f71ee857c8e1f233f0292e13f36fa28 /src/utests/Makefile.am
parent7271fa27ac1881beb5326ca8c9c83471695d8487 (diff)
downloadktorrent-bb099158.tar.gz
ktorrent-bb099158.zip
Restructure source files into 'src' subfolder
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 44ef0bd5fe47a43e47aec5f7981b6c1d728dd9a8)
Diffstat (limited to 'src/utests/Makefile.am')
-rw-r--r--src/utests/Makefile.am12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/utests/Makefile.am b/src/utests/Makefile.am
new file mode 100644
index 0000000..78de5ad
--- /dev/null
+++ b/src/utests/Makefile.am
@@ -0,0 +1,12 @@
+INCLUDES = -I$(srcdir)/../libktorrent -I$(srcdir)/.. $(all_includes)
+METASOURCES = AUTO
+noinst_HEADERS = unittest.h testrunner.h upnpparsedescriptiontest.h \
+ upnpparseresponsetest.h dhtmsgparsetest.h biginttest.h rc4test.h difflehellmantest.h
+bin_PROGRAMS = ktutester
+ktutester_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor
+ktutester_SOURCES = unittest.cpp testrunner.cpp main.cpp \
+ upnpparsedescriptiontest.cpp upnpparseresponsetest.cpp dhtmsgparsetest.cpp biginttest.cpp \
+ rc4test.cpp difflehellmantest.cpp
+ktutester_LDADD = ../plugins/upnp/libktupnp.la \
+ ../libktorrent/libktorrent.la
+KDE_CXXFLAGS = $(USE_EXCEPTIONS) $(USE_RTTI)