summaryrefslogtreecommitdiffstats
path: root/kmousetool/kmousetool/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'kmousetool/kmousetool/Makefile.am')
-rw-r--r--kmousetool/kmousetool/Makefile.am29
1 files changed, 29 insertions, 0 deletions
diff --git a/kmousetool/kmousetool/Makefile.am b/kmousetool/kmousetool/Makefile.am
new file mode 100644
index 0000000..72c6a08
--- /dev/null
+++ b/kmousetool/kmousetool/Makefile.am
@@ -0,0 +1,29 @@
+bin_PROGRAMS = kmousetool
+
+kmousetool_SOURCES = kmousetoolui.ui mtstroke.cpp kmousetool.cpp main.cpp
+kmousetool_LDADD = -lXtst $(LIB_KDEUI) $(LIB_KDECORE) $(LIB_QT) -lXext -lX11 $(LIBSOCKET)
+
+SUBDIRS = pics
+
+EXTRA_DIST = main.cpp version.h kmousetool.cpp kmousetool.h kmousetool.desktop mtstroke.cpp mtstroke.h mousetool_tap.wav
+
+kmousetooldir = $(kde_appsdir)/Applications
+kmousetool_DATA = kmousetool.desktop
+
+sounddatadir = $(kde_datadir)/kmousetool/sounds
+sounddata_DATA = mousetool_tap.wav
+
+# set the include path for X, qt and KDE
+INCLUDES= $(all_includes)
+
+METASOURCES = AUTO
+
+# the library search path.
+kmousetool_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+
+messages: rc.cpp
+ LIST=`find . -name \*.h -o -name \*.hh -o -name \*.H -o -name \*.hxx -o -name \*.hpp -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.ecpp -o -name \*.C`; \
+ if test -n "$$LIST"; then \
+ $(XGETTEXT) $$LIST -o $(podir)/kmousetool.pot; \
+ fi
+