1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

226 Commits

Author SHA1 Message Date
Alexander Bokovoy
3c53cb85ce r15051: Remove directory creation from this rule; we use script/buildtree.pl for external build dir instead
(This used to be commit ba7b41bb57c926ba165260016c537622210b029b)
2007-10-10 14:04:04 -05:00
Alexander Bokovoy
9cf41988ff r15036: Add out of tree build support and see how buildfarm will respond to make constructs
(This used to be commit 9329854489e2c231ffb7986d39009e0936873c11)
2007-10-10 14:04:03 -05:00
Jelmer Vernooij
9dfdfc65b7 r15001: Add 'make dist'
(This used to be commit 16e67d04d40a156a60011bcf6247ebf6039bbf30)
2007-10-10 14:04:00 -05:00
Jelmer Vernooij
8e738cc6d4 r14866: Fix CFLAGS when building compile_et. This should fix the build
on some of the buildfarm hosts. Thanks to Richard Bollinger <rabollinger@gmail.com> for helping debug this.
(This used to be commit ab0c2ede27550f400c1ffb8fc1adbeddb477468e)
2007-10-10 13:59:44 -05:00
Jelmer Vernooij
0bc6e7a090 r14852: See if all target platforms support multiple .SUFFIXES lines.
(This used to be commit 137ed99e3527c5240533d59b6b98d1f01a849046)
2007-10-10 13:59:42 -05:00
Jelmer Vernooij
bb603cffaf r14654: Fix hcrypto link when using automatic dependencies
(This used to be commit 2db7109abf3cbf1b676077f8e7536644dc55dfab)
2007-10-10 13:59:05 -05:00
Andrew Bartlett
864d9b531d r14635: - Remove lex.c from SVN (it is built anyway, and having it in SVN
confuses things)

- Update Samba4 from lorikeet-heimdal

- Remove generated symlink on make clean

Andrew Bartlett
(This used to be commit a5c2b4cc92e807d18cb8df99bebf004fa4252e1e)
2007-10-10 13:59:02 -05:00
Jelmer Vernooij
59c427963f r14605: Create heimdal/lib/des/hcrypto symlink if it doesn't exist
(This used to be commit 303832bdc90f371c68185773009d143d1acf93ae)
2007-10-10 13:59:00 -05:00
Jelmer Vernooij
c2c7971119 r14562: Use VPATH to solve strange heimdal dependencies
(This used to be commit 4d09ffa7f128e881fc891988ea672ae93a7ab45d)
2007-10-10 13:58:47 -05:00
Jelmer Vernooij
0f98a4d451 r14558: Another two more static dependencies...
(This used to be commit 9938b7391ddc558e4962e342180738ce9891180e)
2007-10-10 13:58:46 -05:00
Jelmer Vernooij
356b739207 r14557: Add hack for asn1 files
(This used to be commit b4796266c3dcd000a034c94ed2ff249735d5db92)
2007-10-10 13:58:46 -05:00
Jelmer Vernooij
7b01c9e0c4 r14556: Fix some dependencies
(This used to be commit b5802770322678d3f9c2044039cc254024612f9b)
2007-10-10 13:58:46 -05:00
Jelmer Vernooij
c84cfc0ecc r14554: Write out header dependencies. This means all C files affected will be
rebuilt when a header file is changed. It also means parallel builds work now.

It will take a minute or so to generate all the dependency information,
but there should be no need to rebuild that information later on, unless
a file changes.

This behaviour is only enabled when building in developer mode
(--enable-developer) and requires a GNU make (or compatible). In all other
cases, the file 'static_deps.mk' is included, which contains some basic
hardcoded dependency information.
(This used to be commit eb435386f015ce1d89eb6f7e7837622ebd9e1951)
2007-10-10 13:58:45 -05:00
Jelmer Vernooij
781d122fb6 r14553: Use double colon feature in the makefile (supported by all buildfarm hosts!)
(This used to be commit f523c51b34c2305dcf861c542336f161a072a2f0)
2007-10-10 13:58:45 -05:00
Jelmer Vernooij
dcb912d23a r14545: Fix make dependency warning.
(This used to be commit 130db1abbe7f0998019bdf59332991b2a7d35eb2)
2007-10-10 13:58:43 -05:00
Jelmer Vernooij
b785a7c40c r14492: Fix shared libs - set SO_VERSION to 0 everywhere for now.
(This used to be commit 4682bc5ce047d81586447b9df82c91ed1fe677cf)
2007-10-10 13:57:32 -05:00
Jelmer Vernooij
71b4fd9792 r14477: Remove the NOPROTO property - it's no longer used as proto.h is gone.
(This used to be commit 9c37f847d32d2f327a88c53a90af0c73126b76be)
2007-10-10 13:57:30 -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 7871b07e21c85c63d0ecac4c31b98dc112d18af5)
2007-10-10 13:57:12 -05:00
Andrew Bartlett
b7afac2b83 r14198: Update Samba4 to current lorikeet-heimdal.
Andrew Bartlett
(This used to be commit 97a0a0e2fa6784e5fc5278f7a15b385ddcb6a3b3)
2007-10-10 13:56:58 -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 122835876748a3eaf5e8d31ad1abddab9acb8781)
2007-10-10 13:52:24 -05:00
Stefan Metzmacher
f8517b3874 r13922: - fix whitespaces
- remove some unused NOPROTO=YES on binaries

