1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
Commit Graph

74 Commits

Author SHA1 Message Date
Stefan Metzmacher
2d404f2934 r14371: - make 'make CC_CHECKER=foo' possible
can be used with sparse (http://www.kernel.org/git/?p=devel/sparse/sparse.git;a=summary)
or other C code analyzers.

metze
(This used to be commit e616953159)
2007-10-10 13:57:15 -05:00
Jelmer Vernooij
9865048bf4 r14361: Support 'helper' attribute in pidl and use it.
Remove some headers from include/includes.h (they're now only included
in the file they are used)
(This used to be commit 7213b7498e)
2007-10-10 13:57:14 -05:00
Jelmer Vernooij
2b06074b25 r14350: Keep "make proto". It's hard to forget old habits. :-)
(This used to be commit e0d96ecfb4)
2007-10-10 13:57:14 -05:00
Jelmer Vernooij
7a121583b4 r14349: Kill proto.h!
Prototypes are now spread over multiple headers, usually one per subsystem.
This change is required to allow proper header dependencies later on,
without recompiling Samba each time the mtime of any source file changes.
(This used to be commit 3da79bf909)
2007-10-10 13:57:14 -05:00
Jelmer Vernooij
e153a8099e r14327: Replace MAJOR_VERSION/MINOR_VERSION/RELEASE_VERSION with two parameters:
- VERSION: should contain the current version. Will be made part of the filename.
 - SO_VERSION: should contain the latest version that this on is compatible to. Will be used for setting the soname of the shared library.

Fix sonames and use them on platforms that support them
Remove symlinking code. ldconfig will take care of creating the symlinks now
that we set the soname.
(This used to be commit 7871b07e21)
2007-10-10 13:57:12 -05:00
Jelmer Vernooij
d563c448f7 r14322: Remove the BROKEN_CC flag for now. None of the buildfarm hosts has
a C compiler that doesn't support -c and -o together and it makes the build
system more complicated. This also means the current handling of broken C
compilers is most likely broken as it isn't tested.

This detection can be readded when we stumble upon a C compiler that supports
both C99 (or at least the parts of it we need) and also has broken -c/-o
handling, which I think is unlikely to happen.
(This used to be commit 7fd74cfbb9)
2007-10-10 13:57:12 -05:00
Jelmer Vernooij
3cad0b87dc r14281: Pull apart LIBDIR and MODULESDIR
Move architecture-independent data to DATADIR (was LIBDIR)
(This used to be commit 2c7b62a861)
2007-10-10 13:57:07 -05:00
Jelmer Vernooij
f710a30dc4 r14097: Remove subsystem names when installing modules (they're already installed
in a subsystem-specific directory)
No longer install smb.h as it only contains (internal) constants.
(This used to be commit b76126628c)
2007-10-10 13:56:50 -05:00
Jelmer Vernooij
306b12ad49 r14094: Use saner module directory names, fix loading of server service modules.
(This used to be commit b6ffad3860)
2007-10-10 13:56:49 -05:00
Stefan Metzmacher
6500444a2d r14072: - only add the 'lib' prefix to libraries not modules
- fix installation of plugins (and make it a bit more verbose
- get rid of the '#define libfoo_module_init init_module'
  and genereated a wrapper function in bin/libfoo_module_init_module.c
- change the standard visibility for modules to hidden
- a few make clean fixes

metze
(This used to be commit 89b5667ab0)
2007-10-10 13:54:02 -05:00
Jelmer Vernooij
17ae598141 r13938: Around round of splitups
(This used to be commit 2d655f0528)
2007-10-10 13:52:29 -05:00
Jelmer Vernooij
9bd7dd9121 r13926: More header splitups.
(This used to be commit 930daa9f41)
2007-10-10 13:52:26 -05:00
Jelmer Vernooij
4ac2be9958 r13924: Split more prototypes out of include/proto.h + initial work on header
file dependencies
(This used to be commit 1228358767)
2007-10-10 13:52:24 -05:00
Jelmer Vernooij
2e0c1ee9a6 r13905: include/includes.h now includes param/param.h..
(This used to be commit 408ecfb754)
2007-10-10 13:52:21 -05:00
Jelmer Vernooij
dfc517b053 r13658: More moving around of files:
- Collect the generic utility functions into a lib/util/ (a la GLib is
		for the GNOME folks)
 - Remove even more files from include/
(This used to be commit ba62880f5b)
2007-10-10 13:52:05 -05:00
Jelmer Vernooij
559ba6f12a r13653: Copy headers from the right place
(This used to be commit 5e884f156f)
2007-10-10 13:52:04 -05:00
Andrew Bartlett
bc72dfa91a r13246: Print winbindd pipe location correctly.
Andrew Bartlett
(This used to be commit fc045b42c2)
2007-10-10 13:51:37 -05:00
Andrew Bartlett
b70009649a 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
(This used to be commit 8866aa06ff)
2007-10-10 13:51:37 -05:00
Jelmer Vernooij
8adec6d363 r13158: Fix setup and ejs paths
(This used to be commit c3bc39bd71)
2007-10-10 13:51:30 -05:00
Andrew Bartlett
2f8b1050e1 r13153: Try to move closer to FHS. This probably breaks everything...
Andrew Bartlett
(This used to be commit 2c02a45d5a)
2007-10-10 13:51:29 -05:00
Jelmer Vernooij
818db3efd6 r13070: Add a simple smbd manpage, based on the Samba 3 one.
(This used to be commit cbcce3b573)
2007-10-10 13:51:21 -05:00
James Peach
b0f70f066a r12972: Use single quotes in the showflags and showlayout targets to stop the
shell interpreting the expanded make variables.
(This used to be commit ae7541a377)
2007-10-10 13:51:13 -05:00
Jelmer Vernooij
5c8447773f r12801: Some more include/ cleanups (remove unused macros + move files
to specific dirs)
(This used to be commit 243cf760b0)
2007-10-10 13:49:57 -05:00
Stefan Metzmacher
022553500b r12772: - create variables for the %(patsubst ...) statements for the idl files
- this also fixes the build on BSD systems

metze
(This used to be commit 31ff172773)
2007-10-10 13:49:52 -05:00
Andrew Bartlett
5c69a8f7e5 r12751: Another make clean fix.
Andrew Bartlett
(This used to be commit 9e6997d5bd)
2007-10-10 13:49:49 -05:00
Jelmer Vernooij
63d718e243 r12696: Reduce the size of include/structs.h
(This used to be commit 6391761601)
2007-10-10 13:49:40 -05:00
Jelmer Vernooij
78c50015bb r12694: Move some headers to the directory of the subsystem they belong to.
(This used to be commit c722f665c9)
2007-10-10 13:49:39 -05:00
Jelmer Vernooij
25bb00fbcd r12693: Move core data structures out of smb.h into core.h
torture prototypes in seperate header
(This used to be commit 73610639b2)
2007-10-10 13:49:39 -05:00
Stefan Metzmacher
1a83c7388f r12675: fix some dependencies and don't use long lines
metze
(This used to be commit 80bf8b5716)
2007-10-10 13:49:36 -05:00
Jelmer Vernooij
bc4aebfaec 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
(This used to be commit f9eede3d40)
2007-10-10 13:49:35 -05:00
Stefan Metzmacher
83acc688e3 r12615: prepare building with ../samba4/source/configure --srcdir=../samba4/source/
metze
(This used to be commit bf35c74218)
2007-10-10 13:49:04 -05:00
Stefan Metzmacher
6eec6cd9d0 r12559: use the selftest_prefix, we should use this for all make test output,
(e.g. the pidl tests and tdbtests, tridge, jelmer can you look at this)
to not polute the source/ directory with a lot of files

metze
(This used to be commit 4636f9ee7d)
2007-10-10 13:47:58 -05:00
Andrew Tridgell
fc8fef69fd r12556: added 'make gdbtest'
this runs smbd under gdb in a xterm, and starts the quicktest
tests. Then you can set a breakpoint on an interesting place. This
makes it easier to track down where something is happening in the test
suite (I used it to find the NTLMSSP annoyance from the previous
commit)
(This used to be commit 2c3b7585c7)
2007-10-10 13:47:57 -05:00
Andrew Tridgell
020cd6b95b r12550: - fixed 'make pch' to always rebuild the gch file. The dependencies
were wrong, and we were using old gch files after include changes,
  so safest to just rebuild when the user specifically asks for 'make
  pch'

- fixed deps for includes.h so 'make pch' can work after a clean build

- changed 'make valgrindtest' to run valgrind on both client and
  server binaries
(This used to be commit d39c749c71)
2007-10-10 13:47:56 -05:00
Jelmer Vernooij
2cd5ca7d25 r12542: Move some more prototypes out to seperate headers
(This used to be commit 0aca5fd513)
2007-10-10 13:47:55 -05:00
Jelmer Vernooij
1f70087663 r12530: Let include/includes.h depend on lib/basic.h (which it includes)
(This used to be commit 90129b081e)
2007-10-10 13:47:52 -05:00
Jelmer Vernooij
0a3c167f6b r12528: Add seperate proto headers for ntvfs, tdr, smb_server and nbt_server.
(This used to be commit 87f665a1d5)
2007-10-10 13:47:51 -05:00
Jelmer Vernooij
7285e102f0 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)
(This used to be commit 60e11f5758)
2007-10-10 13:47:51 -05:00
Jelmer Vernooij
10c183d9ae 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.
(This used to be commit cdfd20fa17)
2007-10-10 13:47:51 -05:00
Jelmer Vernooij
448483199f 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).
(This used to be commit b6d2ad4ce0)
2007-10-10 13:47:45 -05:00
Jelmer Vernooij
1ac5c35ed9 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.
(This used to be commit a4088ccc70)
2007-10-10 13:47:41 -05:00
Jelmer Vernooij
52728b7d41 r12446: Merge mkproto.sh's functionality into mkproto.pl
Allow specifying the _PUBLIC_ keyword on functions to indicate a function
is public.

