1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-15 05:57:49 +03:00

75 Commits

Author SHA1 Message Date
Jelmer Vernooij
bdf30f80fb r26664: buildsystem: Hopefully fix the shared library build on AIX. 2008-01-04 09:48:04 -06:00
Stefan Metzmacher
e0754868df r26290: build: split add_dir() into add_dir_str() and add_dir_array()
metze
2007-12-21 05:48:10 +01:00
Jelmer Vernooij
11a2cbbac5 r26067: Merge improvements building Python modules. 2007-12-21 05:45:50 +01:00
Jelmer Vernooij
93e5a568e3 r25524: Fix directory names for local module builds. 2007-10-10 15:07:47 -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
James Peach
316283170a r22032: Make sure static libraries end up in bin/static. 2007-10-10 14:49:43 -05:00
Jelmer Vernooij
ab3d573946 r20298: Fix pidl tests (missing symlink..). 2007-10-10 14:29:34 -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
Jelmer Vernooij
c9b06ce563 r19575: Build static libs in bin/static rather than bin/ 2007-10-10 14:24:55 -05:00
Jelmer Vernooij
e24ec3aa1a r19574: Initial work towards supporting build of both shared and static libraries. 2007-10-10 14:24:55 -05:00
Stefan Metzmacher
f60be737ef r18291: don't add ./ for files in the top dir '.'
metze
2007-10-10 14:18:02 -05:00
Stefan Metzmacher
49b555b876 r18223: the perl array of dependecies is in reversed order
print out the CFLAGS in the correct order

metze
2007-10-10 14:17:52 -05:00
Stefan Metzmacher
42e70d5a7b r18222: filter out double entries from CFLAGS
metze
2007-10-10 14:17:52 -05:00
Stefan Metzmacher
d8b5d0c9a7 r18220: $#foo returns the index of the last element not the count of elements,
so we need >= 0.

as 0 means one element

metze
2007-10-10 14:17:52 -05:00
Stefan Metzmacher
4ce7b4e45c r18217: use shorter perl
metze
2007-10-10 14:17:51 -05:00
Stefan Metzmacher
239a2607ab r18215: use a shorter version
metze
2007-10-10 14:17:51 -05:00
Stefan Metzmacher
9695a4bd53 r18214: don't add empty elements
metze
2007-10-10 14:17:51 -05:00
Jelmer Vernooij
bf5da20869 r15585: Revive pidl's SWIG file generator. It now generates simple
object oriented wrappers for the interfaces (still need to fix
the actual function calls)
2007-10-10 14:06:00 -05:00
Jelmer Vernooij
8985093d3f r15338: Fix build of most things with shared libs enabled. 2007-10-10 14:05:18 -05:00
Jelmer Vernooij
34d9a10734 r15322: Don't depend on nonexisting targets - should fix the build 2007-10-10 14:05:16 -05:00
Jelmer Vernooij
1505d7c600 r15318: Don't create empty static libraries as some hosts have trouble with them. 2007-10-10 14:05:12 -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
Jelmer Vernooij
28a1919ed3 r15287: Simplify dependency detection code 2007-10-10 14:05:02 -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
2fbb4d91fa r15223: Move heimdal's -I parameters from the global list of includes to
the subsystems in question
2007-10-10 14:04:20 -05:00
Jelmer Vernooij
a495bc60ab r15214: Introduce subsystem-specific CFLAGS to keep the global CFLAGS short. 2007-10-10 14:04:19 -05:00
Jelmer Vernooij
8f57c0e7bc r14874: Allow overriding LIBRARY_REALNAME 2007-10-10 14:00:10 -05:00
Jelmer Vernooij
2638899529 r14666: Fix handling of naming of shared modules when not in developer mode 2007-10-10 13:59:06 -05:00
Jelmer Vernooij
614f062748 r14606: Fix paths in developer mode. This allows 'make quicktest' to work when
building with --enable-dso
2007-10-10 13:59:00 -05:00
Jelmer Vernooij
c85c4b97f3 r14543: Fix some build dependency problems caused by the use of $(builddir) 2007-10-10 13:58:42 -05:00
Jelmer Vernooij
ee49674dc6 r14529: Include $(builddir) where necesary 2007-10-10 13:57:39 -05:00
Jelmer Vernooij
4682bc5ce0 r14492: Fix shared libs - set SO_VERSION to 0 everywhere for now. 2007-10-10 13:57:32 -05:00
Jelmer Vernooij
fd47e975a4 r14469: Don't the variable INSTALLDIR for two different things... 2007-10-10 13:57:29 -05:00
Jelmer Vernooij
4799f7bd1f r14335: Build shared modules in bin/modules/$SUBSYSTEM when in developer mode. 2007-10-10 13:57:13 -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
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
0c95bf0cd3 r13902: Stricter checking for the -fvisibility flag
Add two more proto headers.
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
b6d2ad4ce0 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).
2007-10-10 13:47:45 -05:00
Jelmer Vernooij
a4088ccc70 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.
2007-10-10 13:47:41 -05:00
Jelmer Vernooij
507bee76dc r12253: Automatically build seperate binaries without -rpath to install when
using shared libraries and developer mode is enabled.
2007-10-10 13:47:24 -05:00
Jelmer Vernooij
57ea480c24 r12219: Use some more common functions 2007-10-10 13:47:21 -05:00
Jelmer Vernooij
4322962074 r12216: Couple of small fixes: reduce include/includes.h a bit, simplify headers
in build/smb_build/, remove unused pstring macros
2007-10-10 13:47:19 -05:00
Jelmer Vernooij
875eb8f4cc r11382: Require number of required M4 macros
Make MODULE handling a bit more like BINARY, LIBRARY and SUBSYSTEM
Add some more PUBLIC_HEADERS
2007-10-10 13:45:29 -05:00