summaryrefslogtreecommitdiff
path: root/source4/build
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r12494: Support loading modules from .so files for most subsystems.Jelmer Vernooij5-13/+38
We now use a different system for initializing the modules for a subsystem. Most subsystems now have an init function that looks something like this: init_module_fn static_init[] = STATIC_AUTH_MODULES; init_module_fn *shared_init = load_samba_modules(NULL, "auth"); run_init_functions(static_init); run_init_functions(shared_init); talloc_free(shared_init); I hope to eliminate the other init functions later on (the init_programname_subsystems; defines). (This used to be commit b6d2ad4ce0a91c4be790dd258820c492ff1787ea)
2007-10-10r12450: Move generation of proto and full object lists to makefile.pm. ↵Jelmer Vernooij4-27/+37
'make' now handles expanding the protoheader object list, rather then the build system, which makes the makefile quite a bit shorter. (This used to be commit a4088ccc704f1338c040c53596ff606cc1651d03)
2007-10-10r12379: export the detected perlStefan Metzmacher1-0/+1
metze (This used to be commit abfb04764637bff2c752675441046130628bad65)
2007-10-10r12325: - remove the hostcc object files with make cleanStefan Metzmacher1-0/+1
- move the .SUFFIXES statement before the suffix rules this fixes the build with bsd make metze (This used to be commit 11da32df31db8cd0836bf66ce2650cb1c43c24c5)
2007-10-10r12301: FHS 2.2 says that /var/cache/* contains only cached data, which can ↵Stefan Metzmacher1-1/+1
we removed without losing data, we should keep our databases under /var/lib/* should I merge this to samba3 too? metze (This used to be commit 82f5a0462e51e9e59d8d1ed402762d08cfca20fe)
2007-10-10r12266: add --with-libdir option to overwrite the result that is set by ↵Stefan Metzmacher1-0/+13
--with-fhs=yes/no metze (This used to be commit 8e3b0a99979021540a7fc741c441c6cc647755fe)
2007-10-10r12254: Add some (hopefully correct) descriptions for libraries that are ↵Jelmer Vernooij1-1/+6
installed. Install pkg-config files. (This used to be commit a86abe84e2cae7c6188c094a92c6b62aace02fdf)
2007-10-10r12253: Automatically build seperate binaries without -rpath to install whenJelmer Vernooij5-56/+80
using shared libraries and developer mode is enabled. (This used to be commit 507bee76dc26b048ead317ec5e10a9deb1ff7f09)
2007-10-10r12219: Use some more common functionsJelmer Vernooij2-36/+26
(This used to be commit 57ea480c24ff914dfa6cbc5a309020b21fa4af39)
2007-10-10r12218: Use common functions for generating listsJelmer Vernooij1-41/+27
(This used to be commit ba913b86e866a67402785d9177711beb16db2cab)
2007-10-10r12216: Couple of small fixes: reduce include/includes.h a bit, simplify headersJelmer Vernooij8-47/+39
in build/smb_build/, remove unused pstring macros (This used to be commit 432296207400636dd81d0929ec7b1b4cebbcaa62)
2007-10-10r12209: Fix some issues with XML entities.Jelmer Vernooij1-0/+1
(This used to be commit 754e51b19d2d1fd6be8e01d62b6ec892688f934c)
2007-10-10r12208: Remove obsolete scons directoryJelmer Vernooij7-210/+0
(This used to be commit e90abfcc7d84d0cae566ecf395dbef4b927de0f9)
2007-10-10r11481: Disable pre-linking on VMSJelmer Vernooij1-0/+5
(This used to be commit 2b3ad67b5d53e8c63d81e9fe4ef237c5c927d595)
2007-10-10r11417: Add TODO for the build systemJelmer Vernooij1-0/+12
(This used to be commit ad0019ad4ebba734ff1db31c53fd8b6ad085ead4)
2007-10-10r11388: Move dot-generating to a seperate perl executableJelmer Vernooij3-28/+32
(This used to be commit 31406f7aa540efc4c11e7546a12fdeee80e8db6c)
2007-10-10r11382: Require number of required M4 macrosJelmer Vernooij4-53/+27
Make MODULE handling a bit more like BINARY, LIBRARY and SUBSYSTEM Add some more PUBLIC_HEADERS (This used to be commit 875eb8f4cc658e6aebab070029fd499a726ad520)
2007-10-10r11377: Add support for building LIBRARY elements as shared libraries:Jelmer Vernooij6-36/+76
- 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 Vernooij3-32/+79
(This used to be commit 990419bac7ce335ffcec84017614eb9642a6ece6)
2007-10-10r11307: Add support for generating pkg-config filesJelmer Vernooij3-3/+40
(This used to be commit 9c211507c15092ce09fd519cd0ffadf4b9f69492)
2007-10-10r11306: Move more static Makefile data to main.mkJelmer Vernooij1-349/+89
Clean up smb_build::makefile a bit (This used to be commit 28931219a19317f6c7208086416bc675bb259179)
2007-10-10r11304: Add support back in for loading shared modules (not used yet)Jelmer Vernooij1-9/+0
(This used to be commit 90f49b6f70c4aaf0e4ab4fad2e6f9caeb0f6f3a6)
2007-10-10r11303: Support defining and installing public headers for libraries.Jelmer Vernooij3-1/+46
Support installing libraries. Get rid of pkg-config file (will be autogenerated later on). (This used to be commit b4745032a2c55752c527026feb221ccc3dce10c8)
2007-10-10r11300: Treat libraries as a special kind of subsystemJelmer Vernooij3-8/+6
(one that can also be built as a library and installed). (This used to be commit 98d1f9b1dc523ed88c5aa8d066030b33d74f62bf)
2007-10-10r11299: Try to fix build on Stratos VOS (doesn't support ld -r)Jelmer Vernooij3-6/+27
(This used to be commit 65c71bf354612a589049753d854e154482957573)
2007-10-10r11257: Add and use output functionJelmer Vernooij2-143/+126
(This used to be commit 734da63a4e7ff44d9417066300383bbf7cd08d8f)
2007-10-10r11254: Remove support for [TARGET:foo]-like .mk-file entriesJelmer Vernooij2-25/+0
(it is already possible to include verbatim make data) (This used to be commit 21e355d031c6233ed0f40207d716987931927c6c)
2007-10-10r11252: Make makefile.pm OO and descend from envJelmer Vernooij3-126/+127
(This used to be commit c53b32e0932ef6c048f8aec23ec6df2fe66a7887)
2007-10-10r11250: Fix a couple of issues in the heimdal/ dirs.Jelmer Vernooij1-2/+1
(This used to be commit f76374eba7d45b8ff2625914344e4b31ecdeca1d)
2007-10-10r11249: More OpenBSD make fixes...Jelmer Vernooij2-1/+6
(This used to be commit 118e3bc507b2694f7e5ea191950626931d8ebf29)
2007-10-10r11247: Add environment classJelmer Vernooij3-85/+123
(This used to be commit 90c3f8b3beda525b700688fc4d6ed0584ff2e27c)
2007-10-10r11245: Hopefully fix heimdal build on some hostsJelmer Vernooij1-1/+1
Fix manpage locations (This used to be commit 33c71c0fb13b55741f1b1fffc8945ccda6f3bf51)
2007-10-10r11244: Relative path names in .mk filesJelmer Vernooij2-4/+21
(This used to be commit 24e10300906c380919d2d631bfb3b8fd6b3f54ba)
2007-10-10r11184: Remove test that checks whether ftruncate() needs root, because I can'tJelmer Vernooij1-7/+0
find the file it tries to use (build/tests/ftruncroot.c) and the value it defines is not used anywhere. (This used to be commit 97bbf4a46035becaee50d242364146e3529cf631)
2007-10-10r10719: Remove __FUNCTION__ macro as it might not be available at all systemsJelmer Vernooij1-7/+7
(pointed out by John E. Malmberg) (This used to be commit 3169bbc15703b39943a11939e9dcccb2a9b4ad5d)
2007-10-10r10586: Add MergedObject() builder. Default to Library() ratherJelmer Vernooij1-0/+34
then StaticLibrary() (This used to be commit b53313dc517986c69a4e4cb8fe3885b696f8faa1)
2007-10-10r10526: BASEDIR must be set or we end up installing most of the binaries ↵Andrew Tridgell1-0/+1
into lib/ (This used to be commit 8ec69f8ddf4961f4b864fa98aa6f8ecf2e13511d)
2007-10-10r10525: change from AC_CHECK_TYPES() to AC_CHECK_TYPE() for intptr_t, so theAndrew Tridgell1-1/+0
type is always available, which means we need less #ifdefs (This used to be commit d4af4b11ae69a63fa3b2048e6d576055d86d2bb4)
2007-10-10r10510: Decrease the amount of data included by includes.h a bitJelmer Vernooij1-1/+0
(This used to be commit 03647e1321cf6c9bd6ced3945265f635e9468973)
2007-10-10r10480: Fix build for people that don't have pidl installedJelmer Vernooij1-2/+2
(This used to be commit 4cf25c8312b7da0cde0d618e7d386938e1d0adba)
2007-10-10r10478: More work on proto headers; we now generate a couple of smaller onesJelmer Vernooij1-2/+1
that are then included by include/proto.h (This used to be commit 703ffbaaaca11f3d8781cfe9e7542fcaa626d991)
2007-10-10r10476: Move some more types to libreplace. Fix missing strndup errorsJelmer Vernooij1-9/+1
for heimdal (This used to be commit e09ffdfb1dba289b79ac7e5a638bf5322d45ddc0)
2007-10-10r10456: More SCons fixes:Jelmer Vernooij5-94/+65
- Add framework for fallback generating code - Move pread / pwrite replacement functions to libreplace - Support pidl builds correctly - Support asn1 builds correctly - Move OS-specific checks to lib/replace/SConscript (This used to be commit fbbfad0a1f7dedbf48e835a864f8285f283d72f3)
2007-10-10r10452: Couple of small scons updates - ignore .sconsign filesJelmer Vernooij2-8/+11
(This used to be commit b2d2b4f23393c727ae3feeaf4b4b65bc03a673f7)
2007-10-10r10445: Add --header to pidl flags.Tim Potter1-2/+3
(This used to be commit 435c5bce00c069751aa59a09d7cae9c1cfbd724b)
2007-10-10r10443: Fix emitter for NdrMarshaller tool.Tim Potter1-1/+1
(This used to be commit 76341196b59fe6084dd7c4e1c5d9ef8f2a7e362d)
2007-10-10r10442: Build librpc/libndr_misc.a from librpc/idl/misc.idl. Doesn't quite workTim Potter1-3/+3
yet as scons somehow thinks it needs to put a directory called ndr_idl in the command line. (This used to be commit e4a54a4c49b958b56dc7822c800a3f5ff7eb0b60)
2007-10-10r10438: Move portability functions to lib/replace/; replace now simply ensuresJelmer Vernooij1-93/+7
that a given set of (working) POSIX functions are available (without prefixes to their names, etc). See lib/replace/README for a list. Functions that behave different from their POSIX specification (such as sys_select, sys_read, etc) have kept the sys_ prefix. (This used to be commit 29919a71059b29fa27a49b1f5b84bb8881de65fc)
2007-10-10r10436: Some thoughts on getting pidl working in scons.Tim Potter1-1/+7
(This used to be commit f1688a8066cd787aa630714ffc161eb0f30414f1)
2007-10-10r10414: Fix building of proto.hTim Potter1-1/+1
(This used to be commit 4a137e4e6eca0c5718835a92d93f8a16f0504db9)