Public prototypes can now be written to a seperate header, although this
functionality is not used yet.
(This used to be commit e3466df6df)
2007-10-10 13:47:40 -05:00
Stefan Metzmacher
49b10f4def 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
(This used to be commit 11da32df31)
2007-10-10 13:47:30 -05:00
Stefan Metzmacher
356eed3fe8 r12302: - create the logfilebase directory with make install
- get rid of unreadable long lines

metze
(This used to be commit 98fa61714b)
2007-10-10 13:47:28 -05:00
Jelmer Vernooij
4bc1cc52ec r12256: Add helper script for installing pkg-config files
(This used to be commit c05ffb05c8)
2007-10-10 13:47:25 -05:00
Jelmer Vernooij
ab31a44216 r12254: Add some (hopefully correct) descriptions for libraries that are installed.
Install pkg-config files.
(This used to be commit a86abe84e2)
2007-10-10 13:47:24 -05:00
Jelmer Vernooij
f8be4e8a4f r12253: Automatically build seperate binaries without -rpath to install when
using shared libraries and developer mode is enabled.
(This used to be commit 507bee76dc)
2007-10-10 13:47:24 -05:00
Jelmer Vernooij
470ba9434a r12219: Use some more common functions
(This used to be commit 57ea480c24)
2007-10-10 13:47:21 -05:00
Jelmer Vernooij
66014ca14d r11391: Add includedir to the list of directories to create
(This used to be commit dab450a501)
2007-10-10 13:45:30 -05:00
Jelmer Vernooij
3f2136b919 r11387: Remove pidl from the default 'install' target as it doesn't obey the
user specified install paths.
(This used to be commit d537a35ec3)
2007-10-10 13:45:29 -05:00