summaryrefslogtreecommitdiffstats
path: root/kturtle/src/Makefile.am
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commitce599e4f9f94b4eb00c1b5edb85bce5431ab3df2 (patch)
treed3bb9f5d25a2dc09ca81adecf39621d871534297 /kturtle/src/Makefile.am
downloadtdeedu-ce599e4f9f94b4eb00c1b5edb85bce5431ab3df2.tar.gz
tdeedu-ce599e4f9f94b4eb00c1b5edb85bce5431ab3df2.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kturtle/src/Makefile.am')
-rw-r--r--kturtle/src/Makefile.am37
1 files changed, 37 insertions, 0 deletions
diff --git a/kturtle/src/Makefile.am b/kturtle/src/Makefile.am
new file mode 100644
index 00000000..7ed55e4d
--- /dev/null
+++ b/kturtle/src/Makefile.am
@@ -0,0 +1,37 @@
+# set the include path for X, qt and KDE
+INCLUDES = $(all_includes)
+
+SUBDIRS = pics
+
+# added from kjots
+AM_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+
+kturtle_LDFLAGS = $(KDE_RPATH) $(all_libraries)
+kturtle_LDADD = $(LIB_KDEUI) $(LIB_KIO) $(LIB_KDEPRINT) $(LIB_KPARTS) -lkatepartinterfaces
+
+KDE_ICON = kturtle
+
+# this is the program that gets installed. it's name is used for all
+# of the other Makefile.am variables
+bin_PROGRAMS = kturtle
+
+# the application source, library search path, and link libraries
+kturtle_SOURCES = main.cpp kturtle.cpp canvas.cpp dialogs.cpp value.cpp lexer.cpp parser.cpp executer.cpp treenode.cpp token.cpp translate.cpp settings.kcfgc
+
+# let automoc handle all the meta source files (moc)
+kturtle_METASOURCES = AUTO
+
+# these are the headers for your project
+noinst_HEADERS = kturtle.h canvas.h dialogs.cpp value.h lexer.h parser.h executer.h treenode.h token.h translate.h
+
+kde_kcfg_DATA = kturtle.kcfg
+
+# this is where the shell's XML-GUI resource file goes
+shellrcdir = $(kde_datadir)/kturtle
+shellrc_DATA = kturtleui.rc
+
+# place KTurtle in the start menu under Miscellanous
+xdg_apps_DATA = kturtle.desktop
+
+messages: rc.cpp
+ $(XGETTEXT) *.cpp -o $(podir)/kturtle.pot