author | eilers <eilers> | 2003-12-11 08:35:30 (UTC) |
---|---|---|
committer | eilers <eilers> | 2003-12-11 08:35:30 (UTC) |
commit | 80609c01b79375083dd007c49eeff1721a2c6097 (patch) (side-by-side diff) | |
tree | 5af2627dd7d4d90c06abcd3cc61b996a3ee5ce9a /development/macosx | |
parent | e29d867078550b6859e3a0253e38febea8880ea1 (diff) | |
download | opie-80609c01b79375083dd007c49eeff1721a2c6097.zip opie-80609c01b79375083dd007c49eeff1721a2c6097.tar.gz opie-80609c01b79375083dd007c49eeff1721a2c6097.tar.bz2 |
config-files to compile Qt-2.3.2 and QT/E 2.3.7 was not included into
the diffs.. Therefore I added these files here, until I have an idea how
to add new files to patches..
-rw-r--r-- | development/macosx/README_MACOSX | 6 | ||||
-rw-r--r-- | development/macosx/config-files/qt-2.3.2/darwin-g++-shared (copied from development/macosx/darwin-g++-shared) | 0 | ||||
-rw-r--r-- | development/macosx/config-files/qte-2.3.7/darwin-generic-g++-shared (renamed from development/macosx/darwin-g++-shared) | 16 |
3 files changed, 14 insertions, 8 deletions
diff --git a/development/macosx/README_MACOSX b/development/macosx/README_MACOSX index 877e2f8..bc21548 100644 --- a/development/macosx/README_MACOSX +++ b/development/macosx/README_MACOSX @@ -39,10 +39,12 @@ Before compiling for MacOS-X, you need the following: The Patch for QT/E for Opie, including all other opie-patches is available in the qt-directory ($OPIEDIR/qt) and is called "qte237-all-macosx.patch". +To be able to compile, you have to copy the file from the directory "./config-files/qte-2.3.7" +into the directory "configs" within the base directory of qt/e. The Patch for QT-2.3.2 is provided in this directory and is called "qt232-X11.patch". -ATTENTION: The patch does not contain the darwin config file. Please copy the file -"darwin-g++-shared" into the directory "configs" within the qt-2.3.2 directory !! +Please copy the file "darwin-g++-shared" from the directory "./config-files/qt-2.3.2" into the directory "configs" +within the qt-2.3.2 directory !! If your buildsystem is working correctly, you should be able to build opie. diff --git a/development/macosx/darwin-g++-shared b/development/macosx/config-files/qt-2.3.2/darwin-g++-shared index 18d3b15..18d3b15 100644 --- a/development/macosx/darwin-g++-shared +++ b/development/macosx/config-files/qt-2.3.2/darwin-g++-shared diff --git a/development/macosx/darwin-g++-shared b/development/macosx/config-files/qte-2.3.7/darwin-generic-g++-shared index 18d3b15..ebeabfc 100644 --- a/development/macosx/darwin-g++-shared +++ b/development/macosx/config-files/qte-2.3.7/darwin-generic-g++-shared @@ -5,8 +5,9 @@ SYSCONF_CC = gcc DASHCROSS = # Compiling with support libraries -SYSCONF_CXXFLAGS_X11 = -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 +SYSCONF_CXXFLAGS_X11 = -I/usr/X11R6/include SYSCONF_CXXFLAGS_QT = -I$(QTDIR)/include +SYSCONF_CXXFLAGS_QTOPIA = -I$(QPEDIR)/include SYSCONF_CXXFLAGS_OPENGL = -I/usr/X11R6/include # Compiling YACC output @@ -15,16 +16,19 @@ SYSCONF_CXXFLAGS_YACC = -Wno-unused -Wno-parentheses # Linking with support libraries SYSCONF_RPATH_X11 = -L/usr/X11R6/lib SYSCONF_RPATH_QT = -L$(QTDIR)/lib +SYSCONF_RPATH_QTOPIA = -L$(QPEDIR)/lib SYSCONF_RPATH_OPENGL = -L/usr/X11R6/lib # Linking with support libraries # X11 -SYSCONF_LFLAGS_X11 = -L/usr/X11R6/lib -SYSCONF_LIBS_X11 = -lXext -lX11 -lm +SYSCONF_LFLAGS_X11 = -L/usr/X11R6/lib +SYSCONF_LIBS_X11 = # Qt, Qt+OpenGL SYSCONF_LFLAGS_QT = -L$(QTDIR)/lib -SYSCONF_LIBS_QT = -lqt$(QT_THREAD_SUFFIX) +SYSCONF_LFLAGS_QTOPIA = -L$(QPEDIR)/lib +SYSCONF_LIBS_QT = -lqte$(QT_THREAD_SUFFIX) SYSCONF_LIBS_QT_OPENGL = +SYSCONF_LIBS_QTOPIA = -lqtopia # OpenGL SYSCONF_LFLAGS_OPENGL = -L/usr/X11R6/lib SYSCONF_LIBS_OPENGL = -lGLU -lGL -lXmu @@ -58,7 +62,7 @@ SYSCONF_UIC = $(QTDIR)/bin/uic # SYSCONF_LINK_SHLIB = g++ SYSCONF_LINK_TARGET_SHARED = lib$(TARGET).dylib.$(VER_MAJ).$(VER_MIN).$(VER_PATCH) -SYSCONF_LINK_LIB_SHARED = $(SYSCONF_LINK_SHLIB) -dynamiclib \ +SYSCONF_LINK_LIB_SHARED = $(SYSCONF_LINK_SHLIB) -dynamiclib \ $(LFLAGS) -o $(SYSCONF_LINK_TARGET_SHARED) \ $(OBJECTS) $(OBJMOC) $(LIBS) && \ mv $(SYSCONF_LINK_TARGET_SHARED) $(DESTDIR); \ @@ -77,7 +81,7 @@ SYSCONF_LINK_TARGET_STATIC = lib$(TARGET).a SYSCONF_LINK_LIB_STATIC = rm -f $(DESTDIR)$(SYSCONF_LINK_TARGET_STATIC) ; \ $(SYSCONF_AR) $(DESTDIR)$(SYSCONF_LINK_TARGET_STATIC) $(OBJECTS) $(OBJMOC) # Compiling application source -SYSCONF_CXXFLAGS = -pipe -fno-exceptions -O2 -Wall -W +SYSCONF_CXXFLAGS = -pipe -fno-exceptions -DQWS -fno-rtti -fno-exceptions -DQT_NO_QWS_LINUXFB -DQT_NO_QWS_TRANSFORMED -O0 -Wall -W -DNO_DEBUG SYSCONF_CFLAGS = -pipe -fno-exceptions -O2 -Wall -W # Default link type (static linking is still be used where required) SYSCONF_LINK_LIB = $(SYSCONF_LINK_LIB_SHARED) |