summaryrefslogtreecommitdiffstats
path: root/katomic/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'katomic/Makefile.am')
-rw-r--r--katomic/Makefile.am35
1 files changed, 35 insertions, 0 deletions
diff --git a/katomic/Makefile.am b/katomic/Makefile.am
new file mode 100644
index 00000000..4d554b33
--- /dev/null
+++ b/katomic/Makefile.am
@@ -0,0 +1,35 @@
+
+INCLUDES = -I$(top_srcdir)/libkdegames -I$(top_srcdir)/libkdegames/highscore $(all_includes)
+katomic_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+katomic_LDADD = $(LIB_KDEGAMES)
+katomic_DEPENDENCIES = $(LIB_KDEGAMES_DEP)
+METASOURCES = AUTO
+
+bin_PROGRAMS = katomic
+katomic_SOURCES = feld.cpp molek.cpp main.cpp toplevel.cpp configbox.cpp\
+ gamewidget.cpp
+
+pics_DATA = abilder.png molek.png
+picsdir = $(appdir)/pics
+
+xdg_apps_DATA = katomic.desktop
+
+EXTRA_DIST = $(pics_DATA)
+KDE_ICON = katomic
+
+appdir = $(kde_datadir)/katomic
+app_DATA = katomicui.rc
+
+messages: rc.cpp
+ : > levelnames.cpp ;\
+ for i in levels/level_*; do \
+ egrep '^Name=' $$i | sed -e 's#^Name=\(.*\)$$#i18n(\"\1\")#' >> levelnames.cpp ;\
+ done
+ $(XGETTEXT) *.cpp -o $(podir)/katomic.pot
+ rm -f levelnames.cpp
+
+install-data-local:
+ $(mkinstalldirs) $(DESTDIR)$(kde_datadir)/katomic
+ -rm -rf $(DESTDIR)$(kde_datadir)/katomic/levels
+ mkdir $(DESTDIR)$(kde_datadir)/katomic/levels
+ cp $(srcdir)/levels/level_* $(DESTDIR)$(kde_datadir)/katomic/levels/