metze
(This used to be commit f57fd3c423ccfa4399c71559fd98d93a582e7a88)
2007-10-10 13:52:24 -05:00
Jelmer Vernooij
f6457b3d54 r13867: Wrap the cflags.sh hack in the build system. You can now simply
set subsystem-specific compiler flags in the .mk files.
(This used to be commit d512b147e8dda39016faf74a50a9d85bfc23a2eb)
2007-10-10 13:52:18 -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 ba62880f5b05c2a505dc7f54676b231197a7e707)
2007-10-10 13:52:05 -05:00
Andrew Bartlett
28d78c40ad r13107: Follow the lead of Heimdal's kpasswdd and use the HDB (hdb-ldb in our
case) as the keytab.

This avoids issues in replicated setups, as we will replicate the
kpasswd key correctly (including from windows, which is why I care at
the moment).

Andrew Bartlett
(This used to be commit 849500d1aa658817052423051b1f5d0b7a1db8e0)
2007-10-10 13:51:26 -05:00
Stefan Metzmacher
6b566e83a6 r12899: - fix warnings on AIX
- fix compilation of auth/kerberos/krb5_init_context.c on AIX

metze
(This used to be commit 0e1ad08a8515056f4ed0923889bef04d85b84964)
2007-10-10 13:51:00 -05:00
Andrew Bartlett
fc6f41d70d r12752: Clean up compile_et and asn1_compile as well.
Andrew Bartlett
(This used to be commit 2a6023d7414c1c337bb24a8c6882a17380cbc658)
2007-10-10 13:49:50 -05:00
Andrew Bartlett
44384b4afa r12750: Clean up more asn1 generated files (pointed out by <HotaruT>).
Andrew Bartlett
(This used to be commit 5d42638170245b684b45459d0538ea86fa811214)
2007-10-10 13:49:49 -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
Jelmer Vernooij
d8e35f8828 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.
(This used to be commit b24f2583edee38abafa58578d8b5c4b43e517def)
2007-10-10 13:47:45 -05:00
Stefan Metzmacher
e17e21172a r12380: add a wraper script that calls the perl scripts in heimdal_build/
with the correct perl version, that was detected with configure

metze
(This used to be commit 9e103e53d1245e44563eea78d398d1de9895bd0e)
2007-10-10 13:47:32 -05:00
Stefan Metzmacher
aca9da26c7 r12378: fix perl warnings
metze
(This used to be commit 918e7b4043f6c92997e66d552f62bf1bef81fb81)
2007-10-10 13:47:32 -05:00
Stefan Metzmacher
019a322c56 r12288: make sure we always include heimdal_build/config.h, before
heimdal/lib/roken/roken.h, this fixes the build on the 64bit machines

metze
(This used to be commit 657345da222a7aa0fc2c8d96881a969805a4d7a5)
2007-10-10 13:47:27 -05:00
Andrew Bartlett
fbf106f670 r12269: Update to current lorikeet-heimdal. This changed the way the hdb
interface worked, so hdb-ldb.c and the glue have been updated.

Andrew Bartlett
(This used to be commit 8fd5224c6b5c17c3a2c04c7366b7e367012db77e)
2007-10-10 13:47:26 -05:00
Jelmer Vernooij
a4e7bf3a89 r11382: Require number of required M4 macros
Make MODULE handling a bit more like BINARY, LIBRARY and SUBSYSTEM
Add some more PUBLIC_HEADERS
(This used to be commit 875eb8f4cc658e6aebab070029fd499a726ad520)
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
Andrew Bartlett
14a3abd559 r11314: Use a patch from lha to have the kerberos libs extract the PAC, rather
than doing ASN.1 parsing in Samba.

