]> git.lyx.org Git - features.git/commitdiff
we desparately need a fourth buildsystem. so let's start one
authorAndré Pönitz <poenitz@gmx.net>
Fri, 10 Aug 2007 14:56:41 +0000 (14:56 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Fri, 10 Aug 2007 14:56:41 +0000 (14:56 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19399 a592a061-630c-0410-9148-cb99ea01b6c8

15 files changed:
development/cmake/ConfigureChecks.cmake
development/qmake/app/app.pro [new file with mode: 0644]
development/qmake/boost/boost.pro [new file with mode: 0644]
development/qmake/config.h.template [new file with mode: 0644]
development/qmake/config.pri [new file with mode: 0644]
development/qmake/controllers/controllers.pro [new file with mode: 0644]
development/qmake/doit [new file with mode: 0755]
development/qmake/frontends/frontends.pro [new file with mode: 0644]
development/qmake/graphics/graphics.pro [new file with mode: 0644]
development/qmake/insets/insets.pro [new file with mode: 0644]
development/qmake/lyx.pro [new file with mode: 0644]
development/qmake/mathed/mathed.pro [new file with mode: 0644]
development/qmake/qt4/qt4.pro [new file with mode: 0644]
development/qmake/src/src.pro [new file with mode: 0644]
development/qmake/support/support.pro [new file with mode: 0644]

index 144ddab075096a7a009d0f6f953b4856642eacef..7a23ddaac50ee4686e30cdce4f5fdfd287e200e3 100644 (file)
@@ -122,14 +122,14 @@ check_cxx_source_compiles(
        "
 CXX_GLOBAL_CSTD)
 
-check_cxx_source_compiles(
-       "
-       #include <iconv.h>
-       // this declaration will fail when there already exists a non const char** version which returns size_t
-       double iconv(iconv_t cd,  char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft);
-       int main() { return 0; }
-       "
-HAVE_ICONV_CONST)
+#check_cxx_source_compiles(
+#      "
+#      #include <iconv.h>
+#      // this declaration will fail when there already exists a non const char** version which returns size_t
+#      double iconv(iconv_t cd,  char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft);
+#      int main() { return 0; }
+#      "
+#HAVE_ICONV_CONST)
 
 check_cxx_source_compiles(
        "
diff --git a/development/qmake/app/app.pro b/development/qmake/app/app.pro
new file mode 100644 (file)
index 0000000..0dd0f12
--- /dev/null
@@ -0,0 +1,24 @@
+
+include(../config.pri)
+
+TEMPLATE = app
+
+DESTDIR = ../bin
+
+TARGET = lyx
+
+SOURCES += $${BUILD_BASE_SOURCE_DIR}/src/main.cpp
+
+CONFIG += link_prl
+CONFIG += debug_and_release
+
+LIBS += -L../lib -lsrc
+LIBS += -lsrc
+LIBS += -lmathed
+LIBS += -lfrontends
+LIBS += -lgraphics
+LIBS += -linsets
+LIBS += -lcontrollers
+LIBS += -lqt4
+LIBS += -lsupport
+LIBS += -lboost
diff --git a/development/qmake/boost/boost.pro b/development/qmake/boost/boost.pro
new file mode 100644 (file)
index 0000000..e256e76
--- /dev/null
@@ -0,0 +1,44 @@
+
+include(../config.pri)
+
+DEFINES += BOOST_DISABLE_THREADS=1
+DEFINES += BOOST_NO_WREGEX=1
+DEFINES += BOOST_NO_WSTRING=1
+#DEFINES += BOOST_USER_CONFIG="<config.h>"
+
+#if !defined(ENABLE_ASSERTIONS)
+#  define BOOST_DISABLE_ASSERTS 1
+#endif
+#define BOOST_ENABLE_ASSERT_HANDLER 1
+
+INC += src
+INC += boost
+
+CPP += libs/regex/src/c_regex_traits.cpp
+CPP += libs/regex/src/regex_traits_defaults.cpp
+CPP += libs/regex/src/regex_debug.cpp
+CPP += libs/regex/src/cpp_regex_traits.cpp
+CPP += libs/regex/src/winstances.cpp
+CPP += libs/regex/src/posix_api.cpp
+CPP += libs/regex/src/wide_posix_api.cpp
+CPP += libs/regex/src/w32_regex_traits.cpp
+CPP += libs/regex/src/instances.cpp
+CPP += libs/regex/src/fileiter.cpp
+CPP += libs/regex/src/regex.cpp
+CPP += libs/regex/src/regex_raw_buffer.cpp
+CPP += libs/regex/src/cregex.cpp
+CPP += libs/signals/src/named_slot_map.cpp
+CPP += libs/signals/src/slot.cpp
+CPP += libs/signals/src/trackable.cpp
+CPP += libs/signals/src/signal_base.cpp
+CPP += libs/signals/src/connection.cpp
+CPP += libs/iostreams/src/mapped_file.cpp
+CPP += libs/iostreams/src/file_descriptor.cpp
+CPP += libs/iostreams/src/zlib.cpp
+CPP += libs/filesystem/src/portability.cpp
+CPP += libs/filesystem/src/exception.cpp
+CPP += libs/filesystem/src/path.cpp
+CPP += libs/filesystem/src/operations.cpp
+
+for(FILE,CPP) { SOURCES += $${BUILD_BASE_SOURCE_DIR}/boost/$${FILE} }
+for(PATH,INC) { INCLUDEPATH += $${BUILD_BASE_SOURCE_DIR}/$${PATH} }
diff --git a/development/qmake/config.h.template b/development/qmake/config.h.template
new file mode 100644 (file)
index 0000000..9301a8a
--- /dev/null
@@ -0,0 +1,638 @@
+/* src/config.h.  Generated from config.h.in by configure.  */
+/* src/config.h.in.  Generated from configure.ac by autoheader.  */
+
+
+/* -*- C++ -*- */
+/*
+ * \file config.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * This is the compilation configuration file for LyX.
+ * It was generated by autoconfs configure.
+ * You might want to change some of the defaults if something goes wrong
+ * during the compilation.
+ */
+
+#ifndef _CONFIG_H
+#define _CONFIG_H
+
+
+/* Location of Aiksaurus.h */
+#define AIKSAURUS_H_LOCATION 
+
+/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
+   systems. This function is required for `alloca.c' support on those systems.
+   */
+/* #undef CRAY_STACKSEG_END */
+
+/* Define if your C++ compiler puts C library functions in the global
+   namespace */
+/* #undef CXX_GLOBAL_CSTD */
+
+/* Define to 1 if using `alloca.c'. */
+/* #undef C_ALLOCA */
+
+/* Define if you are building a development version of LyX */
+#define DEVEL_VERSION 1
+
+/* Define if you want assertions to be enabled in the code */
+#define ENABLE_ASSERTIONS 1
+
+/* Define to 1 if translation of program messages to the user's native
+   language is requested. */
+#define ENABLE_NLS 1
+
+/* Define to 1 if you have `alloca', as a function or macro. */
+#define HAVE_ALLOCA 1
+
+/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
+   */
+#define HAVE_ALLOCA_H 1
+
+/* Define to 1 if you have the <argz.h> header file. */
+#define HAVE_ARGZ_H 1
+
+/* Define to 1 if you have the <aspell/aspell.h> header file. */
+/* #undef HAVE_ASPELL_ASPELL_H */
+
+/* Define to 1 if you have the <aspell.h> header file. */
+/* #undef HAVE_ASPELL_H */
+
+/* Define to 1 if you have the `asprintf' function. */
+#define HAVE_ASPRINTF 1
+
+/* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the
+   CoreFoundation framework. */
+/* #undef HAVE_CFLOCALECOPYCURRENT */
+
+/* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in
+   the CoreFoundation framework. */
+/* #undef HAVE_CFPREFERENCESCOPYAPPVALUE */
+
+/* Define to 1 if you have the `chmod' function. */
+#define HAVE_CHMOD 1
+
+/* Define to 1 if you have the `close' function. */
+#define HAVE_CLOSE 1
+
+/* Define if the GNU dcgettext() function is already present or preinstalled.
+   */
+#define HAVE_DCGETTEXT 1
+
+/* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you
+   don't. */
+#define HAVE_DECL_FEOF_UNLOCKED 1
+
+/* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if
+   you don't. */
+#define HAVE_DECL_FGETS_UNLOCKED 0
+
+/* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you
+   don't. */
+#define HAVE_DECL_GETC_UNLOCKED 1
+
+/* Define if you have the prototype for function `istreambuf_iterator' */
+#define HAVE_DECL_ISTREAMBUF_ITERATOR 1
+
+/* Define if you have the prototype for function `mkstemp' */
+#define HAVE_DECL_MKSTEMP 1
+
+/* Define to 1 if you have the declaration of `_snprintf', and to 0 if you
+   don't. */
+#define HAVE_DECL__SNPRINTF 0
+
+/* Define to 1 if you have the declaration of `_snwprintf', and to 0 if you
+   don't. */
+#define HAVE_DECL__SNWPRINTF 0
+
+/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
+   */
+#define HAVE_DIRENT_H 1
+
+/* Define to 1 if you have the <dlfcn.h> header file. */
+#define HAVE_DLFCN_H 1
+
+/* Define to 1 if you have the `fcntl' function. */
+#define HAVE_FCNTL 1
+
+/* Define to 1 if you have the `fork' function. */
+#define HAVE_FORK 1
+
+/* Define to 1 if you have the `fwprintf' function. */
+#define HAVE_FWPRINTF 1
+
+/* Define to 1 if you have the `getcwd' function. */
+#define HAVE_GETCWD 1
+
+/* Define to 1 if you have the `getegid' function. */
+#define HAVE_GETEGID 1
+
+/* Define to 1 if you have the `geteuid' function. */
+#define HAVE_GETEUID 1
+
+/* Define to 1 if you have the `getgid' function. */
+#define HAVE_GETGID 1
+
+/* Define to 1 if you have the `getpagesize' function. */
+#define HAVE_GETPAGESIZE 1
+
+/* Define to 1 if you have the `getpid' function. */
+#define HAVE_GETPID 1
+
+/* Define if the GNU gettext() function is already present or preinstalled. */
+#define HAVE_GETTEXT 1
+
+/* Define to 1 if you have the `getuid' function. */
+#define HAVE_GETUID 1
+
+/* Define if you have the iconv() function. */
+#define HAVE_ICONV 1
+
+/* Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>. */
+#define HAVE_INTMAX_T 1
+
+/* Define if <inttypes.h> exists and doesn't clash with <sys/types.h>. */
+#define HAVE_INTTYPES_H 1
+
+/* Define if <inttypes.h> exists, doesn't clash with <sys/types.h>, and
+   declares uintmax_t. */
+#define HAVE_INTTYPES_H_WITH_UINTMAX 1
+
+/* Define to 1 if you have the <ios> header file. */
+#define HAVE_IOS 1
+
+/* Define to 1 if you have the <io.h> header file. */
+/* #undef HAVE_IO_H */
+
+/* Define to 1 if you have the <istream> header file. */
+#define HAVE_ISTREAM 1
+
+/* Define this if you have the kpsewhich program working on your system. */
+#define HAVE_KPSEWHICH 1
+
+/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
+#define HAVE_LANGINFO_CODESET 1
+
+/* Define if your <locale.h> file defines LC_MESSAGES. */
+#define HAVE_LC_MESSAGES 1
+
+/* Define this if you have the AikSaurus library */
+/* #undef HAVE_LIBAIKSAURUS */
+
+/* Define to 1 if you have the `gdi32' library (-lgdi32). */
+/* #undef HAVE_LIBGDI32 */
+
+/* Define to 1 if you have the `m' library (-lm). */
+#define HAVE_LIBM 1
+
+/* Define to 1 if you have the <limits> header file. */
+#define HAVE_LIMITS 1
+
+/* Define to 1 if you have the <limits.h> header file. */
+#define HAVE_LIMITS_H 1
+
+/* Define to 1 if you have the <locale> header file. */
+#define HAVE_LOCALE 1
+
+/* Define to 1 if you have the <locale.h> header file. */
+#define HAVE_LOCALE_H 1
+
+/* Define if you have the 'long double' type. */
+#define HAVE_LONG_DOUBLE 1
+
+/* Define if you have the 'long long' type. */
+#define HAVE_LONG_LONG 1
+
+/* Define to 1 if you have the `lstat' function. */
+#define HAVE_LSTAT 1
+
+/* Define to 1 if you have the <malloc.h> header file. */
+#define HAVE_MALLOC_H 1
+
+/* Define to 1 if you have the <memory.h> header file. */
+#define HAVE_MEMORY_H 1
+
+/* Define to 1 if you have the `mempcpy' function. */
+#define HAVE_MEMPCPY 1
+
+/* Define to 1 if you have the `mkdir' function. */
+#define HAVE_MKDIR 1
+
+/* Define to 1 if you have the `mkfifo' function. */
+#define HAVE_MKFIFO 1
+
+/* Define to 1 if you have the `mkstemp' function. */
+#define HAVE_MKSTEMP 1
+
+/* Define to 1 if you have the `mktemp' function. */
+#define HAVE_MKTEMP 1
+
+/* Define to 1 if you have a working `mmap' system call. */
+#define HAVE_MMAP 1
+
+/* Define this to 1 if your compiler supports the mode_t type. */
+#define HAVE_MODE_T 1
+
+/* Define to 1 if you have the `munmap' function. */
+#define HAVE_MUNMAP 1
+
+/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
+/* #undef HAVE_NDIR_H */
+
+/* Define to 1 if you have the <NewAPIs.h> header file. */
+/* #undef HAVE_NEWAPIS_H */
+
+/* Define to 1 if you have the <nl_types.h> header file. */
+#define HAVE_NL_TYPES_H 1
+
+/* Define to 1 if you have the `open' function. */
+#define HAVE_OPEN 1
+
+/* Define to 1 if you have the <ostream> header file. */
+#define HAVE_OSTREAM 1
+
+/* Define to 1 if you have the `pclose' function. */
+#define HAVE_PCLOSE 1
+
+/* Define to 1 if you have the `popen' function. */
+#define HAVE_POPEN 1
+
+/* Define if your printf() function supports format strings with positions. */
+#define HAVE_POSIX_PRINTF 1
+
+/* Define to 1 if you have the <process.h> header file. */
+/* #undef HAVE_PROCESS_H */
+
+/* Define to 1 if you have the <pspell/pspell.h> header file. */
+/* #undef HAVE_PSPELL_PSPELL_H */
+
+/* Define to 1 if you have the `putenv' function. */
+#define HAVE_PUTENV 1
+
+/* Define to 1 if you have the `readlink' function. */
+#define HAVE_READLINK 1
+
+/* Define to 1 if you have the `setenv' function. */
+#define HAVE_SETENV 1
+
+/* Define to 1 if you have the `setlocale' function. */
+#define HAVE_SETLOCALE 1
+
+/* Define to 1 if you have the `snprintf' function. */
+#define HAVE_SNPRINTF 1
+
+/* Define to 1 if you have the <sstream> header file. */
+#define HAVE_SSTREAM 1
+
+/* Define to 1 if you have the <stddef.h> header file. */
+#define HAVE_STDDEF_H 1
+
+/* Define to 1 if you have the <stdint.h> header file. */
+#define HAVE_STDINT_H 1
+
+/* Define if <stdint.h> exists, doesn't clash with <sys/types.h>, and declares
+   uintmax_t. */
+#define HAVE_STDINT_H_WITH_UINTMAX 1
+
+/* Define to 1 if you have the <stdlib.h> header file. */
+#define HAVE_STDLIB_H 1
+
+/* Define if you have a conforming std::count template, otherwise HP version
+   of count template is assumed. */
+#define HAVE_STD_COUNT 1
+
+/* Define to 1 if you have the `stpcpy' function. */
+#define HAVE_STPCPY 1
+
+/* Define to 1 if you have the `strcasecmp' function. */
+#define HAVE_STRCASECMP 1
+
+/* Define to 1 if you have the `strdup' function. */
+#define HAVE_STRDUP 1
+
+/* Define to 1 if you have the `strerror' function. */
+#define HAVE_STRERROR 1
+
+/* Define to 1 if you have the <strings.h> header file. */
+#define HAVE_STRINGS_H 1
+
+/* Define to 1 if you have the <string.h> header file. */
+#define HAVE_STRING_H 1
+
+/* Define to 1 if you have the `strtoul' function. */
+#define HAVE_STRTOUL 1
+
+/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
+   */
+/* #undef HAVE_SYS_DIR_H */
+
+/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
+   */
+/* #undef HAVE_SYS_NDIR_H */
+
+/* Define to 1 if you have the <sys/param.h> header file. */
+#define HAVE_SYS_PARAM_H 1
+
+/* Define to 1 if you have the <sys/select.h> header file. */
+#define HAVE_SYS_SELECT_H 1
+
+/* Define to 1 if you have the <sys/socket.h> header file. */
+#define HAVE_SYS_SOCKET_H 1
+
+/* Define to 1 if you have the <sys/stat.h> header file. */
+#define HAVE_SYS_STAT_H 1
+
+/* Define to 1 if you have the <sys/time.h> header file. */
+#define HAVE_SYS_TIME_H 1
+
+/* Define to 1 if you have the <sys/types.h> header file. */
+#define HAVE_SYS_TYPES_H 1
+
+/* Define to 1 if you have the <sys/utime.h> header file. */
+/* #undef HAVE_SYS_UTIME_H */
+
+/* Define to 1 if you have the `tsearch' function. */
+#define HAVE_TSEARCH 1
+
+/* Define if you have the 'uintmax_t' type in <stdint.h> or <inttypes.h>. */
+#define HAVE_UINTMAX_T 1
+
+/* Define to 1 if you have the <unistd.h> header file. */
+#define HAVE_UNISTD_H 1
+
+/* Define if you have the 'unsigned long long' type. */
+#define HAVE_UNSIGNED_LONG_LONG 1
+
+/* Define to 1 if you have the <utime.h> header file. */
+#define HAVE_UTIME_H 1
+
+/* Define if you have the 'wchar_t' type. */
+#define HAVE_WCHAR_T 1
+
+/* Define to 1 if you have the `wcslen' function. */
+#define HAVE_WCSLEN 1
+
+/* Define if you have the 'wint_t' type. */
+#define HAVE_WINT_T 1
+
+/* Define to 1 if you have the <zlib.h> header file. */
+#define HAVE_ZLIB_H 1
+
+/* Define to 1 if you have the `_close' function. */
+/* #undef HAVE__CLOSE */
+
+/* Define to 1 if you have the `_getpid' function. */
+/* #undef HAVE__GETPID */
+
+/* Define to 1 if you have the `_mkdir' function. */
+/* #undef HAVE__MKDIR */
+
+/* Define to 1 if you have the `_open' function. */
+/* #undef HAVE__OPEN */
+
+/* Define to 1 if you have the `_pclose' function. */
+/* #undef HAVE__PCLOSE */
+
+/* Define to 1 if you have the `_popen' function. */
+/* #undef HAVE__POPEN */
+
+/* Define to 1 if you have the `__argz_count' function. */
+#define HAVE___ARGZ_COUNT 1
+
+/* Define to 1 if you have the `__argz_next' function. */
+#define HAVE___ARGZ_NEXT 1
+
+/* Define to 1 if you have the `__argz_stringify' function. */
+#define HAVE___ARGZ_STRINGIFY 1
+
+/* Define to 1 if you have the `__fsetlocking' function. */
+#define HAVE___FSETLOCKING 1
+
+/* Define as const if the declaration of iconv() needs const. */
+#define ICONV_CONST 
+
+/* Define if integer division by zero raises signal SIGFPE. */
+#define INTDIV0_RAISES_SIGFPE 1
+
+/* Define to 1 if `major', `minor', and `makedev' are declared in <mkdev.h>.
+   */
+/* #undef MAJOR_IN_MKDEV */
+
+/* Define to 1 if `major', `minor', and `makedev' are declared in
+   <sysmacros.h>. */
+/* #undef MAJOR_IN_SYSMACROS */
+
+/* Define if mkdir takes only one argument. */
+/* #undef MKDIR_TAKES_ONE_ARG */
+
+/* Define if you have modern standard-compliant STL streams */
+#define MODERN_STL_STREAMS 1
+
+/* Name of package */
+#define PACKAGE "lyx"
+
+/* Define to the address where bug reports for this package should be sent. */
+#define PACKAGE_BUGREPORT "lyx-devel@lists.lyx.org"
+
+/* Define to the full name of this package. */
+#define PACKAGE_NAME "LyX"
+
+/* Define to the full name and version of this package. */
+#define PACKAGE_STRING "LyX 1.6.0svn"
+
+/* Define to the one symbol short name of this package. */
+#define PACKAGE_TARNAME "lyx"
+
+/* Define to the version of this package. */
+#define PACKAGE_VERSION "1.6.0svn"
+
+/* Define if <inttypes.h> exists and defines unusable PRI* macros. */
+/* #undef PRI_MACROS_BROKEN */
+
+/* Define as the return type of signal handlers (`int' or `void'). */
+#define RETSIGTYPE void
+
+/* Define to the type of arg 1 for `select'. */
+#define SELECT_TYPE_ARG1 int
+
+/* Define to the type of args 2, 3 and 4 for `select'. */
+#define SELECT_TYPE_ARG234 (fd_set *)
+
+/* Define to the type of arg 5 for `select'. */
+#define SELECT_TYPE_ARG5 (struct timeval *)
+
+/* The size of `wchar_t', as computed by sizeof. */
+#define SIZEOF_WCHAR_T 4
+
+/* Define as the maximum value of type 'size_t', if the system doesn't define
+   it. */
+/* #undef SIZE_MAX */
+
+/* If using the C implementation of alloca, define if you know the
+   direction of stack growth for your system; otherwise it will be
+   automatically deduced at runtime.
+       STACK_DIRECTION > 0 => grows toward higher addresses
+       STACK_DIRECTION < 0 => grows toward lower addresses
+       STACK_DIRECTION = 0 => direction of growth unknown */
+/* #undef STACK_DIRECTION */
+
+/* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
+/* #undef STAT_MACROS_BROKEN */
+
+/* Define to 1 if you have the ANSI C header files. */
+#define STDC_HEADERS 1
+
+/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
+#define TIME_WITH_SYS_TIME 1
+
+/* Define as 1 to use the aspell library */
+/* #undef USE_ASPELL */
+
+/* Define as 1 to use an external ispell process to check spelling */
+#define USE_ISPELL 1
+
+/* Define to 1 if LyX should use a MacOS X application bundle file layout */
+/* #undef USE_MACOSX_PACKAGING */
+
+/* Define to 1 if LyX should use a POSIX-style file layout */
+#define USE_POSIX_PACKAGING 1
+
+/* Define as 1 to use the pspell library */
+/* #undef USE_PSPELL */
+
+/* Define to 1 if LyX should use a Windows-style file layout */
+/* #undef USE_WINDOWS_PACKAGING */
+
+/* Define this if you want to see the warning directives put here and there by
+   the developpers to get attention */
+#define WITH_WARNINGS 1
+
+/* Define to 1 if your processor stores words with the most significant byte
+   first (like Motorola and SPARC, unlike Intel and VAX). */
+/* #undef WORDS_BIGENDIAN */
+
+/* Define to 1 if the X Window System is missing or not being used. */
+/* #undef X_DISPLAY_MISSING */
+
+/* Define to 1 if on AIX 3.
+   System headers sometimes define this.
+   We just want to avoid a redefinition error message.  */
+#ifndef _ALL_SOURCE
+/* # undef _ALL_SOURCE */
+#endif
+
+/* libstdc++ concept checking */
+/* #undef _GLIBCPP_CONCEPT_CHECKS */
+
+/* libstdc++ concept checking */
+#define _GLIBCXX_CONCEPT_CHECKS 1
+
+/* libstdc++ debug mode */
+/* #undef _GLIBCXX_DEBUG */
+
+/* libstdc++ pedantic debug mode */
+/* #undef _GLIBCXX_DEBUG_PEDANTIC */
+
+/* Define to empty if `const' does not conform to ANSI C. */
+/* #undef const */
+
+/* Define to nothing if your compiler does not understand the 'explicit'
+   directive */
+/* #undef explicit */
+
+/* Define to `int' if <sys/types.h> doesn't define. */
+/* #undef gid_t */
+
+/* Define to `__inline__' or `__inline' if that's what the C compiler
+   calls it, or to nothing if 'inline' is not supported under any name.  */
+#ifndef __cplusplus
+/* #undef inline */
+#endif
+
+/* Define to `long int' if <sys/types.h> does not define. */
+/* #undef off_t */
+
+/* Define to `int' if <sys/types.h> does not define. */
+/* #undef pid_t */
+
+/* Define as the type of the result of subtracting two pointers, if the system
+   doesn't define it. */
+/* #undef ptrdiff_t */
+
+/* Define to empty if the C compiler doesn't support this keyword. */
+/* #undef signed */
+
+/* Define to `unsigned int' if <sys/types.h> does not define. */
+/* #undef size_t */
+
+/* Define to `int' if <sys/types.h> doesn't define. */
+/* #undef uid_t */
+
+/* Define to unsigned long or unsigned long long if <stdint.h> and
+   <inttypes.h> don't define. */
+/* #undef uintmax_t */
+
+
+/************************************************************
+ ** You should not need to change anything beyond this point */
+
+#ifndef HAVE_STRERROR
+#if defined(__cplusplus)
+extern "C"
+#endif
+char * strerror(int n);
+#endif
+
+#ifdef HAVE_MKSTEMP
+#ifndef HAVE_DECL_MKSTEMP
+#if defined(__cplusplus)
+extern "C"
+#endif
+int mkstemp(char*);
+#endif
+#endif
+
+#if defined(HAVE_OSTREAM) && defined(HAVE_LOCALE) && defined(HAVE_SSTREAM)
+#  define USE_BOOST_FORMAT 1
+#else
+#  define USE_BOOST_FORMAT 0
+#endif
+
+#define BOOST_USER_CONFIG <config.h>
+
+#if !defined(ENABLE_ASSERTIONS)
+#  define BOOST_DISABLE_ASSERTS 1
+#endif
+#define BOOST_ENABLE_ASSERT_HANDLER 1
+
+#define BOOST_DISABLE_THREADS 1
+#define BOOST_NO_WREGEX 1
+#define BOOST_NO_WSTRING 1
+
+#ifdef __CYGWIN__
+#  define BOOST_POSIX 1
+#  define BOOST_POSIX_API 1
+#  define BOOST_POSIX_PATH 1
+#endif
+
+#if defined(HAVE_NEWAPIS_H)
+#  define WANT_GETFILEATTRIBUTESEX_WRAPPER 1
+#endif
+
+/*
+ * the FreeBSD libc uses UCS4, but libstdc++ has no proper wchar_t
+ * support compiled in:
+ * http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.html#3_9
+ * And we are not interested at all what libc
+ * does: What we need is a 32bit wide wchar_t, and a libstdc++ that
+ * has the needed wchar_t support and uses UCS4. Whether it
+ * implements this with the help of libc, or whether it has own code
+ * does not matter for us, because we don't use libc directly (Georg)
+*/
+#if defined(HAVE_WCHAR_T) && SIZEOF_WCHAR_T == 4 && !defined(__FreeBSD__) && !defined(__FreeBSD_kernel__)
+#  define USE_WCHAR_T
+#endif
+
+#endif
+
diff --git a/development/qmake/config.pri b/development/qmake/config.pri
new file mode 100644 (file)
index 0000000..f317371
--- /dev/null
@@ -0,0 +1,16 @@
+
+TEMPLATE = lib
+
+CONFIG += debug_and_release
+CONFIG += create_prl
+
+DESTDIR = ../lib
+
+BUILD_BASE_SOURCE_DIR = /suse/usr/src/lyx/trunk
+BUILD_BASE_TARGET_DIR = /suse/usr/src/lyx/qmake
+
+#message(BUILD_BASE_SOURCE_DIR: $${BUILD_BASE_SOURCE_DIR})
+#message(BUILD_BASE_TARGET_DIR: $${BUILD_BASE_TARGET_DIR})
+
+# for <config.h>
+INCLUDEPATH += $${BUILD_BASE_TARGET_DIR}/src
diff --git a/development/qmake/controllers/controllers.pro b/development/qmake/controllers/controllers.pro
new file mode 100644 (file)
index 0000000..ffe472c
--- /dev/null
@@ -0,0 +1,96 @@
+
+include(../config.pri)
+
+INC += boost
+INC += src
+
+HPP += BCView.h
+HPP += ButtonController.h
+HPP += ButtonPolicy.h
+HPP += ControlAboutlyx.h
+HPP += ControlBibtex.h
+HPP += ControlBox.h
+HPP += ControlBranch.h
+HPP += ControlChanges.h
+HPP += ControlCharacter.h
+HPP += ControlCitation.h
+HPP += ControlCommand.h
+HPP += ControlCommandBuffer.h
+HPP += ControlDocument.h
+HPP += ControlERT.h
+HPP += ControlErrorList.h
+HPP += ControlExternal.h
+HPP += ControlFloat.h
+HPP += ControlGraphics.h
+HPP += ControlInclude.h
+HPP += ControlListings.h
+HPP += ControlLog.h
+HPP += ControlMath.h
+HPP += ControlNote.h
+HPP += ControlParagraph.h
+HPP += ControlPrefs.h
+HPP += ControlPrint.h
+HPP += ControlRef.h
+HPP += ControlSearch.h
+HPP += ControlSendto.h
+HPP += ControlShowFile.h
+HPP += ControlSpellchecker.h
+HPP += ControlTabular.h
+HPP += ControlTabularCreate.h
+HPP += ControlTexinfo.h
+HPP += ControlThesaurus.h
+HPP += ControlToc.h
+HPP += ControlVSpace.h
+HPP += ControlViewSource.h
+HPP += ControlWrap.h
+HPP += Dialog.h
+HPP += Kernel.h
+HPP += frontend_helpers.h
+
+CPP += BCView.cpp
+CPP += ButtonController.cpp
+CPP += ButtonPolicy.cpp
+CPP += ControlAboutlyx.cpp
+CPP += ControlBibtex.cpp
+CPP += ControlBox.cpp
+CPP += ControlBranch.cpp
+CPP += ControlChanges.cpp
+CPP += ControlCharacter.cpp
+CPP += ControlCitation.cpp
+CPP += ControlCommand.cpp
+CPP += ControlCommandBuffer.cpp
+CPP += ControlDocument.cpp
+CPP += ControlERT.cpp
+CPP += ControlErrorList.cpp
+CPP += ControlExternal.cpp
+CPP += ControlFloat.cpp
+CPP += ControlGraphics.cpp
+CPP += ControlInclude.cpp
+CPP += ControlListings.cpp
+CPP += ControlLog.cpp
+CPP += ControlMath.cpp
+CPP += ControlNote.cpp
+CPP += ControlParagraph.cpp
+CPP += ControlPrefs.cpp
+CPP += ControlPrint.cpp
+CPP += ControlRef.cpp
+CPP += ControlSearch.cpp
+CPP += ControlSendto.cpp
+CPP += ControlShowFile.cpp
+CPP += ControlSpellchecker.cpp
+CPP += ControlTabular.cpp
+CPP += ControlTabularCreate.cpp
+CPP += ControlTexinfo.cpp
+CPP += ControlThesaurus.cpp
+CPP += ControlToc.cpp
+CPP += ControlVSpace.cpp
+CPP += ControlViewSource.cpp
+CPP += ControlWrap.cpp
+CPP += Dialog.cpp
+CPP += Kernel.cpp
+CPP += frontend_helpers.cpp
+
+BASE = $${BUILD_BASE_SOURCE_DIR}/src/frontends/controllers
+for(FILE,CPP) { SOURCES += $${BASE}/$${FILE} }
+for(FILE,HPP) { HEADERS += $${BASE}/$${FILE} }
+for(PATH,INC) { INCLUDEPATH += $${BUILD_BASE_SOURCE_DIR}/$${PATH} }
diff --git a/development/qmake/doit b/development/qmake/doit
new file mode 100755 (executable)
index 0000000..e6d3a60
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+SOURCE_DIR=`pwd`
+TARGET_DIR=`dirname $SOURCE_DIR/$0`
+echo $SOURCE_DIR $TARGET_DIR
+#qmake -r ../trunk/development/qmake/lyx.pro 
diff --git a/development/qmake/frontends/frontends.pro b/development/qmake/frontends/frontends.pro
new file mode 100644 (file)
index 0000000..31d95c2
--- /dev/null
@@ -0,0 +1,43 @@
+
+include(../config.pri)
+
+DEFINES += QT_NO_KEYWORDS
+
+INC += boost
+INC += src
+INC += src/support
+
+HPP += Alert_pimpl.h
+HPP += Application.h
+HPP += Clipboard.h
+HPP += Dialogs.h
+HPP += FileDialog.h
+HPP += FontLoader.h
+HPP += FontMetrics.h
+HPP += Gui.h
+HPP += KeySymbol.h
+HPP += LyXView.h
+HPP += Menubar.h
+HPP += NoGuiFontLoader.h
+HPP += NoGuiFontMetrics.h
+HPP += Painter.h
+HPP += Selection.h
+HPP += Timeout.h
+HPP += Toolbars.h
+HPP += WorkArea.h
+HPP += alert.h
+HPP += key_state.h
+HPP += mouse_state.h
+
+CPP += Application.cpp
+CPP += Dialogs.cpp
+CPP += LyXView.cpp
+CPP += Painter.cpp
+CPP += Timeout.cpp
+CPP += Toolbars.cpp
+CPP += WorkArea.cpp
+CPP += alert.cpp
+
+for(FILE,CPP) { SOURCES += $${BUILD_BASE_SOURCE_DIR}/src/frontends/$${FILE} }
+for(FILE,HPP) { HEADERS += $${BUILD_BASE_SOURCE_DIR}/src/frontends/$${FILE} }
+for(PATH,INC) { INCLUDEPATH += $${BUILD_BASE_SOURCE_DIR}/$${PATH} }
diff --git a/development/qmake/graphics/graphics.pro b/development/qmake/graphics/graphics.pro
new file mode 100644 (file)
index 0000000..980b992
--- /dev/null
@@ -0,0 +1,35 @@
+
+include(../config.pri)
+
+QT =
+
+INC += boost
+INC += src
+
+HPP += GraphicsCache.h
+HPP += GraphicsCacheItem.h
+HPP += GraphicsConverter.h
+HPP += GraphicsImage.h
+HPP += GraphicsLoader.h
+HPP += GraphicsParams.h
+HPP += GraphicsTypes.h
+HPP += LoaderQueue.h
+HPP += PreviewImage.h
+HPP += PreviewLoader.h
+HPP += Previews.h
+
+CPP += GraphicsCache.cpp
+CPP += GraphicsCacheItem.cpp
+CPP += GraphicsConverter.cpp
+CPP += GraphicsImage.cpp
+CPP += GraphicsLoader.cpp
+CPP += GraphicsParams.cpp
+CPP += GraphicsTypes.cpp
+CPP += LoaderQueue.cpp
+CPP += PreviewImage.cpp
+CPP += PreviewLoader.cpp
+CPP += Previews.cpp
+
+for(FILE,CPP) { SOURCES += $${BUILD_BASE_SOURCE_DIR}/src/graphics/$${FILE} }
+for(FILE,HPP) { HEADERS += $${BUILD_BASE_SOURCE_DIR}/src/graphics/$${FILE} }
+for(PATH,INC) { INCLUDEPATH += $${BUILD_BASE_SOURCE_DIR}/$${PATH} }
diff --git a/development/qmake/insets/insets.pro b/development/qmake/insets/insets.pro
new file mode 100644 (file)
index 0000000..272a6fb
--- /dev/null
@@ -0,0 +1,119 @@
+
+include(../config.pri)
+
+#DEFINES += QT_NO_KEYWORDS
+
+QT =
+
+INC += src
+INC += src/insets
+INC += boost
+
+HPP += ExternalSupport.h
+HPP += ExternalTemplate.h
+HPP += ExternalTransforms.h
+HPP += Inset.h
+HPP += InsetBibitem.h
+HPP += InsetBibtex.h
+HPP += InsetBox.h
+HPP += InsetBranch.h
+HPP += InsetCaption.h
+HPP += InsetCharStyle.h
+HPP += InsetCitation.h
+HPP += InsetCollapsable.h
+HPP += InsetCommand.h
+HPP += InsetCommandParams.h
+HPP += InsetERT.h
+HPP += InsetEnvironment.h
+HPP += InsetExternal.h
+HPP += InsetFloat.h
+HPP += InsetFloatList.h
+HPP += InsetFoot.h
+HPP += InsetFootlike.h
+HPP += InsetGraphics.h
+HPP += InsetGraphicsParams.h
+HPP += InsetHFill.h
+HPP += InsetInclude.h
+HPP += InsetIndex.h
+HPP += InsetLabel.h
+HPP += InsetLine.h
+HPP += InsetListings.h
+HPP += InsetListingsParams.h
+HPP += InsetMarginal.h
+HPP += InsetNewline.h
+HPP += InsetNomencl.h
+HPP += InsetNote.h
+HPP += InsetOptArg.h
+HPP += InsetPagebreak.h
+HPP += InsetQuotes.h
+HPP += InsetRef.h
+HPP += InsetSpace.h
+HPP += InsetSpecialChar.h
+HPP += InsetTOC.h
+HPP += InsetTabular.h
+HPP += InsetText.h
+#HPP += InsetTheorem.h
+HPP += InsetUrl.h
+HPP += InsetVSpace.h
+HPP += InsetWrap.h
+HPP += MailInset.h
+HPP += RenderBase.h
+HPP += RenderButton.h
+HPP += RenderGraphic.h
+HPP += RenderPreview.h
+
+CPP += ExternalSupport.cpp
+CPP += ExternalTemplate.cpp
+CPP += ExternalTransforms.cpp
+CPP += Inset.cpp
+CPP += InsetBibitem.cpp
+CPP += InsetBibtex.cpp
+CPP += InsetBox.cpp
+CPP += InsetBranch.cpp
+CPP += InsetCaption.cpp
+CPP += InsetCharStyle.cpp
+CPP += InsetCitation.cpp
+CPP += InsetCollapsable.cpp
+CPP += InsetCommand.cpp
+CPP += InsetCommandParams.cpp
+CPP += InsetERT.cpp
+CPP += InsetEnvironment.cpp
+CPP += InsetExternal.cpp
+CPP += InsetFloat.cpp
+CPP += InsetFloatList.cpp
+CPP += InsetFoot.cpp
+CPP += InsetFootlike.cpp
+CPP += InsetGraphics.cpp
+CPP += InsetGraphicsParams.cpp
+CPP += InsetHFill.cpp
+CPP += InsetInclude.cpp
+CPP += InsetIndex.cpp
+CPP += InsetLabel.cpp
+CPP += InsetLine.cpp
+CPP += InsetListings.cpp
+CPP += InsetListingsParams.cpp
+CPP += InsetMarginal.cpp
+CPP += InsetNewline.cpp
+CPP += InsetNomencl.cpp
+CPP += InsetNote.cpp
+CPP += InsetOptArg.cpp
+CPP += InsetPagebreak.cpp
+CPP += InsetQuotes.cpp
+CPP += InsetRef.cpp
+CPP += InsetSpace.cpp
+CPP += InsetSpecialChar.cpp
+CPP += InsetTOC.cpp
+CPP += InsetTabular.cpp
+CPP += InsetText.cpp
+#CPP += InsetTheorem.cpp
+CPP += InsetUrl.cpp
+CPP += InsetVSpace.cpp
+CPP += InsetWrap.cpp
+CPP += MailInset.cpp
+CPP += RenderButton.cpp
+CPP += RenderGraphic.cpp
+CPP += RenderPreview.cpp
+
+for(FILE,CPP) { SOURCES += $${BUILD_BASE_SOURCE_DIR}/src/insets/$${FILE} }
+for(FILE,HPP) { HEADERS += $${BUILD_BASE_SOURCE_DIR}/src/insets/$${FILE} }
+for(PATH,INC) { INCLUDEPATH += $${BUILD_BASE_SOURCE_DIR}/$${PATH} }
diff --git a/development/qmake/lyx.pro b/development/qmake/lyx.pro
new file mode 100644 (file)
index 0000000..c2a9190
--- /dev/null
@@ -0,0 +1,18 @@
+
+include(config.pri)
+
+TEMPLATE = subdirs
+
+CONFIG += ordered
+
+SUBDIRS += src/src.pro
+SUBDIRS += boost/boost.pro
+SUBDIRS += support/support.pro
+SUBDIRS += graphics/graphics.pro
+SUBDIRS += mathed/mathed.pro
+SUBDIRS += frontends/frontends.pro
+SUBDIRS += controllers/controllers.pro
+SUBDIRS += qt4/qt4.pro
+SUBDIRS += insets/insets.pro
+
+SUBDIRS += app/app.pro
diff --git a/development/qmake/mathed/mathed.pro b/development/qmake/mathed/mathed.pro
new file mode 100644 (file)
index 0000000..fd71078
--- /dev/null
@@ -0,0 +1,160 @@
+include(../config.pri)
+
+QT =
+
+INC += src
+INC += boost
+
+HPP += CommandInset.h
+#HPP += InsetFormulaMacro.h
+HPP += InsetMath.h
+HPP += InsetMathAMSArray.h
+HPP += InsetMathArray.h
+HPP += InsetMathBig.h
+HPP += InsetMathBinom.h
+HPP += InsetMathBoldSymbol.h
+HPP += InsetMathBox.h
+HPP += InsetMathBoxed.h
+HPP += InsetMathBrace.h
+HPP += InsetMathCases.h
+HPP += InsetMathChar.h
+HPP += InsetMathColor.h
+HPP += InsetMathComment.h
+HPP += InsetMathDFrac.h
+HPP += InsetMathDecoration.h
+HPP += InsetMathDelim.h
+HPP += InsetMathDiff.h
+HPP += InsetMathDots.h
+HPP += InsetMathEnv.h
+HPP += InsetMathExFunc.h
+HPP += InsetMathExInt.h
+HPP += InsetMathFBox.h
+HPP += InsetMathFont.h
+HPP += InsetMathFontOld.h
+HPP += InsetMathFrac.h
+HPP += InsetMathFracBase.h
+HPP += InsetMathFrameBox.h
+HPP += InsetMathGrid.h
+HPP += InsetMathHull.h
+HPP += InsetMathKern.h
+HPP += InsetMathLefteqn.h
+HPP += InsetMathLim.h
+HPP += InsetMathMBox.h
+HPP += InsetMathMakebox.h
+HPP += InsetMathMatrix.h
+HPP += InsetMathNest.h
+HPP += InsetMathNumber.h
+HPP += InsetMathOverset.h
+HPP += InsetMathPar.h
+HPP += InsetMathPhantom.h
+HPP += InsetMathRef.h
+HPP += InsetMathRoot.h
+HPP += InsetMathScript.h
+HPP += InsetMathSize.h
+HPP += InsetMathSpace.h
+HPP += InsetMathSplit.h
+HPP += InsetMathSqrt.h
+HPP += InsetMathStackrel.h
+HPP += InsetMathString.h
+HPP += InsetMathSubstack.h
+HPP += InsetMathSymbol.h
+HPP += InsetMathTFrac.h
+HPP += InsetMathTabular.h
+HPP += InsetMathUnderset.h
+HPP += InsetMathUnknown.h
+HPP += InsetMathXArrow.h
+#HPP += InsetMathXYArrow.h
+HPP += InsetMathXYMatrix.h
+HPP += MacroTable.h
+HPP += MathAtom.h
+HPP += MathAutoCorrect.h
+HPP += MathData.h
+HPP += MathExtern.h
+HPP += MathFactory.h
+HPP += MathGridInfo.h
+HPP += MathMacro.h
+HPP += MathMacroArgument.h
+HPP += MathMacroTemplate.h
+HPP += MathParser.h
+HPP += MathStream.h
+HPP += MathSupport.h
+HPP += ReplaceData.h
+HPP += TextPainter.h
+
+CPP += CommandInset.cpp
+#CPP += InsetFormulaMacro.cpp
+CPP += InsetMath.cpp
+CPP += InsetMathAMSArray.cpp
+CPP += InsetMathArray.cpp
+CPP += InsetMathBig.cpp
+CPP += InsetMathBinom.cpp
+CPP += InsetMathBoldSymbol.cpp
+CPP += InsetMathBox.cpp
+CPP += InsetMathBoxed.cpp
+CPP += InsetMathBrace.cpp
+CPP += InsetMathCases.cpp
+CPP += InsetMathChar.cpp
+CPP += InsetMathColor.cpp
+CPP += InsetMathComment.cpp
+CPP += InsetMathDFrac.cpp
+CPP += InsetMathDecoration.cpp
+CPP += InsetMathDelim.cpp
+CPP += InsetMathDiff.cpp
+CPP += InsetMathDots.cpp
+CPP += InsetMathEnv.cpp
+CPP += InsetMathExFunc.cpp
+CPP += InsetMathExInt.cpp
+CPP += InsetMathFBox.cpp
+CPP += InsetMathFont.cpp
+CPP += InsetMathFontOld.cpp
+CPP += InsetMathFrac.cpp
+CPP += InsetMathFracBase.cpp
+CPP += InsetMathFrameBox.cpp
+CPP += InsetMathGrid.cpp
+CPP += InsetMathHull.cpp
+CPP += InsetMathKern.cpp
+CPP += InsetMathLefteqn.cpp
+CPP += InsetMathLim.cpp
+CPP += InsetMathMBox.cpp
+CPP += InsetMathMakebox.cpp
+CPP += InsetMathMatrix.cpp
+CPP += InsetMathNest.cpp
+CPP += InsetMathNumber.cpp
+CPP += InsetMathOverset.cpp
+CPP += InsetMathPar.cpp
+CPP += InsetMathPhantom.cpp
+CPP += InsetMathRef.cpp
+CPP += InsetMathRoot.cpp
+CPP += InsetMathScript.cpp
+CPP += InsetMathSize.cpp
+CPP += InsetMathSpace.cpp
+CPP += InsetMathSplit.cpp
+CPP += InsetMathSqrt.cpp
+CPP += InsetMathStackrel.cpp
+CPP += InsetMathString.cpp
+CPP += InsetMathSubstack.cpp
+CPP += InsetMathSymbol.cpp
+CPP += InsetMathTFrac.cpp
+CPP += InsetMathTabular.cpp
+CPP += InsetMathUnderset.cpp
+CPP += InsetMathUnknown.cpp
+CPP += InsetMathXArrow.cpp
+#CPP += InsetMathXYArrow.cpp
+CPP += InsetMathXYMatrix.cpp
+CPP += MacroTable.cpp
+CPP += MathAtom.cpp
+CPP += MathAutoCorrect.cpp
+CPP += MathData.cpp
+CPP += MathExtern.cpp
+CPP += MathFactory.cpp
+CPP += MathMacro.cpp
+CPP += MathMacroArgument.cpp
+CPP += MathMacroTemplate.cpp
+CPP += MathParser.cpp
+CPP += MathStream.cpp
+CPP += MathSupport.cpp
+CPP += TextPainter.cpp
+
+for(FILE,CPP) { SOURCES += $${BUILD_BASE_SOURCE_DIR}/src/mathed/$${FILE} }
+for(FILE,HPP) { HEADERS += $${BUILD_BASE_SOURCE_DIR}/src/mathed/$${FILE} }
+for(PATH,INC) { INCLUDEPATH += $${BUILD_BASE_SOURCE_DIR}/$${PATH} }
diff --git a/development/qmake/qt4/qt4.pro b/development/qmake/qt4/qt4.pro
new file mode 100644 (file)
index 0000000..61f7b02
--- /dev/null
@@ -0,0 +1,262 @@
+
+include(../config.pri)
+
+DEFINES += QT_NO_KEYWORDS
+
+INC += boost
+INC += src
+INC += src/frontends
+INC += src/frontends/controllers
+INC += src/frontends/qt4
+
+HPP += QLMenubar.h
+HPP += QShowFile.h
+HPP += QCitation.h
+HPP += socket_callback.h
+HPP += qlkey.h
+HPP += QViewSource.h
+HPP += GuiApplication.h
+HPP += QBibtex.h
+HPP += QVSpace.h
+HPP += QLToolbar.h
+HPP += QIndex.h
+HPP += QWrap.h
+HPP += pch.h
+HPP += QCitationDialog.h
+HPP += QBox.h
+HPP += QERT.h
+HPP += QPrefs.h
+HPP += QPrint.h
+HPP += QLog.h
+HPP += QRef.h
+HPP += QToc.h
+HPP += QThesaurus.h
+HPP += QBranches.h
+HPP += IconPalette.h
+HPP += BulletsModule.h
+HPP += QTabular.h
+HPP += LyXFileDialog.h
+HPP += QDocument.h
+HPP += QGraphicsDialog.h
+HPP += GuiImplementation.h
+HPP += QListings.h
+HPP += GuiFontMetrics.h
+HPP += GuiWorkArea.h
+HPP += Action.h
+HPP += QCommandEdit.h
+HPP += ColorCache.h
+HPP += QBranch.h
+HPP += TocWidget.h
+HPP += FloatPlacement.h
+HPP += Qt2BC.h
+HPP += QSpellchecker.h
+HPP += QChanges.h
+HPP += QTabularCreate.h
+HPP += QDialogView.h
+HPP += DockView.h
+HPP += QKeySymbol.h
+HPP += TocModel.h
+HPP += qt_helpers.h
+HPP += QNomencl.h
+HPP += QLImage.h
+HPP += QLPrintDialog.h
+HPP += QURLDialog.h
+HPP += QMathMatrixDialog.h
+HPP += QBibitem.h
+HPP += UrlView.h
+HPP += Validator.h
+HPP += QLPainter.h
+HPP += QFloat.h
+HPP += qtTimeout.h
+HPP += PanelStack.h
+HPP += QCommandBuffer.h
+HPP += QTexinfo.h
+HPP += QCharacter.h
+HPP += LengthCombo.h
+HPP += QInclude.h
+HPP += QExternal.h
+HPP += QSearch.h
+HPP += QFontExample.h
+HPP += GuiClipboard.h
+HPP += QSetBorder.h
+HPP += QErrorList.h
+HPP += CheckedLineEdit.h
+HPP += EmptyTable.h
+HPP += QDelimiterDialog.h
+HPP += QAbout.h
+HPP += QLPopupMenu.h
+HPP += GuiFontLoader.h
+HPP += QGraphics.h
+HPP += GuiView.h
+HPP += QSendto.h
+HPP += GuiSelection.h
+HPP += InsertTableWidget.h
+HPP += QParagraph.h
+HPP += QFloatDialog.h
+HPP += QGraphicsUi.h
+HPP += QNote.h
+
+CPP += QCommandBuffer.cpp
+CPP += QCommandEdit.cpp
+CPP += QBranches.cpp
+CPP += QURLDialog.cpp
+CPP += QBibitem.cpp
+CPP += GuiImplementation.cpp
+CPP += QChanges.cpp
+CPP += QBox.cpp
+CPP += QERT.cpp
+CPP += QSetBorder.cpp
+CPP += GuiSelection.cpp
+CPP += QPrint.cpp
+CPP += Action.cpp
+CPP += PanelStack.cpp
+CPP += QDialogView.cpp
+CPP += QBranch.cpp
+CPP += QCharacter.cpp
+CPP += alert_pimpl.cpp
+CPP += QListings.cpp
+CPP += QLMenubar.cpp
+CPP += QViewSource.cpp
+CPP += QLPopupMenu.cpp
+CPP += QTabular.cpp
+CPP += QErrorList.cpp
+CPP += QRef.cpp
+CPP += QThesaurus.cpp
+CPP += QNote.cpp
+CPP += GuiFontLoader.cpp
+CPP += GuiView.cpp
+CPP += QFontExample.cpp
+CPP += QNomencl.cpp
+CPP += QExternal.cpp
+CPP += QFloat.cpp
+CPP += IconPalette.cpp
+CPP += Validator.cpp
+CPP += QDocument.cpp
+CPP += QLImage.cpp
+CPP += QPrefs.cpp
+CPP += QParagraph.cpp
+CPP += FloatPlacement.cpp
+CPP += QCitationDialog.cpp
+CPP += UrlView.cpp
+CPP += QTabularCreate.cpp
+CPP += EmptyTable.cpp
+CPP += QBibtex.cpp
+CPP += BulletsModule.cpp
+CPP += FileDialog.cpp
+CPP += QLog.cpp
+CPP += LengthCombo.cpp
+CPP += QSendto.cpp
+CPP += QShowFile.cpp
+CPP += QCitation.cpp
+CPP += QVSpace.cpp
+CPP += QSearch.cpp
+CPP += Dialogs.cpp
+CPP += GuiFontMetrics.cpp
+CPP += LyXFileDialog.cpp
+CPP += ColorCache.cpp
+CPP += QFloatDialog.cpp
+CPP += KeySymbol.cpp
+CPP += QMathMatrixDialog.cpp
+CPP += QToc.cpp
+CPP += Qt2BC.cpp
+CPP += QSpellchecker.cpp
+CPP += QIndex.cpp
+CPP += GuiApplication.cpp
+CPP += QKeySymbol.cpp
+CPP += QGraphicsDialog.cpp
+CPP += socket_callback.cpp
+CPP += qtTimeout.cpp
+CPP += QDelimiterDialog.cpp
+CPP += QLToolbar.cpp
+CPP += QAbout.cpp
+CPP += GuiClipboard.cpp
+CPP += QLPainter.cpp
+CPP += CheckedLineEdit.cpp
+CPP += InsertTableWidget.cpp
+CPP += qt_helpers.cpp
+CPP += TocWidget.cpp
+CPP += QTexinfo.cpp
+CPP += TocModel.cpp
+CPP += QGraphics.cpp
+CPP += GuiWorkArea.cpp
+CPP += QInclude.cpp
+CPP += QLPrintDialog.cpp
+CPP += QWrap.cpp
+
+UI += PrefLanguageUi.ui
+UI += PrefKeyboardUi.ui
+UI += PrefIdentityUi.ui
+UI += ExternalUi.ui
+UI += PrefsUi.ui
+UI += MarginsUi.ui
+UI += BibitemUi.ui
+UI += AskForTextUi.ui
+UI += PrefPathsUi.ui
+UI += TocUi.ui
+UI += IndexUi.ui
+UI += ErrorListUi.ui
+UI += TabularUi.ui
+UI += BulletsUi.ui
+UI += FloatPlacementUi.ui
+UI += URLUi.ui
+UI += AboutUi.ui
+UI += FloatUi.ui
+UI += BibtexUi.ui
+UI += ChangesUi.ui
+UI += WrapUi.ui
+UI += LogUi.ui
+UI += TextLayoutUi.ui
+UI += PrefCopiersUi.ui
+UI += PrefCygwinPathUi.ui
+UI += ShowFileUi.ui
+UI += GraphicsUi.ui
+UI += NomenclUi.ui
+UI += SpellcheckerUi.ui
+UI += VSpaceUi.ui
+UI += ParagraphUi.ui
+UI += PrefColorsUi.ui
+UI += BranchesUi.ui
+UI += SearchUi.ui
+UI += ListingsUi.ui
+UI += PreambleUi.ui
+UI += PageLayoutUi.ui
+UI += LaTeXUi.ui
+UI += PrefPrinterUi.ui
+UI += RefUi.ui
+UI += PrefFileformatsUi.ui
+UI += CitationUi.ui
+UI += CharacterUi.ui
+UI += BoxUi.ui
+UI += LanguageUi.ui
+UI += BibtexAddUi.ui
+UI += FontUi.ui
+UI += DocumentUi.ui
+UI += PrintUi.ui
+UI += PrefDisplayUi.ui
+UI += ViewSourceUi.ui
+UI += PrefPlaintextUi.ui
+UI += ThesaurusUi.ui
+UI += PrefSpellcheckerUi.ui
+UI += NumberingUi.ui
+UI += TabularCreateUi.ui
+UI += ERTUi.ui
+UI += TexinfoUi.ui
+UI += PrefLatexUi.ui
+UI += DelimiterUi.ui
+UI += PrefDateUi.ui
+UI += PrefConvertersUi.ui
+UI += MathMatrixUi.ui
+UI += PrefUi.ui
+UI += MathsUi.ui
+UI += BranchUi.ui
+UI += NoteUi.ui
+UI += BiblioUi.ui
+UI += PrefScreenFontsUi.ui
+UI += IncludeUi.ui
+UI += SendtoUi.ui
+
+BASE = $${BUILD_BASE_SOURCE_DIR}/src/frontends/qt4
+for(FILE,CPP) { SOURCES += $${BASE}/$${FILE} }
+for(FILE,HPP) { HEADERS += $${BASE}/$${FILE} }
+for(FILE,UI) { FORMS += $${BASE}/ui/$${FILE} }
+for(PATH,INC) { INCLUDEPATH += $${BUILD_BASE_SOURCE_DIR}/$${PATH} }
diff --git a/development/qmake/src/src.pro b/development/qmake/src/src.pro
new file mode 100644 (file)
index 0000000..4f8f892
--- /dev/null
@@ -0,0 +1,268 @@
+
+include(../config.pri)
+
+TEMPLATE = lib
+
+QT =
+
+#DEFINES += QT_NO_KEYWORDS
+
+INC += src
+INC += boost
+
+HPP += ASpell_local.h
+HPP += Author.h
+HPP += Bidi.h
+HPP += Box.h
+HPP += BranchList.h
+HPP += Buffer.h
+HPP += BufferList.h
+HPP += BufferParams.h
+HPP += BufferView.h
+HPP += Bullet.h
+HPP += Changes.h
+HPP += Chktex.h
+HPP += Color.h
+HPP += Converter.h
+HPP += ConverterCache.h
+HPP += CoordCache.h
+HPP += Counters.h
+HPP += Cursor.h
+HPP += CursorSlice.h
+HPP += CutAndPaste.h
+HPP += DepTable.h
+HPP += Dimension.h
+HPP += DispatchResult.h
+HPP += DocIterator.h
+HPP += Encoding.h
+HPP += ErrorList.h
+HPP += Exporter.h
+HPP += FloatList.h
+HPP += Floating.h
+HPP += Font.h
+HPP += FontIterator.h
+HPP += Format.h
+HPP += FuncRequest.h
+HPP += FuncStatus.h
+HPP += Graph.h
+HPP += ISpell.h
+HPP += Importer.h
+HPP += InsetIterator.h
+HPP += InsetList.h
+HPP += Intl.h
+HPP += KeyMap.h
+HPP += KeySequence.h
+HPP += LaTeX.h
+HPP += LaTeXFeatures.h
+HPP += Language.h
+HPP += Layout.h
+HPP += Length.h
+HPP += Lexer.h
+HPP += LyX.h
+HPP += LyXAction.h
+HPP += LyXFunc.h
+HPP += LyXRC.h
+HPP += LyXVC.h
+HPP += MenuBackend.h
+HPP += Messages.h
+HPP += MetricsInfo.h
+HPP += Mover.h
+HPP += OutputParams.h
+HPP += PSpell.h
+HPP += ParIterator.h
+HPP += Paragraph.h
+HPP += ParagraphList.h
+HPP += ParagraphMetrics.h
+HPP += ParagraphParameters.h
+HPP += PrinterParams.h
+HPP += Row.h
+HPP += Section.h
+HPP += Server.h
+HPP += ServerSocket.h
+HPP += Session.h
+HPP += Spacing.h
+HPP += SpellBase.h
+HPP += TexRow.h
+HPP += Text.h
+HPP += TextClass.h
+HPP += TextClassList.h
+HPP += TextMetrics.h
+HPP += Thesaurus.h
+HPP += TocBackend.h
+HPP += ToolbarBackend.h
+HPP += Trans.h
+HPP += Undo.h
+HPP += VCBackend.h
+HPP += VSpace.h
+#HPP += Variables.h
+HPP += WordLangTuple.h
+HPP += buffer_funcs.h
+HPP += bufferview_funcs.h
+HPP += callback.h
+HPP += debug.h
+HPP += factory.h
+HPP += gettext.h
+HPP += lengthcommon.h
+HPP += lfuns.h
+HPP += lyxfind.h
+HPP += lyxlayout_ptr_fwd.h
+HPP += output.h
+HPP += output_docbook.h
+HPP += output_latex.h
+HPP += output_plaintext.h
+HPP += paper.h
+HPP += paragraph_funcs.h
+HPP += pch.h
+HPP += rowpainter.h
+HPP += sgml.h
+HPP += toc.h
+HPP += update_flags.h
+HPP += version.h
+
+#CPP += ASpell.cpp
+CPP += Author.cpp
+CPP += Bidi.cpp
+CPP += Box.cpp
+CPP += BranchList.cpp
+CPP += Buffer.cpp
+CPP += BufferList.cpp
+CPP += BufferParams.cpp
+CPP += BufferView.cpp
+CPP += Bullet.cpp
+CPP += Changes.cpp
+CPP += Chktex.cpp
+CPP += Color.cpp
+CPP += Converter.cpp
+CPP += ConverterCache.cpp
+CPP += CoordCache.cpp
+CPP += Counters.cpp
+CPP += Cursor.cpp
+CPP += CursorSlice.cpp
+CPP += CutAndPaste.cpp
+CPP += DepTable.cpp
+CPP += Dimension.cpp
+CPP += DocIterator.cpp
+CPP += Encoding.cpp
+CPP += ErrorList.cpp
+CPP += Exporter.cpp
+CPP += FloatList.cpp
+CPP += Floating.cpp
+CPP += Font.cpp
+CPP += FontIterator.cpp
+CPP += Format.cpp
+CPP += FuncRequest.cpp
+CPP += FuncStatus.cpp
+CPP += Graph.cpp
+CPP += ISpell.cpp
+CPP += Importer.cpp
+CPP += InsetIterator.cpp
+CPP += InsetList.cpp
+CPP += Intl.cpp
+CPP += KeyMap.cpp
+CPP += KeySequence.cpp
+CPP += LaTeX.cpp
+CPP += LaTeXFeatures.cpp
+CPP += Language.cpp
+CPP += Layout.cpp
+CPP += Length.cpp
+CPP += Lexer.cpp
+CPP += LyX.cpp
+CPP += LyXAction.cpp
+CPP += LyXFunc.cpp
+CPP += LyXRC.cpp
+CPP += LyXVC.cpp
+CPP += MenuBackend.cpp
+CPP += Messages.cpp
+CPP += MetricsInfo.cpp
+CPP += Mover.cpp
+CPP += OutputParams.cpp
+#CPP += PSpell.cpp
+CPP += ParIterator.cpp
+CPP += Paragraph.cpp
+CPP += ParagraphMetrics.cpp
+CPP += ParagraphParameters.cpp
+CPP += PrinterParams.cpp
+CPP += Row.cpp
+CPP += Section.cpp
+CPP += Server.cpp
+CPP += ServerSocket.cpp
+CPP += Session.cpp
+CPP += Spacing.cpp
+CPP += SpellBase.cpp
+CPP += TexRow.cpp
+CPP += Text.cpp
+CPP += Text2.cpp
+CPP += Text3.cpp
+CPP += TextClass.cpp
+CPP += TextClassList.cpp
+CPP += TextMetrics.cpp
+CPP += Thesaurus.cpp
+CPP += TocBackend.cpp
+CPP += ToolbarBackend.cpp
+CPP += Trans.cpp
+CPP += Undo.cpp
+CPP += VCBackend.cpp
+CPP += VSpace.cpp
+#CPP += Variables.cpp
+CPP += boost.cpp
+CPP += buffer_funcs.cpp
+CPP += bufferview_funcs.cpp
+CPP += callback.cpp
+CPP += debug.cpp
+CPP += factory.cpp
+CPP += gettext.cpp
+CPP += lengthcommon.cpp
+CPP += lyxfind.cpp
+CPP += main1.cpp
+CPP += output.cpp
+CPP += output_docbook.cpp
+CPP += output_latex.cpp
+CPP += output_plaintext.cpp
+CPP += paragraph_funcs.cpp
+CPP += rowpainter.cpp
+CPP += sgml.cpp
+CPP += toc.cpp
+
+for(FILE,CPP) { SOURCES += $${BUILD_BASE_SOURCE_DIR}/src/$${FILE} }
+for(FILE,HPP) { HEADERS += $${BUILD_BASE_SOURCE_DIR}/src/$${FILE} }
+for(PATH,INC) { INCLUDEPATH += $${BUILD_BASE_SOURCE_DIR}/$${PATH} }
+
+
+QMAKE_RUN_CXX1  = $(CXX) -c $(CXXFLAGS) $(INCPATH)
+
+configtarget.target = $${BUILD_BASE_TARGET_DIR}/src/config.h
+configtarget.commands = \
+       cp $${BUILD_BASE_SOURCE_DIR}/development/qmake/config.h.template config.h
+
+versiontarget.target = version.cpp
+versiontarget.commands = \
+       cp $${BUILD_BASE_SOURCE_DIR}/src/version.cpp.in version.cpp 
+versiontarget.depends = config.h
+
+versiontarget2.target = version.o
+versiontarget2.commands = $${QMAKE_RUN_CXX1} -c version.cpp -o version.o
+versiontarget2.depends = version.cpp config.h
+
+
+packagetarget.target = Package.cpp
+packagetarget.commands = \
+       cp $${BUILD_BASE_SOURCE_DIR}/src/support/Package.cpp.in Package.cpp 
+packagetarget.depends = config.h
+
+packagetarget2.target = Package.o
+packagetarget2.commands = $${QMAKE_RUN_CXX1} -c Package.cpp -o Package.o
+packagetarget2.depends = Package.cpp config.h
+
+
+QMAKE_EXTRA_TARGETS += configtarget
+QMAKE_EXTRA_TARGETS += versiontarget versiontarget2
+QMAKE_EXTRA_TARGETS += packagetarget packagetarget2
+
+QMAKE_CLEAN += Package.o Package.cpp version.o version.cpp config.h
+
+PRE_TARGETDEPS += $${BUILD_BASE_TARGET_DIR}/src/config.h
+PRE_TARGETDEPS += Package.o 
+PRE_TARGETDEPS += version.o 
+
+LIBS += version.o Package.o
+
diff --git a/development/qmake/support/support.pro b/development/qmake/support/support.pro
new file mode 100644 (file)
index 0000000..3971cbe
--- /dev/null
@@ -0,0 +1,85 @@
+
+include(../config.pri)
+
+QT = core
+
+INC += boost
+INC += src
+
+HPP += ExceptionMessage.h
+HPP += FileFilterList.h
+HPP += FileMonitor.h
+HPP += FileName.h
+HPP += ForkedCallQueue.h
+HPP += Forkedcall.h
+HPP += ForkedcallsController.h
+HPP += Package.h
+HPP += Path.h
+HPP += RandomAccessList.h
+HPP += Systemcall.h
+HPP += Translator.h
+HPP += convert.h
+HPP += copied_ptr.h
+HPP += cow_ptr.h
+HPP += debugstream.h
+HPP += docstream.h
+HPP += docstring.h
+HPP += environment.h
+HPP += filetools.h
+HPP += fs_extras.h
+HPP += gzstream.h
+HPP += limited_stack.h
+HPP += lstrings.h
+HPP += lyxalgo.h
+HPP += lyxlib.h
+HPP += lyxmanip.h
+HPP += lyxtime.h
+HPP += os.h
+HPP += os_win32.h
+HPP += pch.h
+HPP += qstring_helpers.h
+HPP += socktools.h
+HPP += std_istream.h
+HPP += std_ostream.h
+HPP += textutils.h
+HPP += types.h
+HPP += unicode.h
+HPP += userinfo.h
+
+CPP += FileFilterList.cpp
+CPP += FileMonitor.cpp
+CPP += FileName.cpp
+CPP += ForkedCallQueue.cpp
+CPP += Forkedcall.cpp
+CPP += ForkedcallsController.cpp
+CPP += Path.cpp
+CPP += Systemcall.cpp
+CPP += abort.cpp
+CPP += chdir.cpp
+CPP += convert.cpp
+CPP += copy.cpp
+CPP += docstream.cpp
+CPP += docstring.cpp
+CPP += environment.cpp
+CPP += filetools.cpp
+CPP += fs_extras.cpp
+CPP += getcwd.cpp
+CPP += gzstream.cpp
+CPP += kill.cpp
+CPP += lstrings.cpp
+CPP += lyxsum.cpp
+CPP += lyxtime.cpp
+CPP += mkdir.cpp
+CPP += os.cpp
+CPP += qstring_helpers.cpp
+CPP += rename.cpp
+CPP += socktools.cpp
+CPP += tempname.cpp
+CPP += textutils.cpp
+CPP += unicode.cpp
+CPP += unlink.cpp
+CPP += userinfo.cpp
+
+for(FILE,CPP) { SOURCES += $${BUILD_BASE_SOURCE_DIR}/src/support/$${FILE} }
+for(FILE,HPP) { HEADERS += $${BUILD_BASE_SOURCE_DIR}/src/support/$${FILE} }
+for(PATH,INC) { INCLUDEPATH += $${BUILD_BASE_SOURCE_DIR}/$${PATH} }