summaryrefslogtreecommitdiffstats
path: root/tqt3integration/utils/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'tqt3integration/utils/Makefile.am')
-rw-r--r--tqt3integration/utils/Makefile.am19
1 files changed, 19 insertions, 0 deletions
diff --git a/tqt3integration/utils/Makefile.am b/tqt3integration/utils/Makefile.am
new file mode 100644
index 000000000..0d46eb92f
--- /dev/null
+++ b/tqt3integration/utils/Makefile.am
@@ -0,0 +1,19 @@
+noinst_PROGRAMS = gen
+gen_SOURCES = gen.cpp
+gen_LDADD = $(LIB_TDECORE)
+gen_LDFLAGS = $(all_libraries)
+INCLUDES = $(all_includes)
+CLEANFILES = qtkde_functions.cpp module_functions.cpp module_functions.h generated
+SUBDIRS = qt
+
+generate: generated
+
+generated: gen gen.txt
+ ./gen || exit 1
+ cat qt/in/qtkdeintegration_x11_0.cpp qt/in/qtkdeintegration_x11_1.cpp qtkdeintegration_x11.cpp.gen qt/in/qtkdeintegration_x11_2.cpp >qt/qtkdeintegration_x11.cpp
+ cat qt/in/qtkdeintegration_x11_p_1.h qtkdeintegration_x11_p.h.gen qt/in/qtkdeintegration_x11_p_2.h >qt/qtkdeintegration_x11_p.h
+ rm -f qtkdeintegration_x11.cpp.gen qtkdeintegration_x11_p.h.gen
+ cp -f qt/in/qt.patch qt/
+ touch generated
+
+qtkde_functions.cpp module_functions.cpp module_functions.h : generated