Commit graph

8008 commits

Author SHA1 Message Date
Francois Tigeot
b95d086d76 Remove no longer used files 2011-05-23 18:25:20 +02:00
Tor Lillqvist
f210e2cec2 Migrate a /bin/echo change to _tg_app.mk back to tg_app.mk, and re-unroll 2011-05-23 18:54:42 +03:00
Tor Lillqvist
334d8a37dc Re-introduce a /bin/echo change that was lost when re-unrolling tg_shl.mk 2011-05-23 18:23:28 +03:00
Tor Lillqvist
0d4191944a Forgot to unroll tg_shl.mk after last change 2011-05-23 17:56:02 +03:00
Tor Lillqvist
bd9d0067a6 Rework DLL creation code for MinGW (cross-)compilation
Don't run dlltool --output-exp to create a separate object file with
just export data (.edata section). In the case where at least one
function in the objects being linked has been explicitly marked for
export, GNU ld will not look for export information in the object
files anyway. At least the GetVersion() function seems to be marked
for export explicitly. Just pass the .def file when linking.

GNU ld since 2.17 supports @cmdfile syntax, just like MSVC tools, so
no need to create a separate shell command file and source that. (Why
that even would work better than just running the ld command with a
long command line directly, I don't know.)

Actually I don't know why even bother with the @cmdfile, after all we
mainly intend WNTGCC to be used when cross-compiling, and there are no
short command-line length restrictions on modern OSes from which one
might want to cross-compile. But oh well.

Pass the necessary -L switches, i.e. SOLARLIB, when linking with GNU
ld. (For MSVC, the ILIB environment variable is used.)

Produce the import library when linking, no need to have a separate
rule to produce an import library for WNTGCC.

Re-unroll tg_shl.mk into _tg_shl.mk with the recently unbroken
mkunroll tool.
2011-05-23 17:33:49 +03:00
Tor Lillqvist
4915eb3571 Match SALHELPERLIB for WNTGCC to what we produce 2011-05-23 17:33:49 +03:00
Tor Lillqvist
63c787c51d Match SAL_LIB for WNTGCC to what we produce 2011-05-23 17:33:49 +03:00
Tor Lillqvist
8794ec9ad8 Use correct ICU library names when using MinGW cross-compiled "system" ones 2011-05-23 17:33:49 +03:00
Tor Lillqvist
62a339916b Prefix --warn-once with -Wl, as it is a ld flag 2011-05-23 17:33:48 +03:00
Tor Lillqvist
a6f8b386c2 List gnu_getopt here, too 2011-05-23 17:33:48 +03:00
Tor Lillqvist
04a7575ddb Check COM, not the weird USE_MINGW variable 2011-05-23 17:33:48 +03:00
Tor Lillqvist
25ce4793bb Use cygpath only when building on Windows 2011-05-23 17:33:48 +03:00
Bjoern Michaelsen
d977dace19 always request an unversioned lib from gcc in gccinstlib.pl
* this otherwise breaks on ubuntu natty as there is (rightfully) no libgcc_s.so.1 file served by gcc -print-file-name
2011-05-23 15:14:59 +02:00
Francois Tigeot
62dce7bfca Temporary fix for a LD_LIBRARY_PATH not propagated issue. 2011-05-22 11:36:09 +02:00
Francois Tigeot
6ec8554c6a Unify all NetBSD .mk configuration files 2011-05-22 10:35:33 +02:00
Francois Tigeot
95b13c2de1 NetBSD/IA64 has been broken for years, remove it from the build system. 2011-05-22 09:18:46 +02:00
Tor Lillqvist
909d91e041 Use more libraries that MinGW does include 2011-05-22 01:02:27 +03:00
Tor Lillqvist
2996bb11bc Put comments at start of line so they aren't shell comment recipe lines 2011-05-22 00:59:10 +03:00
Tor Lillqvist
2cbda686ee Drop pointless version printout 2011-05-21 20:18:34 +03:00
Tor Lillqvist
3f56e8f87c Java tweaks for cross-compilation 2011-05-21 02:45:18 +03:00
Tor Lillqvist
e5088368da FULL_DESK has no meaning as far as I know 2011-05-21 00:45:41 +03:00
Tor Lillqvist
08c6706d0e No need to hardcode SOLAR_JAVA*=TRUE here 2011-05-21 00:41:56 +03:00
Matus Kukan
a64f87add5 replace res/commandimagelist with cmd 2011-05-20 18:09:28 +02:00
Joseph Powers
dcf5401440 On MacOS X, our application is called "LibreOffice.app" and not "OpenOffice.org.app" 2011-05-18 19:05:52 -07:00
Tor Lillqvist
bb7bdda138 Use $(AR) instead of hardcoded ar 2011-05-18 22:48:44 +03:00
Tor Lillqvist
139aaee3df Include unxgcc and not unxlng, use unique DLLPOSTFIX 2011-05-18 22:48:43 +03:00
Tor Lillqvist
45fe3fbfa0 Use $(RANLIB) when using MinGW 2011-05-18 22:41:02 +03:00
Tor Lillqvist
2dc4a245c7 Check build platform instead of host platform when appropriate 2011-05-18 18:56:58 +03:00
Tor Lillqvist
89b361c0a4 More cross-compiling work and cleanup
Re-introduce the old --with-mingw option but now called
--with-mingw-cross-compiler. Its purpose is now specifically to give
the cross-compiler used when building the ODK, if Java is enabled, and
if building the unowinreg.dll. It has now nothing to do with
cross-compiling LibreOffice itself.

Correspondingly, the WITH_MINGW variable now has meaning only when
building LibreOffice for Windows: If using MinGW, whether natively on
Windows itself (which we as such don't intend to support, I hope), or
cross-compiling, it is set to "yes".

Automate and simplify the search for the MinGW cross-compiler when
intending to build unowinreg.dll on Unix.

Look for the usual tool-chain tools ar, nm, objdump, pkg-config,
ranlib, strip, and for Windows alto dlltool and windres using
AC_CHECK_TOOL so that the proper cross tools are found when
needed. Propagate to environment. As such these are not used except in
the MinGW mk files so far.

Other minor cleanups.
2011-05-18 18:56:58 +03:00
Tor Lillqvist
95760e349e MSVC followup fix for RC command line syntax 2011-05-18 03:19:02 +03:00
Tor Lillqvist
67c0847fa9 MinGW fixes for DLL creation 2011-05-18 02:50:40 +03:00
Tor Lillqvist
7a72d99bdf Be pickier with syntax for windres 2011-05-18 02:49:34 +03:00
Tor Lillqvist
8b24a0326d chmod +x 2011-05-18 00:37:46 +03:00
Tor Lillqvist
e7e5983649 Sleep only on Windows 2011-05-18 00:36:45 +03:00
Tor Lillqvist
27bae25242 No need to use -nostdinc 2011-05-17 22:36:57 +03:00
Petr Mladek
4ba26e3dd2 bump product version to 3.4.0-rc1, release number to 11 2011-05-17 19:38:48 +02:00
Tor Lillqvist
84fbaed77d More cross-compiling work
AC_SUBST also EXEEXT_FOR_BUILD and use that in Makefile.in.

As winemv.set.sh is now called WindowsMSVCEnv.Set.sh, with capital E
and S like all the others, we can simplify the glob pattern for the
Set.sh file.

Don't attempt to download and/or run unpackers for dependencies
relevant only when using MSVC if using MinGW.

Misc other Windows host vs. build fixes.
2011-05-17 02:22:19 +03:00
Tor Lillqvist
85d44913ab Minor tweaks for cross-compiling
Still a long way from working, of course.

The configure script now runs to finish on Linux with --host=mingw32.

It is no longer an error if Windows SDK or DirectX SDK are not found
by the logic in the configure script. It might well be that the user
has included relevant -I and -L flags in CC or CXX that makes the
compilations work anyway, or something. We should not try to be too
clever and try to predict how the compiler or linker work in the
configure script.

We now define the FOO_FOR_BUILD environment variables in set_soenv.in
even when not cross-compiling (identically as the plain FOO ones in
that case, obviously). This should make some makefiles and stuff that
build tools to run on the build host a bit simpler.
2011-05-16 18:55:07 +03:00
Tor Lillqvist
699d119f78 Use current terminology and socket library
It's called the Windows SDK, not the Platform SDK. Link only with the
ws2_32 library, not the wsock32 one.
2011-05-16 16:01:30 +03:00
Andras Timar
5631d2cf76 handle --with-lang=ALL case 2011-05-16 12:29:12 +02:00
Fridrich Štrba
8516a7044a Reverting one Oxygenoffice change until _KAMI_ makes it work 2011-05-16 08:12:14 +02:00
Tor Lillqvist
f6aed99734 Set some FOO_FOR_BUILD variables also when not cross-compiling 2011-05-16 00:00:59 +03:00
Tor Lillqvist
ca5f1c9b2c Add Android .mk file 2011-05-16 00:00:55 +03:00
Tor Lillqvist
30bd771e0f Drop unuse GUWCMD 2011-05-16 00:00:53 +03:00
Tor Lillqvist
af495ab518 For some reason have to use doublequotes around CXX_X64 etc
I don't understand why, but need to use double-quotes around the
CXX_X64 etc values assigned in set_wnt64.mk, to guard against their
pathname containing spaces or other special characters, like parens in
the case of "/cygdrive/c/Program Files (x64)". I hope this helps those
who have MSVC installed in its default path.

Also drop use of the unnecessary WRAPCMD.
2011-05-15 20:02:10 +03:00
Tor Lillqvist
0e69a0b50e Don't need to do this here any more 2011-05-15 04:30:00 +03:00
Tor Lillqvist
d8f4b788c7 Propagate FOO_FOR_BUILD variables when compiling for the build system 2011-05-15 04:29:23 +03:00
Tor Lillqvist
dc4d7d995b Kill obsolete STAR_FOO stuff 2011-05-15 00:37:04 +03:00
Tor Lillqvist
82d642dc52 Fix fallout from BUILD_SOSL removal
As set_soenv.in used to always put BUILD_SOSL="true" in the
environment, we can delete the block completely that was to be
executed only if BUILD_SOSL was undefined.
2011-05-14 22:57:54 +03:00
Tor Lillqvist
79173f64a1 Kill "NEW_JAR_PACK"
It was fixed as TRUE, so unconditionally change its uses according to
that.
2011-05-14 22:38:29 +03:00
Tor Lillqvist
4e011da922 Kill "BUILD_SOSL", some Hamburg thing 2011-05-14 22:02:30 +03:00
Tor Lillqvist
c4e2af8493 Fix typo 2011-05-13 21:52:59 +03:00
Tor Lillqvist
eaf8e0939a Some initial baby steps towards cross-compilation
And some baby steps for cross-compiling for iOS in particular.
2011-05-13 20:24:40 +03:00
Tor Lillqvist
6dc4597ab7 chmod -x 2011-05-13 15:08:01 +03:00
Tor Lillqvist
32878f5f17 Drop unneeded -subsystem:console option, fixes build of GUI executables
At least odbcconfig is a GUI executable.

Apparently MSVC is clever enough to guess that a program with a main()
is intended to be linked as a CUI ("console") executable, and
correspondingly a program with a WinMain() as a GUI ("Windows")
executable. And our code seems to follow that convention.

Note that all this indeed is just convention; the OS of course has no
idea whether an executable's source code had a main function called
main() or WinMain(), if either at all. That is just a convention for C
and C++ programs. Whether an executable is for the console or
"Windows" subsystem is determined by a single flag in the executable
header, and this can even be changed with editbin. Nothing prevents a
console executable from opening windows and have a GUI, and nothing
forces a GUI executable to actually have a GUI.
2011-05-13 15:07:59 +03:00
Radek Doulik
e0cd0ee1ec change the version info so that we are not identified at runtime as 3.0.x
- fixes https://bugs.freedesktop.org/show_bug.cgi?id=37017

Signed-off-by: Petr Mladek <pmladek@suse.cz>
2011-05-12 19:17:25 +02:00
Radek Doulik
6794e6e91b change the version info so that we are not identified at runtime as 3.0.x
- fixes https://bugs.freedesktop.org/show_bug.cgi?id=37017
2011-05-12 15:13:11 +02:00
Kalman Szalai - KAMI
25d454eb59 Add OxygenOffice related settings
* Start download package name with OOOP in case of OxygenOffice
* Ability to create oxygenoffice product
2011-05-12 12:25:40 +02:00
Tor Lillqvist
f33232a3ff Fix building of the 64-bit Windows Explorer extension, fdo#36950
Don't confuse the 64-bit Explorer extension with a 64-bit LibreOffice,
which is unfinished and highly experimental work. OOo has been
building and distributing a 64-bit Explorer extension since long, and
we should too. They used some secret Hamburg sauce when building it,
though, but hopefully now it works here, too.
2011-05-11 12:33:32 +03:00
Tor Lillqvist
b5e83746c5 Use MKDIRHIER consistently 2011-05-11 12:33:30 +03:00
Petr Mladek
949434f57e bump product version to 3.4.0-beta5, release number to 5 2011-05-10 18:03:46 +02:00
Thorsten Behrens
746504762e Unit test locale now forced by other means
This was only working for Linux, anyway.
2011-05-09 16:18:13 +02:00
Robert Nagy
8792807405 use Cwd::realpath to avoid confusion with symlinked dirs 2011-05-09 16:09:45 +02:00
Robert Nagy
416e88eef9 use Cwd::realpath to avoid confusion with symlinked dirs 2011-05-09 16:08:45 +02:00
Andras Timar
4c9275720e Revert "use $realpath()" - fdo#36927
This reverts commit 5fbddf4910999590edcf557efa1a6a4b9cdd5664.
2011-05-08 06:35:21 +02:00
Tor Lillqvist
4d7ae8d143 Use MKDIRHIER to avoid "File exists" errors (which are ignored, but still) 2011-05-06 10:37:53 +03:00
Andras Timar
555cb7a51c use $realpath() 2011-05-05 11:02:37 +02:00
David Tardon
24828bba2c make GDBCPPUNITTRACE usable with gbuild 2011-05-05 09:34:39 +02:00
Thorsten Behrens
708def7d94 Fix ooinstall -l case
Removing destdir prefix for dev-install case is not a good idea
2011-05-05 07:50:18 +02:00
Kalman Szalai - KAMI
170b2d27bd Add OxygenOffice related settings
* Start download package name with OOOP in case of OxygenOffice
* Ability to create oxygenoffice product
2011-05-04 04:45:32 +02:00
Bjoern Michaelsen
434f7f0234 always request an unversioned lib from gcc in gccinstlib.pl
* this otherwise breaks on ubuntu natty as there is (rightfully) no libgcc_s.so.1 file served by gcc -print-file-name
2011-05-04 01:55:36 +02:00
Petr Mladek
643e82382d bump product version to 3.4.0-beta4, release number to 4 2011-05-03 20:00:22 +02:00
Petr Mladek
d27be9390f ooinstall: use DESTDIR also for the Cwd::realpath call
this solution is not perfect because Cwd::realpath($ENV{DESTDIR})
need not be part of Cwd::realpath($ENV{DESTDIR} . $arg). Let's
solve this when it really cause troubles.
2011-05-03 15:14:26 +02:00
Miklos Vajna
55fb624ac0 ooinstall: respect DESTDIR
The problem was that ooinstall just passed -destdir to
make_installer.pl, but before that, it tried to create the root
directory, where it did not respect DESTDIR.

Signed-off-by: Petr Mladek <pmladek@suse.cz>
2011-05-03 14:51:51 +02:00
David Tardon
c0c029c3fe do not announce if there is nothing to do 2011-05-03 06:03:27 +02:00
David Tardon
f8fed539d1 these targets are impl. details--do not announce 2011-05-03 06:03:26 +02:00
Jan Holesovsky
7e8f9a4db1 Run all tests in the en_US.UTF-8 locale.
The locele affects some tests, eg. sc_ucalc.cxx.
2011-05-02 10:50:56 +02:00
Andras Timar
e94687599c sync langlist.mk and postset.mk (supported UI languages)
langlist.mk was used by gnumake modules
postset.mk was used by dmake modules
unsupported languages were removed from langlist.mk
postset.mk now includes langlist.mk to avoid duplication
2011-05-01 17:11:04 +02:00
Jan Holesovsky
7667fa2e3c Updates to make vcl building. 2011-04-29 19:14:29 +02:00
Jan Holesovsky
fd4bda4ca1 Run all tests in the en_US.UTF-8 locale.
The locele affects some tests, eg. sc_ucalc.cxx.
2011-04-28 18:51:12 +02:00
Andras Timar
2f734f54a6 put L10N_MODULE definition to set_soenv instead of settings.mk
and remove alternative l10n locations from settings.mk
2011-04-28 18:12:39 +02:00
Jan Holesovsky
7defe712ce Make 'make dev-install' do something even on Windows.
It creates an install set only, but better than just throwing an error ;-)
2011-04-28 09:18:27 +02:00
Robert Nagy
2c2c275f16 add -DBOOST_NO_EXCEPTIONS to gb_LinkTarget_NOEXCEPTIONFLAGS 2011-04-27 17:42:48 +02:00
Andras Timar
811560a41f use /tmp instead of /instsetoo_native/util for temporary files 2011-04-27 15:46:38 +02:00
Robert Nagy
881dcc4f2d add -DBOOST_NO_EXCEPTIONS to gb_LinkTarget_NOEXCEPTIONFLAGS 2011-04-27 17:42:07 +02:00
Robert Nagy
7b7214e5a3 set STAR_RESOURCEPATH before calling gdb 2011-04-27 14:19:46 +02:00
Robert Nagy
9dbb1958ab set STAR_RESOURCEPATH before calling gdb 2011-04-27 14:18:56 +02:00
Petr Mladek
b23846d15e bump product version to 3.4.0-beta3, release number to 3 2011-04-26 17:08:19 +02:00
Tor Lillqvist
97bfc27b4b Kill BrOffice, fdo#36262 2011-04-26 14:27:20 +03:00
Andras Timar
32352e1ce8 put L10N_MODULE definition to set_soenv instead of settings.mk
and remove alternative l10n locations from settings.mk
2011-04-26 10:27:13 +02:00
Andras Timar
a765a3e7c3 fix L10N_MODULE path on Windows 2011-04-26 09:24:59 +02:00
Francois Tigeot
92bee75069 Remove OS/2 code. 2011-04-25 08:05:22 +02:00
David Tardon
dc825f76d6 depend on the used components 2011-04-24 09:49:15 +02:00
David Tardon
8dd571ddb7 depend on udkapi.rdb too 2011-04-24 09:48:09 +02:00
David Tardon
54ebdf3c21 move common UNO stuff to CppunitTest 2011-04-23 21:07:58 +02:00
David Tardon
fac629fbdd add class for creating service rdbs 2011-04-23 21:07:58 +02:00
Norbert Thiebaud
40ce81a033 add support, in gbuild, for objective/C (in addition to objective/C++) 2011-04-23 10:35:37 -05:00
Francois Tigeot
d97ff3e736 Temporary fix for a LD_LIBRARY_PATH not propagated issue. 2011-04-22 20:01:28 +02:00
Jan Holesovsky
fc1e9f253d Merge branch 'DEV300_m106' into libreoffice-3-4
Conflicts:
	Module_ooo.mk
	Repository.mk
	configure
	configure.in
	ooo.lst
	scp2/source/ooo/file_library_ooo.scp
	scp2/source/ooo/makefile.mk
	scp2/source/ooo/module_hidden_ooo.scp
	solenv/config/sdev300.ini
	solenv/config/ssolar.cmn
	solenv/gbuild/AllLangResTarget.mk
	solenv/gbuild/ComponentTarget.mk
	solenv/gbuild/CppunitTest.mk
	solenv/gbuild/Deliver.mk
	solenv/gbuild/JavaClassSet.mk
	solenv/gbuild/JunitTest.mk
	solenv/gbuild/Library.mk
	solenv/gbuild/LinkTarget.mk
	solenv/gbuild/Module.mk
	solenv/gbuild/Output.mk
	solenv/gbuild/SdiTarget.mk
	solenv/gbuild/TargetLocations.mk
	solenv/gbuild/gbuild.mk
	solenv/gbuild/platform/linux.mk
	solenv/gbuild/platform/macosx.mk
	solenv/gbuild/platform/solaris.mk
	solenv/gbuild/platform/windows.mk
	solenv/gbuild/platform/winmingw.mk
	solenv/inc/minor.mk
2011-04-22 15:07:18 +02:00
Jan Holesovsky
5c8186bdd3 Spaces to tabs in solenv/gbuild. 2011-04-21 23:26:09 +02:00
David Tardon
38b89de958 sd has some images in imagelst subdir... 2011-04-21 20:50:30 +02:00
David Tardon
4594ffdf24 add pck to the delivery dirs 2011-04-21 20:50:29 +02:00
David Tardon
d90ba18ac0 list one target per line 2011-04-21 20:50:29 +02:00
David Tardon
ad773c4cc3 gbuildize slideshow 2011-04-21 20:50:28 +02:00
Bjoern Michaelsen
9b15ef7581 enable CHECKOBJECTOWNER by default now, warn instead of error 2011-04-21 18:30:43 +02:00
Andras Timar
535bee89a2 fix L10N_MODULE path on Windows 2011-04-21 07:06:02 +02:00
Luboš Luňák
75c72d86b7 don't link soffice.bin and stuff back into src tree
This is 7e585ded0f1cce41fd3dec6146526d07783d2d38 again,
removed in 981e63a40a5918135f3547c849394a36f8012af9, probably by mistake.
With the linking it's possible that soffice.bin becomes the wrapper
script that ends up calling itself recursively.
2011-04-20 16:18:59 +02:00
Luboš Luňák
190d20d74e don't link soffice.bin and stuff back into src tree
This is 7e585ded0f1cce41fd3dec6146526d07783d2d38 again,
removed in 981e63a40a5918135f3547c849394a36f8012af9, probably by mistake.
With the linking it's possible that soffice.bin becomes the wrapper
script that ends up calling itself recursively.
2011-04-20 16:14:29 +02:00
Hanno Meyer-Thurow
eed8e0b62e make the installation dir better configurable
install to %libdir% intead of %prefix% as it is usual for other projects;
use the usual DESTDIR instead of OODESTDIR

Note that the default installation path is /usr/local/lib/libreoffice;
it can be redefined by --prefix, --libdir, --with-install-dirname
configure options

Some of these changes contributed by Petr Mladek <pmladek@suse.cz>
2011-04-20 15:30:08 +02:00
Petr Mladek
c3bcb02fb8 bump product version to 3.4.0beta2, release number to 2 2011-04-19 18:13:06 +02:00
Petr Mladek
12cbe77bed fix build with older gcc that does not read options via @file
needed to fix build on SLED10 with gcc-4.1.2
we want to use @$(extraobjectlist) in the long run
2011-04-19 17:35:40 +02:00
Petr Mladek
f11a0e77f4 fix build with older gcc that does not read options via @file
needed to fix build on SLED10 with gcc-4.1.2
we want to use @$(extraobjectlist) in the long run
2011-04-19 17:32:44 +02:00
Petr Mladek
dc709df41a bump PRODUCTVERSION to 3.4 also in solenv/inc/productversion.mk (fdo#36277) 2011-04-19 13:52:19 +02:00
Petr Mladek
e596738017 bump PRODUCTVERSION to 3.4 also in solenv/inc/productversion.mk (fdo#36277) 2011-04-19 13:48:41 +02:00
Jan Holesovsky
1aa690299a 'paths', not 'pathes'... 2011-04-19 09:36:52 +02:00
Robert Nagy
552e623414 sync with unxgcc.mk 2011-04-18 21:49:39 +02:00
Caolán McNamara
c0c30966c5 seem to need shlwapi here too 2011-04-18 20:01:07 +01:00
Caolán McNamara
d9ce9150c4 bubble down configure test findings on visibility 2011-04-18 20:01:07 +01:00
Robert Nagy
a7c5fac228 sync with unxgcc.mk 2011-04-18 19:36:55 +02:00
Tor Lillqvist
dbcf68f61e Kill UPDMINOR and UPDMINOREXT stuff
As far as I know we have no intention to use that stuff. Do we ever
have any idea what it means? But sure, if it turns out that we do want
to, this commit will have to be reverted.
2011-04-18 14:05:39 +03:00
Tor Lillqvist
d08e2d0f25 Remove two OS/2 files 2011-04-18 13:18:36 +03:00
Norbert Thiebaud
9b44ffb5fc gcc-4.0 on MacOSX does not support the @file syntax 2011-04-17 13:20:34 -05:00
Norbert Thiebaud
2174045ac7 gcc-4.0 on MacOSX does not support the @file syntax 2011-04-17 13:19:42 -05:00
David Tardon
9c778f8527 add support for resource templates
That is, resource files containing localizable data that are included
from other resource files. They have filenames like foo_tmpl.hrc
(sometimes foo_tmpl.src) and are included as foo.hrc . They were handled
by listing them in LOCALIZE_ME variable in the old build system.
2011-04-17 19:06:09 +02:00
Bjoern Michaelsen
3d2cc7b5da provide a rule for explicit deps 2011-04-16 20:52:32 +02:00
Bjoern Michaelsen
3b88453baf add gb_CppunitTest_uses_ure for unittests using URE 2011-04-16 20:52:32 +02:00
Bjoern Michaelsen
5105f2598b gb_CHECKOBJECTOWNER=T allows to check for objects linked multiple times 2011-04-16 14:25:37 +02:00
Bjoern Michaelsen
6b80623e80 gbuild support for final extensions 2011-04-16 14:17:59 +02:00
Jan Holesovsky
15a1260bd7 Detect the prefix of the cl.exe -showIncludes output. 2011-04-15 14:20:36 +02:00
Jan Holesovsky
4d1bdd7a08 Use cl.exe's -showIncludes to generate dependency files. 2011-04-15 14:20:36 +02:00
Tor Lillqvist
20ba3c4ae8 Kill OS/2 stuff 2011-04-15 14:08:09 +03:00
Caolán McNamara
4db32f1d29 move this in here so that on windows we convert paths to win format 2011-04-14 17:34:52 +03:00
David Tardon
f6323fb886 define gb_LinkTarget_add_generated_cxxobjects 2011-04-14 16:16:08 +02:00
Luboš Luňák
6efe9918d3 add -Wl,-O1 as linker optimization flags when debug is disabled 2011-04-14 15:06:31 +02:00
Francois Tigeot
08d49db2aa Remove CVER.
It is no longer used.
2011-04-14 13:41:19 +02:00
Caolán McNamara
1090e9dbca move this in here so that on windows we convert paths to win format 2011-04-13 20:35:07 +01:00
Luboš Luňák
0b5b56be4d switch -ggdb3 to -ggdb2 to significantly reduce binaries sizes
http://lists.freedesktop.org/archives/libreoffice/2011-April/010408.html
2011-04-13 14:02:56 +02:00
Luboš Luňák
57ec5069ec switch -ggdb3 to -ggdb2 to significantly reduce binaries sizes
http://lists.freedesktop.org/archives/libreoffice/2011-April/010408.html
2011-04-13 14:02:07 +02:00
Julien Nabet
6811d994ec fno-default-inline removed for CFLAGS since it's valid only for C++ 2011-04-12 22:36:15 +02:00
Bjoern Michaelsen
0812c77743 set STAR_RESOURCEPATH for cppunit tests to find resources from solver 2011-04-12 18:18:09 +02:00
Bjoern Michaelsen
c5046e93a8 add support for auxiliary arguments to the cppunit tests 2011-04-12 18:18:09 +02:00
Bjoern Michaelsen
37d41b23e4 fixing up extra object list support 2011-04-12 18:18:09 +02:00
Bjoern Michaelsen
84edb157a5 make get_linktargetname public again so unittests can find the object lists 2011-04-12 18:18:09 +02:00
Luboš Luňák
19c922f1d2 $(WITH_LINKER_HASH_STYLE) also for gbuild 2011-04-11 17:01:23 +02:00
Bjoern Michaelsen
0814799090 remove debug output 2011-04-11 12:32:48 +02:00
Bjoern Michaelsen
3db91b7f80 set STAR_RESOURCEPATH for cppunit tests to find resources from solver 2011-04-11 12:32:48 +02:00
Bjoern Michaelsen
ac3f888b4c add support for auxiliary arguments to the cppunit tests 2011-04-11 12:25:04 +02:00
Michael Meeks
244c7ccf6a make relocate cope with more corner cases: no solver & fixed links 2011-04-08 13:11:46 +01:00
Andras Timar
427de9a0c8 s/OOo/LibreOffice/ in a printed string 2011-04-08 12:59:33 +02:00
Caolán McNamara
b9bc97d455 allow setting DEBUGCPPUNIT=TRUE to dump a gdb try/catch trace 2011-04-07 11:37:56 +01:00
Petr Mladek
f115ddb6f7 Merge remote-tracking branch 'origin/libreoffice-3-4' 2011-04-06 19:25:22 +02:00
David Tardon
9da441f0c4 remove duplicate code
This was introduced by commit 3726b1a63e0783953fee9c65d8c0cee3fd6cf85b .
2011-04-06 12:47:49 +02:00
David Tardon
0d75184488 $(1) is not defined here 2011-04-06 12:07:40 +02:00
David Tardon
937aae1b27 use just order-only dep. on cppunittester 2011-04-06 12:07:39 +02:00
Michael Meeks
5197d9ff86 re-write symlinks too to avoid serious confusion 2011-04-05 18:14:45 +01:00
Michael Meeks
38a3d0a81d fix relocate to re-write the new dependency files 2011-04-05 17:18:19 +01:00
Robert Nagy
b67a62b703 use the GNUMAKE environment variable for telling the user what to run 2011-04-05 18:01:40 +02:00
Robert Nagy
436d41a84a use the GNUMAKE environment variable for telling the user what to run 2011-04-05 17:55:43 +02:00
Robert Nagy
ee699fcdbd use the GNUMAKE environment variable for telling the user what to run 2011-04-05 17:54:04 +02:00
Bjoern Michaelsen
c18c4c0f68 hint at make -r for GNU make modules 2011-04-05 17:48:46 +02:00
Tor Lillqvist
2e705f35c2 Add two new lines to .versionrc (version.ini on Windows)
"Vendor" with the value of OOO_VENDOR, and "BuildVersion" with the
value of BUILD_VER_STRING. These get their values from the
--with-vendor and --with-build-version switches of the configure
script.

From the build-identification.diff patch, has been part of distro
OOo/LO builds for long.
2011-04-05 17:56:20 +03:00
Caolán McNamara
84568d73b8 fix build 2011-04-05 14:45:17 +01:00
David Tardon
4620f155b5 do not define NDEBUG on debug level 1 2011-04-05 14:32:28 +02:00
David Tardon
8542a0d05d fix typo 2011-04-05 14:32:28 +02:00
David Tardon
31979fa2c5 update the dbglevel comment 2011-04-05 14:32:27 +02:00
Bjoern Michaelsen
7a5e0f474f fixing up extra object list support 2011-04-05 11:51:04 +02:00
Bjoern Michaelsen
2f3793391e make get_linktargetname public again so unittests can find the object lists 2011-04-05 11:51:04 +02:00
Caolán McNamara
a956d777b5 G_SLICE for memcheck only 2011-04-05 09:26:36 +01:00
David Tardon
7cc69243e7 fix typo 2011-04-05 08:56:36 +02:00
Caolán McNamara
6128599cc7 tweak VALGRINDTOOL for helgrind/memcheck 2011-04-04 17:10:43 +01:00
Michael Meeks
bc5759ed7d friendlier error on malformed par files 2011-04-04 16:08:25 +01:00
Norbert Thiebaud
98553de136 add the ability to imports objects directly into a CppUnitTest Link
some cppunit test need to link directly with the object of the module
they are meant to test, due to the fact that the API they use/test
are not necessarily exported in the public interface of the
module's dynamic library.

This patch add the mean to export the list of objects used in the link of
specific target library, and a mean to import these into the link of
a cppunit.

Only unxgcc.mk has been modified so far to support the later

This is not intended to be use to import objects accross module boundaries
2011-04-04 09:17:24 -05:00
Caolán McNamara
fa502cf881 restore c++0x flags 2011-04-04 10:28:38 +01:00
Robert Nagy
65be428ea6 rework how pthread is handled on openbsd
- remove -pthread from PTHREAD_CFLAGS
- add pthread to gb_STDLIBS
- redefine gb_LinkTarget__command_dynamiclink so that we can
  substitute -lpthread with -pthread in the list of libraries
  that we link to
2011-04-04 00:28:18 +02:00
Robert Nagy
7237a871ba rework how pthread is handled on openbsd
- remove -pthread from PTHREAD_CFLAGS
- add pthread to gb_STDLIBS
- redefine gb_LinkTarget__command_dynamiclink so that we can
  substitute -lpthread with -pthread in the list of libraries
  that we link to
2011-04-04 00:26:22 +02:00
Robert Nagy
f0bfd04f72 merge the bsd platform makefiles into one per platform 2011-04-03 23:51:23 +02:00
Robert Nagy
5ded3ab2ab merge the bsd platform makefiles into one per platform 2011-04-03 23:48:52 +02:00
Francois Tigeot
682884dc1c Revert "Remove jpropex, it is unused."
This reverts commit 8c2458ef96f14eb96ca011a18c98c975c332d981.
2011-04-03 22:54:32 +02:00
Robert Nagy
bc42d93482 add -Wl,--sysroot=$(SYSBASE) to gb_LinkTarget_LDFLAGS only if SYSBASE is !nil 2011-04-03 22:15:59 +02:00
Robert Nagy
da9f525995 add -Wl,--sysroot=$(SYSBASE) to gb_LinkTarget_LDFLAGS only if SYSBASE is !nil 2011-04-03 22:13:19 +02:00
Francois Tigeot
c462e933f8 Remove jpropex, it is unused. 2011-04-03 15:15:32 +02:00
Bjoern Michaelsen
a59e57ab2c skip Junit test, when no Junit available 2011-04-01 13:49:12 +02:00
Release Engineering
e2d7881b2e DEV300 2011-04-01 12:32:51 +02:00
Ivo Hinkelmann
50628e59cb CWS-TOOLING: integrate CWS solaris11 2011-04-01 10:23:05 +02:00
Ivo Hinkelmann
4b2ca8301e CWS-TOOLING: integrate CWS calcvba 2011-04-01 09:34:55 +02:00
Petr Mladek
d1ea3841d1 add rule how to unpack .oxt files
useful to update a 3rd party one
2011-03-31 18:15:44 +02:00
Caolán McNamara
b20f3427ed we only need the java lib path to link bean 2011-03-31 13:36:19 +01:00
Tor Lillqvist
83c048b89b Don't check the directories for uniqueness multiple times
Wen building a multi-language installer the subroutine
create_unique_directorynames() is called for each language. The same
directory names will be traversed each time. It needs to check the
uniqueness of them only the first time, otherwise it will think every
directory name is repeated.

The check is new, from OOo, but they don't build multi-language
installers so they have not noticed this problem.

The solution is a bit hacky but works.
2011-03-31 14:35:44 +03:00
Ivo Hinkelmann
a80265ac48 masterfix DEV300: #i10000# build fixes 2011-03-30 18:52:07 +02:00
Petr Mladek
d9d13ce5b8 solenv-dummy-localize-sdf.diff: make the dummy localize.sdf working (i#113389) 2011-03-30 17:30:10 +02:00
Petr Mladek
16da377da8 solenv-installer-lang-filelist-names.diff: avoid double lang string
do not print twice the lang name in the filelist
for example, generate gid_Module_Langpack_Basis_es instead of
gid_Module_Langpack_Basis_es.es
2011-03-30 17:23:12 +02:00
Petr Mladek
985532f27c solenv-installer-cleaner-paths.diff: do not create '.' subdirectories
omit './' in paths
2011-03-30 17:19:53 +02:00
Fridrich Štrba
d7c0f54934 Use the right name for a library, so that it knows when we refer to it 2011-03-30 15:00:11 +02:00
Tor Lillqvist
6edca00ebc Kill solenv/config once more 2011-03-30 15:50:15 +03:00
Tor Lillqvist
da0aa4715e Move code inserted in previous commit to correct place 2011-03-30 14:40:04 +03:00
Tor Lillqvist
a7c3b749ae Don't pass a Cygwin path no a non-Cygwin program 2011-03-30 14:00:38 +03:00
Michael Stahl
5e9ffbb85e solaris11: #i117606#: solaris.mk: add -Bdirect -z defs to LDFLAGS 2011-03-30 09:35:06 +00:00
Jan Holesovsky
3ffc8fb3f3 Build with no optimizations already with dbglevel == 1.
Based on talk with David Tardod, the dbglevels are supposed to be:

0 - product
1 - debug
2 - advanced debug (with additional code)
2011-03-30 10:58:11 +02:00
David Tardon
0e3291b6ff safer way to set debug level 2011-03-30 07:23:51 +02:00
David Tardon
5bb42850c2 Revert "Default to debuglevel 2 when building with debug=true (using gnu make)."
This reverts commit 8fe706327e09764c46dc1813f5e583857fca3d05.
2011-03-30 07:21:33 +02:00