1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-17 02:05:21 +03:00

253 Commits

Author SHA1 Message Date
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 ae7541a377eb9bd4a5b8b2bd779811e354f80d4a)
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 243cf760b077e155f5ac508aeebf819f7708a84e)
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 31ff172773f1700bfd7ff24fc764d37d9b6e82c1)
2007-10-10 13:49:52 -05:00
Andrew Bartlett
5c69a8f7e5 r12751: Another make clean fix.
Andrew Bartlett
(This used to be commit 9e6997d5bde306f442b2c7379870af6495e11d25)
2007-10-10 13:49:49 -05:00
Jelmer Vernooij
63d718e243 r12696: Reduce the size of include/structs.h
(This used to be commit 63917616016133c623fc6ff59454bc313ee7dd8f)
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 c722f665c90103f3ed57621c460e32ad33e7a8a3)
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 73610639b23ca3743077193fa0b1de7c7f65944d)
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 80bf8b5716bf49b5aaf289cee66a6aac72877dad)
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 f9eede3d40098eddc3618ee48f9253cdddb94a6f)
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 bf35c74218476fc568e251bb337e794ed9d51fac)
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 4636f9ee7d066f5e24393f94644dbf74c42b9039)
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 2c3b7585c76d13107d1b0d31aebef961627cdbc3)
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 d39c749c71d66dd21e37cdaa75daaaeab5f4be0a)
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 0aca5fd5130d980d07398f3291d294202aefe3c2)
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 90129b081e5bda3c69c3f01f53704b5d34817605)
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 87f665a1d5ba74289974bf9d8f9441c162e6f1b1)
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 60e11f575821c1762b25ad66441b6e69ad1167ef)
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 cdfd20fa17c5c4655689e8611e0106d5716b6995)
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 b6d2ad4ce0a91c4be790dd258820c492ff1787ea)
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 a4088ccc704f1338c040c53596ff606cc1651d03)
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 e3466df6dfb62bbf8bee3acfa92996945054c2dd)
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 11da32df31db8cd0836bf66ce2650cb1c43c24c5)
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 98fa61714b61d8a725b1aca82f830fd0d24456d3)
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 c05ffb05c85475669d72afcc183cfb54bd7c73d5)
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 a86abe84e2cae7c6188c094a92c6b62aace02fdf)
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 507bee76dc26b048ead317ec5e10a9deb1ff7f09)
2007-10-10 13:47:24 -05:00
Jelmer Vernooij
470ba9434a r12219: Use some more common functions
(This used to be commit 57ea480c24ff914dfa6cbc5a309020b21fa4af39)
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 dab450a50194181aed14e93130eb2a1c42e616d0)
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 d537a35ec3d5fb2dc5143c1fb880faab5c64a862)
2007-10-10 13:45:29 -05:00
Jelmer Vernooij
42c5211bf4 r11386: Add install rule for pidl
(This used to be commit b740d0d28043e37ba3f0bec0c1bfbd68c0fb56e6)
2007-10-10 13:45:29 -05:00
Jelmer Vernooij
93fd08168f r11377: Add support for building LIBRARY elements as shared libraries:
- 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-10 13:45:28 -05:00
Jelmer Vernooij
b89c019824 r11307: Add support for generating pkg-config files
(This used to be commit 9c211507c15092ce09fd519cd0ffadf4b9f69492)
2007-10-10 13:45:17 -05:00
Jelmer Vernooij
344a0ebb43 r11306: Move more static Makefile data to main.mk
Clean up smb_build::makefile a bit
(This used to be commit 28931219a19317f6c7208086416bc675bb259179)
2007-10-10 13:45:16 -05:00
Jelmer Vernooij
8ee1ee66ed r11303: Support defining and installing public headers for libraries.
Support installing libraries.
Get rid of pkg-config file (will be autogenerated later on).
(This used to be commit b4745032a2c55752c527026feb221ccc3dce10c8)
2007-10-10 13:45:16 -05:00
Jelmer Vernooij
d316c68cf3 r11257: Add and use output function
(This used to be commit 734da63a4e7ff44d9417066300383bbf7cd08d8f)
2007-10-10 13:45:09 -05:00
Jelmer Vernooij
4c5a4a7e02 r11244: Relative path names in .mk files
(This used to be commit 24e10300906c380919d2d631bfb3b8fd6b3f54ba)
2007-10-10 13:45:06 -05:00
Stefan Metzmacher
e44c76ebd7 r11004: r10083@SERNOX: metze | 2005-09-08 16:50:32 +0200
This is the start of a WINS-Replicaton server:

 The design is to handle incoming and outgoing connections,
 in one process, because it make thing much easier, and there's
 no need to it otherwise.

 The current code only parses incoming packets, and can reply
 to them, but currently only a standard error packets STOP_ASSOCIATON
 with reason == 4 (I think it means your are not configured as a wins partner of me)

 (the server service is called "wrepl")

 metze
