1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-26 04:23:49 +03:00
Commit Graph

303 Commits

Author SHA1 Message Date
Jelmer Vernooij
2c74698032 r13960: Generate makefile rules for installing/removing shared modules. 2007-10-10 13:52:32 -05:00
Jelmer Vernooij
9a1d76c13d r13954: Add --enable-dso flag to ./configure that simplifies the ability to
do shared library-enabled builds.
2007-10-10 13:52:31 -05:00
Stefan Metzmacher
f4996fbacc r13943: the -rpath-link should be only used for binaries,
otherwise application linking to the installed lib would look
at the builddir for searching other libs

metze
2007-10-10 13:52:30 -05:00
Stefan Metzmacher
65bb303ff3 r13940: use the local vs. install linkerflag trick for shared libs too
metze
2007-10-10 13:52:29 -05:00
Jelmer Vernooij
557533b917 r13939: Fix bin/.dummy issues, add more ignores 2007-10-10 13:52:29 -05:00
Jelmer Vernooij
1228358767 r13924: Split more prototypes out of include/proto.h + initial work on header
file dependencies
2007-10-10 13:52:24 -05:00
Stefan Metzmacher
3e27534ad6 r13921: rename DEFAULT_VISIBILITY -> STANDARD_VISIBILITY
the standard is "hidden" and not "default", I hope this
name makes a bit less confusing

metze
2007-10-10 13:52:24 -05:00
Stefan Metzmacher
ab553c296f r13919: for us the standard for the visibility is "hidden"
and "default" means public

metze
2007-10-10 13:52:23 -05:00
Stefan Metzmacher
17be97240f r13918: fix whitespaces
metze
2007-10-10 13:52:23 -05:00
Jelmer Vernooij
c80a8f1102 r13903: Don't generate prototypes for modules and binaries in include/proto.h by
default.
2007-10-10 13:52:21 -05:00
Jelmer Vernooij
0c95bf0cd3 r13902: Stricter checking for the -fvisibility flag
Add two more proto headers.
2007-10-10 13:52:21 -05:00
Jelmer Vernooij
ba74f24e42 r13899: Get the shared library build building again. Just compiles for now,
but modules don't work yet..
(Run LIBRARY_OUTPUT_TYPE=SHARED_LIBRARY MODULE_OUTPUT_TYPE=SHARED_LIBRARY ./config.status)
2007-10-10 13:52:20 -05:00
Jelmer Vernooij
ea9988dfda r13898: Add a subsystem-specific DEFAULT_VISIBILITY property that can be used
to not export symbols when building shared libraries. Symbols that have to be
available to users of the library can be explicitly exported by
prepending them with _PUBLIC_ in the C source.
2007-10-10 13:52:20 -05:00
Jelmer Vernooij
d512b147e8 r13867: Wrap the cflags.sh hack in the build system. You can now simply
set subsystem-specific compiler flags in the .mk files.
2007-10-10 13:52:18 -05:00
Jelmer Vernooij
52a2356505 r13786: [merge] Add registration functions for LDB modules
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
2007-10-10 13:52:11 -05:00
Jelmer Vernooij
2ec7bba03a r13654: Move some more stuff out of include/ 2007-10-10 13:52:05 -05:00
Andrew Bartlett
8866aa06ff r13244: Allow control of the location of the Samba3-compatible winbindd pipe
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
2007-10-10 13:51:37 -05:00
Stefan Metzmacher
03a0363850 r13227: revert some more stuff from 13208
metze
2007-10-10 13:51:35 -05:00
Jelmer Vernooij
898d15acbd r13208: Clearly separate named pipes from the IPC$ NTVFS type.
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.
2007-10-10 13:51:34 -05:00
Stefan Metzmacher
615b82f7c7 r13163: as we don't import the raw magic configure vars for
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
2007-10-10 13:51:31 -05:00
Andrew Bartlett
2c02a45d5a r13153: Try to move closer to FHS. This probably breaks everything...
Andrew Bartlett
2007-10-10 13:51:29 -05:00
Jelmer Vernooij
cbcce3b573 r13070: Add a simple smbd manpage, based on the Samba 3 one. 2007-10-10 13:51:21 -05:00
Stefan Metzmacher
de7b0b2dc9 r12896: IRIX make will fallback to gmake with this,
as normal IRIX make doesn't support shell commands or functions
in $(FOO) variables

metze
2007-10-10 13:50:59 -05:00
Stefan Metzmacher
31ff172773 r12772: - create variables for the %(patsubst ...) statements for the idl files
- this also fixes the build on BSD systems

