summaryrefslogtreecommitdiffstats
path: root/kregexpeditor/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
commit2bda8f7717adf28da4af0d34fb82f63d2868c31d (patch)
tree8d927b7b47a90c4adb646482a52613f58acd6f8c /kregexpeditor/Makefile.am
downloadtdeutils-2bda8f7717adf28da4af0d34fb82f63d2868c31d.tar.gz
tdeutils-2bda8f7717adf28da4af0d34fb82f63d2868c31d.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/kdeutils@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kregexpeditor/Makefile.am')
-rw-r--r--kregexpeditor/Makefile.am65
1 files changed, 65 insertions, 0 deletions
diff --git a/kregexpeditor/Makefile.am b/kregexpeditor/Makefile.am
new file mode 100644
index 0000000..6f8a4e4
--- /dev/null
+++ b/kregexpeditor/Makefile.am
@@ -0,0 +1,65 @@
+SUBDIRS = KWidgetStreamer KMultiFormListBox picts predefined
+
+KDE_ICON=AUTO
+
+AM_CPPFLAGS = -DQT_NO_CAST_ASCII -I$(srcdir)/KWidgetStreamer -I$(srcdir)/KMultiFormListBox $(all_includes)
+
+# (useless)
+noinst_HEADERS = \
+ kregexpeditorgui.h editorwindow.h regexpwidget.h drag.h limitedcharlineedit.h regexp.h selectablelineedit.h \
+ dragaccepter.h repeatwidget.h concwidget.h textwidget.h characterswidget.h zerowidgets.h multicontainerwidget.h \
+ scrollededitorwindow.h compoundwidget.h singlecontainerwidget.h widgetfactory.h dcbutton.h charselector.h \
+ lookaheadwidget.h textregexp.h textrangeregexp.h repeatregexp.h lookaheadregexp.h concregexp.h altnregexp.h \
+ positionregexp.h dotregexp.h infopage.h kregexpeditorprivate.h compoundregexp.h pair.h triple.h myfontmetrics.h \
+ regexpbuttons.h userdefinedregexps.h auxbuttons.h verifier.h verifybuttons.h errormap.h qtregexphighlighter.h \
+ regexpconverter.h qtregexpconverter.h emacsregexpconverter.h regexphighlighter.h util.h
+
+# The library contains all the code that is shared between the module and the app
+lib_LTLIBRARIES = libkregexpeditorcommon.la
+libkregexpeditorcommon_la_SOURCES = \
+ kregexpeditorgui.cpp editorwindow.cpp regexpwidget.cpp drag.cpp concwidget.cpp zerowidgets.cpp dragaccepter.cpp \
+ repeatwidget.cpp characterswidget.cpp altnwidget.cpp limitedcharlineedit.cpp textregexp.cpp textrangeregexp.cpp \
+ concregexp.cpp altnregexp.cpp positionregexp.cpp dotregexp.cpp repeatregexp.cpp textwidget.cpp \
+ selectablelineedit.cpp multicontainerwidget.cpp scrollededitorwindow.cpp compoundwidget.cpp \
+ singlecontainerwidget.cpp widgetfactory.cpp dcbutton.cpp gen_qregexplexer.cpp gen_qregexpparser.cc \
+ charselector.cpp lookaheadregexp.cpp lookaheadwidget.cpp regexp.cpp infopage.cpp kregexpeditorprivate.cpp \
+ compoundregexp.cpp auxbuttons.cpp myfontmetrics.cpp regexpbuttons.cpp userdefinedregexps.cpp verifier.cpp \
+ verifybuttons.cpp errormap.cpp qtregexphighlighter.cpp regexpconverter.cpp qtregexpconverter.cpp \
+ emacsregexpconverter.cpp regexphighlighter.cpp util.cpp
+
+libkregexpeditorcommon_la_LDFLAGS = $(all_libraries) -version-info 1:0:0 -no-undefined
+libkregexpeditorcommon_la_LIBADD = KMultiFormListBox/libkmultiformlistbox.la \
+ KWidgetStreamer/libkwidgetstreamer.la $(LIB_KIO)
+
+METASOURCES = AUTO
+
+service_DATA = kregexpeditorgui.desktop
+servicedir = $(kde_servicesdir)
+
+#### The dynamically-loadable module (its interface is defined in kdelibs)
+kde_module_LTLIBRARIES = libkregexpeditorgui.la
+libkregexpeditorgui_la_SOURCES = kregexpeditorfactory.cpp
+libkregexpeditorgui_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module
+libkregexpeditorgui_la_LIBADD = libkregexpeditorcommon.la
+
+#### Binary
+
+bin_PROGRAMS = kregexpeditor
+kregexpeditor_SOURCES = main.cpp
+kregexpeditor_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+kregexpeditor_LDADD = libkregexpeditorcommon.la $(LIB_KIO)
+kregexpeditor_INCLUDES = $(all_includes)
+
+xdg_apps_DATA = kregexpeditor.desktop
+
+
+##### Build rules for the parser
+
+.PHONY: parser
+parser:
+ cd $(srcdir) && flex -Pqregexp -ogen_qregexplexer.cpp qregexpparser.l
+ cd $(srcdir) && bison -d -p qregexp -o gen_qregexpparser.cc qregexpparser.y
+
+messages:
+ perl extractrc-from-regexp `find . -name "*.regexp"` > predefined-regexps.cpp
+ $(XGETTEXT) *.cpp *.h */*.cpp */*.h -o $(podir)/kregexpeditor.pot