(This used to be commit 55a2016ba379d035cd559fb55a280e2ee9f15178)
2007-10-10 13:41:14 -05:00
Andrew Bartlett
66af2d9e42 r10597: And add the .mk files for the new credentials subsystem.
Andrew Bartlett
(This used to be commit 51a0275a0e7ffc940f2403f3c74a00b3936a07f4)
2007-10-10 13:39:09 -05:00
Jelmer Vernooij
86acf90e43 r10294: Generate Makefile directly rather then thru Makefile.in. Autoconf
substitution variables are now no longer used.

This is one more step towards a (hopefully) perl-based configure
(This used to be commit 6f9956a1dd870c0669c288b0fe72b7b1c8773dd0)
2007-10-10 13:38:14 -05:00
Jelmer Vernooij
46ca543e19 r10041: Add 'gcov' make target. Run
'make clean gcov' to generate a set of files describing the test coverage
of the Samba 4 code.
(This used to be commit 72bb84add469ad4f027ddbd8d73bb846b0609fa2)
2007-10-10 13:36:32 -05:00
James Peach
fd4db6e26e r9939: Add configure check for yapp.
(This used to be commit 0300f2329c71429e43ed18e6f411985a76e5aad5)
2007-10-10 13:36:23 -05:00
Jelmer Vernooij
2280017bbd r9462: Fix locations for generating the yapp files
(This used to be commit 714f96b9bf2c6271f23bfcd35c58d5bf7b29aae2)
2007-10-10 13:34:18 -05:00
Jelmer Vernooij
efc03df292 r9459: Move pidl up one level (to prevent too much nesting)
(This used to be commit e48202275e60c18e464457d200daeb953386e221)
2007-10-10 13:34:17 -05:00
Jelmer Vernooij
7de12a8d50 r9448: Work on reading the secrets tdb. Build tdbsam support by default.
(This used to be commit 9ea601c0a675767f8ea5f316c9355572dffbc4c0)
2007-10-10 13:34:16 -05:00
Stefan Metzmacher
6243e2a304 r9078: - move charset stuff to lib/charset
- don't use the global $LIBS variable for -liconv as $LIBS is not used anymore

should fix the build on solaris 10

metze
(This used to be commit 69ade058fde8e4cc62e4830c0b080e720d8e581d)
2007-10-10 13:31:14 -05:00
Jelmer Vernooij
586838c306 r9052: Support lex/yacc compilers without support for -o
(This used to be commit e641d3a847f2dafc25e5555eed601325cbc86c07)
2007-10-10 13:31:12 -05:00
Stefan Metzmacher
4b8733c245 r9050: fix make pch all
metze
(This used to be commit eb2e26b7fb57704aa13e39737ead56fef886944f)
2007-10-10 13:31:12 -05:00
Stefan Metzmacher
3742b978cc r9049: - add property dependencies to include/proto.h
- make some stuff easier

metze
(This used to be commit 14b92e8a085f7d1a011b1663bf2a2728a907b0af)
2007-10-10 13:31:12 -05:00
Jelmer Vernooij
31867a9714 r9033: Add the 'installmisc' make target back again
(This used to be commit 8eff7263938eae8a51f42e732563fdfbc570a4b3)
2007-10-10 13:31:10 -05:00
Andrew Tridgell
acf85ac3ef r9002: a workaround for the current build problems. I hope this will allow
the build farm hosts to build again.

Jelmer, please feel free to remove this once you have the correct
dependencies sorted out
(This used to be commit ed3d76a91ffde3e4095877a50510dda479ef49c2)
2007-10-10 13:31:05 -05:00