summaryrefslogtreecommitdiff
path: root/source4/build
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r13163: as we don't import the raw magic configure vars forStefan Metzmacher2-13/+12
libdir, datadir, sysconfdir,localstatedir into our Makefile we need to expand them in configure I'll maybe rework this later but for now this works metze (This used to be commit 615b82f7c73ff52ab62489ec635aefecf2b2f04c)
2007-10-10r13153: Try to move closer to FHS. This probably breaks everything...Andrew Bartlett2-53/+10
Andrew Bartlett (This used to be commit 2c02a45d5a6c79ced7aea0f7e9d23fae19c2d127)
2007-10-10r13152: Jelmer assures me that this won't break anything, but does make itAndrew Bartlett1-7/+9
much clearer where things go. Andrew Bartlett (This used to be commit 655076d51b9213a8dba348c10c044f27709b61c6)
2007-10-10r13071: Work around a really annoying compiler warning where header fileJames Peach1-0/+21
ordering causes MIN and MAX to be redefined. (This used to be commit 0eda8a31975fa6cf4f7026bccc5468fba957860d)
2007-10-10r13070: Add a simple smbd manpage, based on the Samba 3 one.Jelmer Vernooij1-1/+1
(This used to be commit cbcce3b5731d27e863c916731fe30acac0602c16)
2007-10-10r12896: IRIX make will fallback to gmake with this,Stefan Metzmacher1-0/+1
as normal IRIX make doesn't support shell commands or functions in $(FOO) variables metze (This used to be commit de7b0b2dc9616c007916cce9d69051f76d4fd559)
2007-10-10r12836: use: -fvisibility=hidden ↵Stefan Metzmacher1-0/+19
-D_PUBLIC_="__attribute__((visibility(\"default\")))" if the compiler supports it, this will cause that modules can only access public functions (gcc 4 supports this) metze (This used to be commit bcf4c362556b8168fc0b63af5708e4a78c7b93fb)
2007-10-10r12805: merge from samba3Stefan Metzmacher1-2/+2
metze (This used to be commit e6dff57793c302f8537274a628dba8ab01a2fed8)
2007-10-10r12772: - create variables for the %(patsubst ...) statements for the idl filesStefan Metzmacher2-5/+3
- this also fixes the build on BSD systems metze (This used to be commit 31ff172773f1700bfd7ff24fc764d37d9b6e82c1)
2007-10-10r12753: Try to fix the build after a 'make clean'. (the wildcards will notAndrew Bartlett1-0/+1
expand because they don't exist yet). Thanks again to HotaruT. Andrew Bartlett (This used to be commit d3abfecec5c9468e93d2d40181ce5d20f8135566)
2007-10-10r12693: Move core data structures out of smb.h into core.hJelmer Vernooij3-8/+12
torture prototypes in seperate header (This used to be commit 73610639b23ca3743077193fa0b1de7c7f65944d)
2007-10-10r12680: Support setting the environment variable SMB_BUILD_VERBOSE toJelmer Vernooij2-6/+13
print out more debug info (This used to be commit a54fefbfc5b2796cf8c47f22629ec86bca39cd39)
2007-10-10r12671: Modules don't have to be linked with their subsystem.Jelmer Vernooij1-1/+0
(This used to be commit 8f5edcc6a2ec02a496ef77b7044a56bb8f4be0f1)
2007-10-10r12670: Make a couple of dependencies stricterJelmer Vernooij3-2/+6
Re-introduce and use the OUTPUT_TYPE property for MODULEs to force specific modules to always be included (This used to be commit f9eede3d40098eddc3618ee48f9253cdddb94a6f)
2007-10-10r12658: Couple of fixes related to shared module builds.Jelmer Vernooij1-3/+1
(This used to be commit c297c93faf3b748de68679f5a4be50845ebe25fe)
2007-10-10r12638: fix the build on BSD systemsStefan Metzmacher1-9/+9
metze (This used to be commit cd3cc29fdc2c0b9ffd82253857a7968e3324ea9b)
2007-10-10r12623: Another round of fixes for the prototypes of tables.cJelmer Vernooij1-5/+1
(This used to be commit fb5b22e3dc9ad0892817ae72a73e1e80f3db75c5)
2007-10-10r12620: Get rid of automatically generated lists of init functions of ↵Jelmer Vernooij2-33/+0
subsystems. This allows Samba libraries to be used by other projects (and parts of Samba to be built as shared libraries). (This used to be commit 44f0aba715bfedc7e1ee3d07e9a101a91dbd84b3)
2007-10-10r12615: prepare building with ../samba4/source/configure ↵Stefan Metzmacher6-17/+32
--srcdir=../samba4/source/ metze (This used to be commit bf35c74218476fc568e251bb337e794ed9d51fac)
2007-10-10r12613: workarround a BSD make bug, where $< gets expanded to ↵Stefan Metzmacher1-2/+2
'torture/libnet/userman.c' when $@ is 'libnet/userman.o' metze (This used to be commit 48d975cc5e4c3c2a5c6fe84e5b245c0d8529c5d1)
2007-10-10r12589: Add missing newline.Jelmer Vernooij1-1/+1
(This used to be commit 86fe24e606c72a21853b8f2cd0989bb1598ebf6a)
2007-10-10r12542: Move some more prototypes out to seperate headersJelmer Vernooij1-0/+2
(This used to be commit 0aca5fd5130d980d07398f3291d294202aefe3c2)
2007-10-10r12528: Add seperate proto headers for ntvfs, tdr, smb_server and nbt_server.Jelmer Vernooij1-0/+1
(This used to be commit 87f665a1d5ba74289974bf9d8f9441c162e6f1b1)
2007-10-10r12523: Convert the registry subsystem to use a seperate prototype headerJelmer Vernooij2-7/+15
(note that this doesn't use the distinction between private and public prototypes yet) (This used to be commit 60e11f575821c1762b25ad66441b6e69ad1167ef)
2007-10-10r12520: Add support for --help to mkproto.plJelmer Vernooij4-6/+32
Allow the use of {PRIVATE,PUBLIC}_PROTO_HEADER for [SUBSYSTEM] and [LIBRARY] sections in .mk files. Public functions can be marked by adding _PUBLIC_ between their return type and function name. This should eventually make include/proto.h and include/structs.h obsolete. (This used to be commit cdfd20fa17c5c4655689e8611e0106d5716b6995)
2007-10-10r12513: Similar change as my previous commit, but now for transfer syntaxes.Jelmer Vernooij1-1/+1
Avoids converting a static string to GUID every time we check whether a transfer syntax is equal to that of NDR. (This used to be commit 8dcfcaf75ab8cf4a54cf5e56f6be25acc68e3989)
2007-10-10r12500: Use init functions explicitly in a few more places. 'gensec' and ↵Jelmer Vernooij1-1/+2
'librpc' are the only two subsystems left to convert. (This used to be commit f6bbc72996aeee8607fc583140fd60be0e06e969)
2007-10-10r12499: Move smb_build.h out of includes.hJelmer Vernooij1-3/+0
(This used to be commit c92ace494f92084ddf178626cdf392d151043bc7)
2007-10-10r12498: Eliminate INIT_OBJ_FILES and ADD_OBJ_FILES. We were not usingJelmer Vernooij3-15/+5
the difference between these at all, and in the future the fact that INIT_OBJ_FILES include smb_build.h will be sufficient to have recompiles at the right time. (This used to be commit b24f2583edee38abafa58578d8b5c4b43e517def)
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)