Age | Commit message (Collapse) | Author | Files | Lines |
|
dependency hell when trimming down s4 platform
(This used to be commit 6c95eabac684c70ac0080b6ab7ca723f5c58869b)
|
|
names:-)
calculate the CFLAGS only based on the public dependencies when recursing
metze
(This used to be commit 62f9d0ce1cdc5eb84b76004220fc7d1eb4a72f15)
|
|
same
time.
The --enable-dso flag now specifies whether or not the Samba binaries
themselves should be linked against the shared libraries.
By default, all libraries will be built staticly. If supported, the
shared variant of each library will also be built.
If people think building both shared and static library versions in
'make all' is too time-inefficient, please let me know and I'll move the
shared library bits to 'make everything'.
(This used to be commit 91faa1154a1de18a42f5e237c406157026280478)
|
|
this is just a short term hack
we should move the stuff from lib/replace/config.mk
into a lib/replace/samba.m4 and dynamicly generate the OBJ_FILES
list for LIBREPLACE and get rid of REPLACE_REPDIR
metze
(This used to be commit e27a36286845b95150d06daaae8f5dcf988febd7)
|
|
metze
(This used to be commit 42e70d5a7b9c12527bb49f9c60330706d350cf49)
|
|
always at it as first private dependencies
metze
(This used to be commit 135d096776b53ae09ffc2b4f767dfbd18139570f)
|
|
- also specify USE_HOSTCC = YES on binaries that use HOSTCC
I also disable autodependecies as this change let make run forever,
I hopefully fix that tomorrow
metze
(This used to be commit 159f74570233a8707dc1deb70fb1917a854213f8)
|
|
case-insensitive filesystems. Patch by John Malmberg tweaked by me
(This used to be commit 58cc0b23eb1de818123b3b34278518e467f04f15)
|
|
(This used to be commit 9a518661fbb76bf1c153afc6f581e888186dc165)
|
|
(This used to be commit f0afe9e2ff16515df1b3226b479b19ea3e9c3d0c)
|
|
(This used to be commit 3ef9326386ba1c210166302cbcf02d2ed3f19944)
|
|
system - these should be removed later on.
(This used to be commit 06547391669e064d2b92f5841b7df5f101a34cb9)
|
|
Recursive dependencies are now forbidden (the build system
will bail out if there are any).
I've split up auth_sam.c into auth_sam.c and sam.c. Andrew,
please rename sam.c / move its contents to whatever/wherever you think suits
best.
(This used to be commit 6646384aaf3e7fa2aa798c3e564b94b0617ec4d0)
|
|
jelmer: can you please fix this correctly
metze
(This used to be commit 34111d716733c815e7813f87d775848a26d20cab)
|
|
(This used to be commit 28a1919ed37f47337f8a53c39b9261a74c5c1bfc)
|
|
(This used to be commit a9eb7b2b3cf46d19ab7dfab521e1259d653507f6)
|
|
(This used to be commit 8de11ec2445ce414b37938b07937fdd7837f89a2)
|
|
working again.
(This used to be commit 33e4b92c46f272478b3c9e433f910dbbaab52af8)
|
|
(This used to be commit 3e5aa5e7940ebbb961c53418d170495860f514a0)
|
|
for REQUIRED_SUBSYSTEMS.
(This used to be commit adc8a019b6da256f104abed1b82bfde6998a2ac9)
|
|
(This used to be commit e1f896948fad8cf5a1aec300865c250c5721ee7d)
|
|
asn1 compiler every time a .mk file changed, thus causing the
recompilation of the files generated from ASN1.
(This used to be commit 4cd1e017e335818ef4585ff1096cb9968d14399f)
|
|
- 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)
|
|
we now need to explicit enable external libraries in
*.m4 files again...
metze
(This used to be commit ca809a7910b16a248fffddc640298bbe4cdedc01)
|
|
(might) be missing.
(This used to be commit ee90b8067915915af8ffbc0e04d1f4f5aae567cb)
|
|
- 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 89b5667ab0f761e679fdee0f5c3d94942e67e28e)
|
|
for modules, libraries and subsystems
metze
(This used to be commit 2d546c32801b12ba82596ccdf1521cba7bfff9f7)
|
|
the standard is "hidden" and not "default", I hope this
name makes a bit less confusing
metze
(This used to be commit 3e27534ad6d249c1d69f326dac9cc250868b0534)
|
|
and "default" means public
metze
(This used to be commit ab553c296f333f91d1e5fc50be827da235e33248)
|
|
default.
(This used to be commit c80a8f1102caf744b66c13bebde38fba74983dc4)
|
|
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.
(This used to be commit ea9988dfda6df09f1ee8f9aea1dc5b96fff52ee6)
|
|
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)
|
|
print out more debug info
(This used to be commit a54fefbfc5b2796cf8c47f22629ec86bca39cd39)
|
|
(This used to be commit 8f5edcc6a2ec02a496ef77b7044a56bb8f4be0f1)
|
|
Re-introduce and use the OUTPUT_TYPE property for MODULEs to force
specific modules to always be included
(This used to be commit f9eede3d40098eddc3618ee48f9253cdddb94a6f)
|
|
--srcdir=../samba4/source/
metze
(This used to be commit bf35c74218476fc568e251bb337e794ed9d51fac)
|
|
(note that this doesn't use the distinction between private
and public prototypes yet)
(This used to be commit 60e11f575821c1762b25ad66441b6e69ad1167ef)
|
|
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)
|
|
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)
|
|
'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)
|
|
using shared libraries and developer mode is enabled.
(This used to be commit 507bee76dc26b048ead317ec5e10a9deb1ff7f09)
|
|
in build/smb_build/, remove unused pstring macros
(This used to be commit 432296207400636dd81d0929ec7b1b4cebbcaa62)
|
|
Make MODULE handling a bit more like BINARY, LIBRARY and SUBSYSTEM
Add some more PUBLIC_HEADERS
(This used to be commit 875eb8f4cc658e6aebab070029fd499a726ad520)
|
|
- 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)
|
|
Support installing libraries.
Get rid of pkg-config file (will be autogenerated later on).
(This used to be commit b4745032a2c55752c527026feb221ccc3dce10c8)
|
|
(one that can also be built as a library and installed).
(This used to be commit 98d1f9b1dc523ed88c5aa8d066030b33d74f62bf)
|
|
(This used to be commit 65c71bf354612a589049753d854e154482957573)
|
|
(it is already possible to include verbatim make data)
(This used to be commit 21e355d031c6233ed0f40207d716987931927c6c)
|
|
all systems on the buildfarm when I tested it using smb_build.
It's just a one line change to go back. If this works correctly, we can
simplify the build system quite a bit.
(This used to be commit 6b671fb34a35def9a8d2fdaa8d9a04ff26c9e929)
|
|
that were found) and a config.pm file (with all substitution variables)
(This used to be commit 52bb1374bbcfc9b9a6d098687bafe9021a1ee858)
|