summaryrefslogtreecommitdiffstats
path: root/kolourpaint/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
commit47d455dd55be855e4cc691c32f687f723d9247ee (patch)
tree52e236aaa2576bdb3840ebede26619692fed6d7d /kolourpaint/Makefile.am
downloadtdegraphics-47d455dd55be855e4cc691c32f687f723d9247ee.tar.gz
tdegraphics-47d455dd55be855e4cc691c32f687f723d9247ee.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/kdegraphics@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kolourpaint/Makefile.am')
-rw-r--r--kolourpaint/Makefile.am76
1 files changed, 76 insertions, 0 deletions
diff --git a/kolourpaint/Makefile.am b/kolourpaint/Makefile.am
new file mode 100644
index 00000000..35da2859
--- /dev/null
+++ b/kolourpaint/Makefile.am
@@ -0,0 +1,76 @@
+SUBDIRS = cursors pics pixmapfx tools views widgets
+
+bin_PROGRAMS = kolourpaint
+
+
+kolourpaint.o: kolourpaintlicense.h kolourpaintversion.h
+
+kolourpaintlicense.h : $(srcdir)/COPYING
+ echo "static const char * const kpLicenseText =" > kolourpaintlicense.h
+ cat $(srcdir)/COPYING | sed -e 's/"/\\"/g' -e 's/$$/\\n"/g' -e 's/^/ "/g' >> kolourpaintlicense.h
+ echo ";" >> kolourpaintlicense.h
+
+kolourpaintversion.h : $(srcdir)/VERSION
+ echo "static const char * const kpVersionText =" > kolourpaintversion.h
+ cat $(srcdir)/VERSION | sed -e 's/"/\\"/g' -e 's/$$/"/g' -e 's/^/ "/g' >> kolourpaintversion.h
+ echo ";" >> kolourpaintversion.h
+
+CLEANFILES = kolourpaintlicense.h kolourpaintversion.h
+
+
+kolourpaint_SOURCES = kolourpaint.cpp \
+ kpdocument.cpp \
+ kpdocumentmetainfo.cpp \
+ kpdocumentsaveoptions.cpp \
+ kpdocumentsaveoptionswidget.cpp \
+ kpview.cpp \
+ kpcolor.cpp kpcommandhistory.cpp \
+ kpmainwindow.cpp \
+ kpmainwindow_edit.cpp kpmainwindow_help.cpp \
+ kpmainwindow_image.cpp kpmainwindow_tools.cpp \
+ kpmainwindow_file.cpp kpmainwindow_settings.cpp kpmainwindow_statusbar.cpp \
+ kpmainwindow_text.cpp \
+ kpmainwindow_view.cpp \
+ kpselection.cpp kpselectiondrag.cpp kpselectiontransparency.cpp \
+ kpsinglekeytriggersaction.cpp \
+ kptemppixmap.cpp kptextstyle.cpp \
+ kpthumbnail.cpp \
+ kptool.cpp \
+ kpviewmanager.cpp \
+ kpviewscrollablecontainer.cpp \
+ kpwidgetmapper.cpp
+kolourpaint_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+kolourpaint_LDADD = $(LIB_KDEPRINT) \
+ cursors/libkolourpaintcursors.la \
+ pixmapfx/libkolourpaintpixmapfx.la \
+ tools/libkolourpainttools.la \
+ views/libkolourpaintviews.la \
+ widgets/libkolourpaintwidgets.la
+
+AM_CPPFLAGS = -I$(srcdir)/cursors -I$(srcdir)/interfaces \
+ -I$(srcdir)/pixmapfx \
+ -I$(srcdir)/tools \
+ -I$(srcdir)/views \
+ -I$(srcdir)/widgets $(all_includes)
+
+METASOURCES = AUTO
+
+rcdir = $(kde_datadir)/kolourpaint
+rc_DATA = kolourpaintui.rc
+
+xdg_apps_DATA = kolourpaint.desktop
+
+messages: rc.cpp
+ $(EXTRACTRC) *.rc *.ui \
+ cursors/*.rc cursors/*.ui \
+ pixmapfx/*.rc pixmapfx/*.ui \
+ tools/*.rc tools/*.ui \
+ widgets/*.rc widgets/*.ui \
+ >> rc.cpp
+ $(XGETTEXT) *.cpp *.h \
+ cursors/*.cpp cursors/*.h \
+ pixmapfx/*.cpp pixmapfx/*.h \
+ tools/*.cpp tools/*.h \
+ widgets/*.cpp widgets/*.h \
+ -o $(podir)/kolourpaint.pot
+