summaryrefslogtreecommitdiff
path: root/source4/build/smb_build/env.pm
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r11377: Add support for building LIBRARY elements as shared libraries:Jelmer Vernooij1-4/+7
- Adds -rpath bin/ so you don't have to install Samba in order to use compiled binaries. - Writes out pkg-config files when building shared libs - Supports automatic fallback to MERGEDOBJ (which is the default) or OBJ_LIST (if ld -r is not supported) Building with shared libs reduces the size of the Samba binaries from 197 Mb to 60 Mb (including libraries) on my system (GCC4, with debugging). To build with shared libraries support enabled, run: LIBRARY_OUTPUT_TYPE=SHARED_LIBRARY ./config.status init functions don't get called correctly yet when using shared libs, so you won't be able to actually run anything with success :-) Once init functions are done, I'll look at support for loading shared modules once again. Based on a patch by Peter Novodvorsky (nidd on IRC). (This used to be commit 0b54405685674a2b19a28d77aae5b1136b5a4728)
2007-10-10r11311: Move some more logic to envJelmer Vernooij1-2/+31
(This used to be commit 990419bac7ce335ffcec84017614eb9642a6ece6)
2007-10-10r11307: Add support for generating pkg-config filesJelmer Vernooij1-0/+23
(This used to be commit 9c211507c15092ce09fd519cd0ffadf4b9f69492)
2007-10-10r11257: Add and use output functionJelmer Vernooij1-0/+6
(This used to be commit 734da63a4e7ff44d9417066300383bbf7cd08d8f)
2007-10-10r11252: Make makefile.pm OO and descend from envJelmer Vernooij1-2/+4
(This used to be commit c53b32e0932ef6c048f8aec23ec6df2fe66a7887)
2007-10-10r11247: Add environment classJelmer Vernooij1-0/+41
(This used to be commit 90c3f8b3beda525b700688fc4d6ed0584ff2e27c)