summaryrefslogtreecommitdiff
path: root/source4/build
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r13786: [merge] Add registration functions for LDB modulesJelmer Vernooij3-2/+11
Applications that use LDB modules will now have to run ldb_global_init() before they can use LDB. The next step will be adding support for loading LDB modules from .so files. This will also allow us to use one LDB without difference between the standalone and the Samba-specific build (This used to be commit 52a235650514039bf8ffee99a784bbc1b6ae6b92)
2007-10-10r13654: Move some more stuff out of include/Jelmer Vernooij2-7/+7
(This used to be commit 2ec7bba03a2edf713004941e9ed74798f5cf8d32)
2007-10-10r13269: ${prefix} is a special case in the autoconf/build system, and shouldAndrew Bartlett1-2/+2
be escaped as \${prefix}, otherwise it evaluates too early as "NONE". Andrew Bartlett (This used to be commit 6b42029de99011986c1fa7bfd5833dbbbf476206)
2007-10-10r13263: Check whether open(2) will accept the O_DIRECT flag. This should fix theJames Peach1-0/+12
build on NetBSD. (This used to be commit 7354de62a7fbf3921dfcb0bd865e89bdf1ef5bcd)
2007-10-10r13249: Check for alloca.h. popt needs this.James Peach1-0/+1
(This used to be commit 08bdaa8e106caeab675aaca5124f0e59fa20cc8c)
2007-10-10r13248: Revert revision 13071. It turns out that sys/param.h can be implicitlyJames Peach1-21/+0
included from other headers. In this case, undeffing MIN and MAX is a really bad idea because the subsequent include of sys/param.h will do nothing because of its include guards. (This used to be commit 8aa8be93b09cfbd176455738dfd305047030fd50)
2007-10-10r13244: Allow control of the location of the Samba3-compatible winbindd pipeAndrew Bartlett2-0/+20
in Samba4. This allows us to start winbindd by default, including in 'make test'. This is via a new 'winbindd socket directory' parameter for utilities linked against loadparm, as well as a --with-winbindd-socket-dir option to configure (setting the default and the value for simple clients). I hope to add basic winbindd tests, to ensure continued correct operation, but at least now I don't have to manually change my 'server services' line. The other problem with the hard-coded /tmp/.winbind is that RedHat has moved this in Fedora (to /var/run I think). For this reason, this functionality should probably be ported to Samba3 as well. The default for Samba4 is PREFIX/var/run/winbind_pipe. I have also re-added the paranoia checks from Samba3 for correct permissions on the socket directory. Andrew Bartlett (This used to be commit 8866aa06ffc3896094c878e9c07b40c03826d9a7)
2007-10-10r13243: Bring __FUNCTION__ checks across from Samba 3.James Peach1-0/+8
(This used to be commit 92eec049628a79f8d9496c6d199d6de0238e7940)
2007-10-10r13241: Work around missing AS_HELP_STRING definition in autoconf 2.57. FixJames Peach1-0/+5
from Brad Hards <bradh@frogmouth.net>. (This used to be commit 3ade52398a345cc50c1bf52298e36ab1804b00ec)
2007-10-10r13227: revert some more stuff from 13208Stefan Metzmacher1-4/+1
metze (This used to be commit 03a0363850b7b38fc3621dfde38504d66156e728)
2007-10-10r13225: Enable full compiler warnings for developer mode on IRIX.James Peach1-3/+7
(This used to be commit 2aefbcb47272536d8c2229f8b199f7cd7da7d890)
2007-10-10r13208: Clearly separate named pipes from the IPC$ NTVFS type.Jelmer Vernooij1-1/+4
This allows the easy addition of additional named pipes and removes the circular dependencies between the CIFS, RPC and RAP servers. Simple tests for a custom named pipe included. (This used to be commit 898d15acbd18e3b302a856c847e08c22c5024792)
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)