1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-14 20:23:54 +03:00
Commit Graph

79 Commits

Author SHA1 Message Date
Jelmer Vernooij
f1997dabed r26580: Include sentinel in build.h, in case the list is empty. 2007-12-24 01:51:07 -06:00
Jelmer Vernooij
ba8be2dfc0 r26576: Allow the static module loading code to be used for the Python modules.
Simplify the way module initialization functions are handled.
2007-12-24 01:51:06 -06:00
Jelmer Vernooij
cb76c60007 r26571: Hide warnings about unused macros and casting qualifiers in autogenerated files. 2007-12-24 01:51:03 -06:00
Jelmer Vernooij
85eeecf997 r26483: Merge ldb module dependency fixes, fix auth python module. 2007-12-21 05:50:41 +01:00
Stefan Metzmacher
59469088e7 r26289: build: avoid nasty foo/./bla pathes for python stuff
metze
2007-12-21 05:48:10 +01:00
Jelmer Vernooij
2637a2fedb r26279: Don't compile any python stuff if python is not available. 2007-12-21 05:48:05 +01:00
Jelmer Vernooij
a74fa4c19d r26121: Don't build modules if subsystem isn't build. 2007-12-21 05:46:12 +01:00
Jelmer Vernooij
4c26cf3810 r26097: Consider python modules special modules rather than special libraries. 2007-12-21 05:46:02 +01:00
Jelmer Vernooij
fc3a8caef7 r26068: Import improved Python bindings for LDB, including tests. 2007-12-21 05:45:51 +01:00
Jelmer Vernooij
11a2cbbac5 r26067: Merge improvements building Python modules. 2007-12-21 05:45:50 +01:00
Jelmer Vernooij
7e34e0645c r25847: Don't link modules against their subsystem. 2007-12-21 05:44:25 +01:00
Jelmer Vernooij
93e5a568e3 r25524: Fix directory names for local module builds. 2007-10-10 15:07:47 -05:00
Jelmer Vernooij
3146f0dead r25094: Force building shared module if subsystem is a shared library. 2007-10-10 15:06:34 -05:00
Alexander Bokovoy
6c95eabac6 r23862: Explain who requested unknown dependency. Helps a lot in chasing dependency hell when trimming down s4 platform 2007-10-10 15:01:05 -05:00
Stefan Metzmacher
62f9d0ce1c r22455: split dependecies array for compiling and linking and use better names:-)
calculate the CFLAGS only based on the public dependencies when recursing

metze
2007-10-10 14:51:22 -05:00
Jelmer Vernooij
91faa1154a r19582: Support building both shared and static versions of libraries at the 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'.
2007-10-10 14:24:56 -05:00
Stefan Metzmacher
e27a362868 r18260: fix the build on systems with broken readdir
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
2007-10-10 14:17:57 -05:00
Stefan Metzmacher
42e70d5a7b r18222: filter out double entries from CFLAGS
metze
2007-10-10 14:17:52 -05:00
Stefan Metzmacher
135d096776 r18213: don't list LIBREPLACE depdendecies explicit and
always at it as first private dependencies

metze
2007-10-10 14:17:50 -05:00
Stefan Metzmacher
159f745702 r18183: - add LIBREPLACE globaly and add LIBREPLACE_HOSTCC
- 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
2007-10-10 14:17:47 -05:00
Jelmer Vernooij
58cc0b23eb r15551: Fix clash between config.pm and globally installed Config.pm on
case-insensitive filesystems. Patch by John Malmberg tweaked by me
2007-10-10 14:05:55 -05:00
Jelmer Vernooij
9a518661fb r15370: Fix more dependencies for shared libs 2007-10-10 14:05:27 -05:00
Jelmer Vernooij
f0afe9e2ff r15313: Fix some dependencies in dso mode 2007-10-10 14:05:09 -05:00
Jelmer Vernooij
3ef9326386 r15304: Fix smbd build, more updates on getting --enable-dso to build again 2007-10-10 14:05:08 -05:00
Jelmer Vernooij
0654739166 r15301: Use static libraries internally. This required a few hacks in the build
system - these should be removed later on.
2007-10-10 14:05:07 -05:00
Jelmer Vernooij
6646384aaf r15298: Fix the build using a few hacks in the build system.
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.
2007-10-10 14:05:04 -05:00
Stefan Metzmacher
34111d7167 r15290: don't spam the screen
jelmer: can you please fix this correctly

metze
2007-10-10 14:05:03 -05:00
Jelmer Vernooij
28a1919ed3 r15287: Simplify dependency detection code 2007-10-10 14:05:02 -05:00
Jelmer Vernooij
a9eb7b2b3c r15279: Fix dependencies when using static libraries 2007-10-10 14:05:01 -05:00
Jelmer Vernooij
8de11ec244 r15271: Fix --enable-dso 2007-10-10 14:04:59 -05:00
Jelmer Vernooij
33e4b92c46 r15270: Rename EXTRA_CFLAGS to CFLAGS - initial work on getting DSO's working again. 2007-10-10 14:04:59 -05:00
Jelmer Vernooij
3e5aa5e794 r15248: Fix automatic dependencies build 2007-10-10 14:04:25 -05:00
Jelmer Vernooij
adc8a019b6 r15207: Introduce PRIVATE_DEPENDENCIES and PUBLIC_DEPENDENCIES as replacement
for REQUIRED_SUBSYSTEMS.
2007-10-10 14:04:18 -05:00
Jelmer Vernooij
e1f896948f r14511: Install more headers 2007-10-10 13:57:35 -05:00
Jelmer Vernooij
4cd1e017e3 r14499: Remove dynconfig hack for now - it caused a recompile of the
asn1 compiler every time a .mk file changed, thus causing the
recompilation of the files generated from ASN1.
2007-10-10 13:57:34 -05:00
Jelmer Vernooij
7871b07e21 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.
2007-10-10 13:57:12 -05:00
Stefan Metzmacher
ca809a7910 r14240: fix summary output (step 2)
we now need to explicit enable external libraries in
*.m4 files again...

metze
2007-10-10 13:57:06 -05:00
Jelmer Vernooij
ee90b80679 r14151: Add simple script that writes a summary to show what libraries the user
(might) be missing.
2007-10-10 13:56:55 -05:00
Stefan Metzmacher
89b5667ab0 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
2007-10-10 13:54:02 -05:00
Stefan Metzmacher
2d546c3280 r13967: change the standard visibility to "default" public again
for modules, libraries and subsystems

metze
2007-10-10 13:52:33 -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
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
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
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
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
Stefan Metzmacher
bf35c74218 r12615: prepare building with ../samba4/source/configure --srcdir=../samba4/source/
metze
2007-10-10 13:49:04 -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