Commit graph

30 commits

Author SHA1 Message Date
Michael Stahl
5032dc0fc3 gbuild: invert handling of standard system libraries:
Always link in gb_STDLIBS, except when the library explicitly opts out
with gb_LinkTarget_disable_standard_system_libs.

Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
2012-09-28 16:49:08 +02:00
Michael Stahl
b85c349783 gbuild: replace direct gb_STDLIBS use with ...
... new gb_LinkTarget_add_standard_system_libs

Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28 16:49:06 +02:00
Michael Stahl
2e677c3981 gbuild: split uwinapi out of gb_STDLIBS
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-09-28 16:49:05 +02:00
David Tardon
947244c188 convert custom makefile code into a package
Change-Id: I72b41e4826b7e93b5c8aeacbf6d9d52e3780f090
2012-05-02 10:56:22 +02:00
Michael Stahl
c923f7d2c2 gbuild: "use" vs. "add":
Naming convention for gbuild methods:
- "add" is used for stuff that is logically a part of the target
  (i.e. not registered at the Module, but defined in the target's makefile)
- "use" is used for stuff that is logically a different target
  (i.e. it is registered at the Module, has it's own makefile, may be
  in a different module than the target)
2012-04-08 01:05:52 +02:00
Michael Stahl
813a57cb1a fdo#47246: desktop: factor out a winextendloadenv static library 2012-03-14 16:23:30 +01:00
Andras Timar
ceb14e0143 fdo#37740 remove duplicate icons from soffice.bin/soffice.exe 2012-01-18 19:16:06 +01:00
Norbert Thiebaud
42bd571e07 OS_FOR_BUILD is not right do decide Host module name 2012-01-11 15:50:35 +01:00
Jan Holesovsky
ee24a236e1 Revert "OS_FOR_BUILD is not right do decide Host module name"
This reverts commit 39cfc4d8ad.

This OS_FOR_BUILD is to modify behavior in the cross-compilation case.
2012-01-11 09:37:09 +01:00
Norbert
39cfc4d8ad OS_FOR_BUILD is not right do decide Host module name 2012-01-10 22:28:43 -06:00
Tor Lillqvist
25e10370fe Link most libs and executables with gb_STDLIBS as presumably is intended 2011-12-20 01:12:23 +02:00
Andras Timar
f19e6305cd link icons to soffice.bin fdo#42979 2011-12-07 20:39:33 +01:00
Andras Timar
76aad07712 'copyright text to see as text in the soffice binary' deleted 2011-12-07 14:45:43 +01:00
Caolán McNamara
c8ef924060 normalize Red Hat, Inc. spellings, and bump to latest template 2011-12-06 21:24:37 +00:00
Andras Timar
549f928863 Revert "temporary hack: soffice.bin should be type of GUI app, not CUI app fdo#42914"
This reverts commit d764796547.
Bjoern fixed it correctly, this hack is not needed.
2011-12-01 10:30:44 +01:00
Andras Timar
d764796547 temporary hack: soffice.bin should be type of GUI app, not CUI app fdo#42914
It is puzzling that Executable_soffice.bin.mk contains the line
$(eval $(call gb_Executable_set_targettype_gui,$(sofficebin),YES))
yet, in the build log we see -SUBSYSTEM:CONSOLE among the linker flags.
I added -SUBSYSTEM:WINDOWS flag exlicitely, and it comes later so it
prevails. I guess MinGW will be still affected. It really should be
fixed correctly by a gbuild expert.
2011-11-30 12:08:43 +01:00
Norbert Thiebaud
3f2ff54778 remove pch from the include list 2011-11-27 15:24:45 -06:00
Norbert Thiebaud
992757cc5e remove pre-compiled header support in gbuild and gbuildified module 2011-11-27 11:49:38 -06:00
Bjoern Michaelsen
f222b01170 there is no rule for the manifest, so we need to depend on the lib only
- or maybe better: have an rule for manifest files on windows, instead of creating them as a sideeffect
2011-11-08 14:21:23 +01:00
Michael Meeks
cfa5d651db add soffice.bin generation to the desktop/ module rule to fix win32 2011-11-07 11:38:28 +00:00
Michael Meeks
e4bc48f37f fix Win32 manifest linking: get dependencies the right way around
the .bin depends on the _bin.exe and not vv.
also -f is required for rm in phony clean rules
2011-11-04 11:56:12 +00:00
Bjoern Michaelsen
cca7126c29 very,very ugly hack to get the soffice.bin name
the previous solution couldnt work:
- Packages are toplevel targets, so they need to be in a separate file
- However, Packages should not be used here as it interferes with the
  pattern rules on $(OUTDIR)/bin
- replacing those instead with explicit (non-pattern) rules for this
  exceptional case
- depending from the regular target in $(OUTDIR) on the special one
- depending from the special target on the $(WORKDIR) one
2011-11-01 12:47:47 +01:00
Tor Lillqvist
4f3e9f30a0 Always link with user32 2011-09-22 15:46:15 +03:00
Tor Lillqvist
8a915ad95f Simplify the manifest dance 2011-09-22 15:35:11 +03:00
Jan Holesovsky
b0ddd564c1 Fix manifest creation in the MinGW case (and hopefully not breaking native). 2011-09-22 12:49:10 +02:00
Caolán McNamara
e629526bf5 Fixes for MSVC build 2011-09-21 19:53:10 +03:00
Caolán McNamara
0538506fb4 ah, not windows only of course 2011-09-21 15:33:40 +01:00
Caolán McNamara
aba21544bc get it to link with msvc at least 2011-09-21 15:11:03 +01:00
Jan Holesovsky
558ebfde8d Avoid officeloader -> soffice renaming dance, build that directly. 2011-09-20 11:01:45 +02:00
David Tardon
6df9c479f5 gbuildize desktop 2011-09-15 14:49:34 +02:00