Also use the API function for getting a client from a ticket, rather
than just digging in the structure.

Andrew Bartlett
(This used to be commit 25d5ea6d724bd2b64a6086ae6e2e1c5148b8ca4a)
2007-10-10 13:45:18 -05:00
Andrew Bartlett
f3cac0433d r11290: Make it clear that Heimdal is always included, no need for the test
any more.

Andrew Bartlett
(This used to be commit ec56590b063caa99f29be2b18409a69c3f22cf29)
2007-10-10 13:45:14 -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
Jelmer Vernooij
f4d590662e r11214: Remove scons files (see http://lists.samba.org/archive/samba-technical/2005-October/043443.html)
(This used to be commit 7fffc5c9178158249be632ac0ca179c13bd1f98f)
2007-10-10 13:45:03 -05:00
Jelmer Vernooij
5058f4b9e8 r10586: Add MergedObject() builder. Default to Library() rather
then StaticLibrary()
(This used to be commit b53313dc517986c69a4e4cb8fe3885b696f8faa1)
2007-10-10 13:39:08 -05:00
Jelmer Vernooij
d345bab9c0 r10531: (hopefully) improve detection of socket-related functions in external libraries
(This used to be commit 20a1aba500c64dc530271a96af8d557bc54af960)
2007-10-10 13:39:02 -05:00
Jelmer Vernooij
f801ad3592 r10510: Decrease the amount of data included by includes.h a bit
(This used to be commit 03647e1321cf6c9bd6ced3945265f635e9468973)
2007-10-10 13:38:58 -05:00
Jelmer Vernooij
e337caeed1 r10509: Some more sconscript fixes. Now getting to link stage for smbclient
(This used to be commit 6df956edbab7ad5e72b2f20e74ab0f0d62528932)
2007-10-10 13:38:58 -05:00
Jelmer Vernooij
eb5af8841a r10507: Let lib/replace take care of defining socklen_t for heimdal
(This used to be commit fe4ff2d241691bece7f9c8fc766f57a14fe856bb)
2007-10-10 13:38:57 -05:00
Jelmer Vernooij
70b52b02a7 r10476: Move some more types to libreplace. Fix missing strndup errors
for heimdal
(This used to be commit e09ffdfb1dba289b79ac7e5a638bf5322d45ddc0)
2007-10-10 13:38:51 -05:00
Jelmer Vernooij
4be0ae794e r10456: More SCons fixes:
- Add framework for fallback generating code
 - Move pread / pwrite replacement functions to libreplace
 - Support pidl builds correctly
 - Support asn1 builds correctly
 - Move OS-specific checks to lib/replace/SConscript
(This used to be commit fbbfad0a1f7dedbf48e835a864f8285f283d72f3)
2007-10-10 13:38:48 -05:00
Jelmer Vernooij
f3b412fbd6 r10438: Move portability functions to lib/replace/; replace now simply ensures
that a given set of (working) POSIX functions are available (without
prefixes to their names, etc). See lib/replace/README for a list.

Functions that behave different from their POSIX specification
(such as sys_select, sys_read, etc) have kept the sys_ prefix.
(This used to be commit 29919a71059b29fa27a49b1f5b84bb8881de65fc)
2007-10-10 13:38:45 -05:00
Jelmer Vernooij
8db177b652 r10366: More scons fixes. Building et, asn1, lex and yacc files sort-of works now
(This used to be commit 22f18a84242e5e68a2d57b6d7ff77c089ee7434a)
2007-10-10 13:38:32 -05:00
Jelmer Vernooij
6812c73534 r10348: Add scons scripts for remaining subsystems. Most subsystems build now,
but final linking still fails (as does generating files asn1, et, idl and proto
files)
(This used to be commit 4f0d7f75b99c7f4388d8acb0838577d86baf68b5)
2007-10-10 13:38:30 -05:00
Jelmer Vernooij
7f08aa1dd5 r10287: Compile compilers for build host. This fixes some bits of
the mingw32 build (it now fails on missing inet_aton / in_addr definitions).
Find sane default for HOSTCC
(This used to be commit 1a833690b8fd9a22169882c41704d24f2d52b2d9)
2007-10-10 13:38:13 -05:00