metze
2007-10-10 13:49:52 -05:00
Andrew Bartlett
d3abfecec5 r12753: Try to fix the build after a 'make clean'. (the wildcards will not
expand because they don't exist yet).  Thanks again to HotaruT.

Andrew Bartlett
2007-10-10 13:49:50 -05:00
Jelmer Vernooij
73610639b2 r12693: Move core data structures out of smb.h into core.h
torture prototypes in seperate header
2007-10-10 13:49:39 -05:00
Jelmer Vernooij
a54fefbfc5 r12680: Support setting the environment variable SMB_BUILD_VERBOSE to
print out more debug info
2007-10-10 13:49:37 -05:00
Jelmer Vernooij
8f5edcc6a2 r12671: Modules don't have to be linked with their subsystem. 2007-10-10 13:49:36 -05:00
Jelmer Vernooij
f9eede3d40 r12670: Make a couple of dependencies stricter
Re-introduce and use the OUTPUT_TYPE property for MODULEs to force
specific modules to always be included
2007-10-10 13:49:35 -05:00
Jelmer Vernooij
c297c93faf r12658: Couple of fixes related to shared module builds. 2007-10-10 13:49:35 -05:00
Stefan Metzmacher
cd3cc29fdc r12638: fix the build on BSD systems
metze
2007-10-10 13:49:11 -05:00
Jelmer Vernooij
fb5b22e3dc r12623: Another round of fixes for the prototypes of tables.c 2007-10-10 13:49:06 -05:00
Jelmer Vernooij
44f0aba715 r12620: Get rid of automatically generated lists of init functions of subsystems.
This allows Samba libraries to be used by other projects (and parts of
Samba to be built as shared libraries).
2007-10-10 13:49:06 -05:00
Stefan Metzmacher
bf35c74218 r12615: prepare building with ../samba4/source/configure --srcdir=../samba4/source/
metze
2007-10-10 13:49:04 -05:00
Stefan Metzmacher
48d975cc5e r12613: workarround a BSD make bug, where $< gets expanded to 'torture/libnet/userman.c'
when $@ is 'libnet/userman.o'

metze
2007-10-10 13:49:04 -05:00
Jelmer Vernooij
86fe24e606 r12589: Add missing newline. 2007-10-10 13:48:59 -05:00
Jelmer Vernooij
0aca5fd513 r12542: Move some more prototypes out to seperate headers 2007-10-10 13:47:55 -05:00
Jelmer Vernooij
87f665a1d5 r12528: Add seperate proto headers for ntvfs, tdr, smb_server and nbt_server. 2007-10-10 13:47:51 -05:00
Jelmer Vernooij
60e11f5758 r12523: Convert the registry subsystem to use a seperate prototype header
(note that this doesn't use the distinction between private
 and public prototypes yet)
2007-10-10 13:47:51 -05:00
Jelmer Vernooij
cdfd20fa17 r12520: Add support for --help to mkproto.pl
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.
2007-10-10 13:47:51 -05:00
Jelmer Vernooij
8dcfcaf75a r12513: Similar change as my previous commit, but now for transfer syntaxes.
Avoids converting a static string to GUID every time we check whether
a transfer syntax is equal to that of NDR.
2007-10-10 13:47:49 -05:00
Jelmer Vernooij
f6bbc72996 r12500: Use init functions explicitly in a few more places. 'gensec' and 'librpc'
are the only two subsystems left to convert.
2007-10-10 13:47:46 -05:00
Jelmer Vernooij
c92ace494f r12499: Move smb_build.h out of includes.h 2007-10-10 13:47:45 -05:00
Jelmer Vernooij
b24f2583ed r12498: Eliminate INIT_OBJ_FILES and ADD_OBJ_FILES. We were not using
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.
2007-10-10 13:47:45 -05:00
Jelmer Vernooij
b6d2ad4ce0 r12494: Support loading modules from .so files for most subsystems.
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).
2007-10-10 13:47:45 -05:00
Jelmer Vernooij
a4088ccc70 r12450: Move generation of proto and full object lists to makefile.pm. 'make' now
handles expanding the protoheader object list, rather then the build system,
	which makes the makefile quite a bit shorter.
2007-10-10 13:47:41 -05:00
Stefan Metzmacher
11da32df31 r12325: - remove the hostcc object files with make clean
- move the .SUFFIXES statement before the suffix rules
  this fixes the build with bsd make

metze
2007-10-10 13:47:30 -05:00
Jelmer Vernooij
a86abe84e2 r12254: Add some (hopefully correct) descriptions for libraries that are installed.
Install pkg-config files.
2007-10-10 13:47:24 -05:00
Jelmer Vernooij
507bee76dc r12253: Automatically build seperate binaries without -rpath to install when
using shared libraries and developer mode is enabled.
2007-10-10 13:47:24 -05:00
Jelmer Vernooij
57ea480c24 r12219: Use some more common functions 2007-10-10 13:47:21 -05:00