summaryrefslogtreecommitdiffstats
path: root/qtinterface/Makefile.am
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:12:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:12:15 +0000
commit4c3c7eaa2d225ecc0c16644f1a23e848bf539164 (patch)
treee2ec7ae4bdc3be1f6ffbc999802b6db8db1ad9c3 /qtinterface/Makefile.am
parent60cbdb4674377338156be84fc3890358e44f23ba (diff)
downloadtqtinterface-4c3c7eaa2d225ecc0c16644f1a23e848bf539164.tar.gz
tqtinterface-4c3c7eaa2d225ecc0c16644f1a23e848bf539164.zip
Starting work on Qt4 interface...
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/tqtinterface@1158413 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'qtinterface/Makefile.am')
-rw-r--r--qtinterface/Makefile.am27
1 files changed, 24 insertions, 3 deletions
diff --git a/qtinterface/Makefile.am b/qtinterface/Makefile.am
index 56f4ea1..d0401a5 100644
--- a/qtinterface/Makefile.am
+++ b/qtinterface/Makefile.am
@@ -25,7 +25,7 @@ KDE_OPTIONS = qtonly
INCLUDES = $(all_includes)
-bin_PROGRAMS =
+bin_PROGRAMS =
check_PROGRAMS =
lib_LTLIBRARIES = libtqt.la
@@ -73,7 +73,11 @@ tqtextcodecfactory.cpp tqtextcodec.cpp tqtextstream.cpp tqthread.cpp tqthreadsto
tqurl.cpp tqurlinfo.cpp tqutfcodec.cpp tquuid.cpp \
tqvaluelist.cpp tqvaluestack.cpp tqvaluevector.cpp tqvariant.cpp tqvfbhdr.cpp \
tqwaitcondition.cpp tqwhatsthis.cpp tqwidgetfactory.cpp tqwidgetintdict.cpp tqwidgetlist.cpp tqwmatrix.cpp \
-tqxml.cpp
+tqxml.cpp \
+\
+private/tqucomextra_p.cpp \
+\
+tqlistiterator.cpp
libtqt_la_LIBADD = $(LIB_QT)
libtqt_la_LDFLAGS = $(KDE_RPATH) -version-info 6:0:2 -no-undefined $(all_libraries)
@@ -123,7 +127,11 @@ tqtextcodecfactory.h tqtextcodec.h tqtextstream.h tqthread.h tqthreadstorage.h t
tqurl.h tqurlinfo.h tqutfcodec.h tquuid.h \
tqvaluelist.h tqvaluestack.h tqvaluevector.h tqvariant.h tqvfbhdr.h \
tqwaitcondition.h tqwhatsthis.h tqwidgetfactory.h tqwidgetintdict.h tqwidgetlist.h tqwmatrix.h \
-tqxml.h
+tqxml.h \
+\
+private/tqucomextra_p.h \
+\
+tqlistiterator.h
noinst_HEADERS =
METASOURCES = AUTO
@@ -132,6 +140,15 @@ DOXYGEN_REFERENCES = tqt
DOXYGEN_EXCLUDE = KDE-ICE
include ../admin/Doxyfile.am
+if USE_QT3
+QT_VER_REPLACE = s/QT_VER=X/QT_VER=3/g
+QT_HVER_REPLACE = s/USE_QTX/USE_QT3/g
+endif
+if USE_QT4
+QT_VER_REPLACE = s/QT_VER=X/QT_VER=4/g
+QT_HVER_REPLACE = s/USE_QTX/USE_QT4/g
+endif
+
install-exec-local:
test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
cp -Rp "$(srcdir)/tqt-replace" "$(DESTDIR)$(bindir)/"
@@ -144,3 +161,7 @@ install-exec-local:
cp -Rp "$(srcdir)/convert_qt_tqt1" "$(DESTDIR)$(bindir)/"
cp -Rp "$(srcdir)/convert_qt_tqt2" "$(DESTDIR)$(bindir)/"
cp -Rp "$(srcdir)/convert_qt_tqt3" "$(DESTDIR)$(bindir)/"
+ sed -i '$(QT_VER_REPLACE)' "$(DESTDIR)$(bindir)/tqt-replace"
+ sed -i '$(QT_VER_REPLACE)' "$(DESTDIR)$(bindir)/tqt-replace-stream"
+ sed -i '$(QT_HVER_REPLACE)' "$(srcdir)/tqt.h"
+ cp -Rp "$(srcdir)/tqt4/" "$(DESTDIR)$(includedir)/" \ No newline at end of file