1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-28 17:47:29 +03:00

84 Commits

Author SHA1 Message Date
Jelmer Vernooij
0419da69d5 Prevent adding libreplace when not necessary.
(This used to be commit 978eb6f1616122e13429b00268d03942afc41425)
2008-02-16 21:16:28 +01:00
Jelmer Vernooij
fe5b7c4986 Some more mergedobj fixes.
(This used to be commit c481d88d37346885f7809f73035a2bc9f2468848)
2008-02-16 20:56:46 +01:00
Jelmer Vernooij
f6dec9de47 Use standard variable for partial linking.
(This used to be commit 949fca9540889bb640466fc21ca36d08f77066a3)
2008-02-16 20:48:08 +01:00
Jelmer Vernooij
e33177001c Remove type before variables in data.mk
(This used to be commit 3c1a7c0dcc56ed5595e31a8df023a04ae95bfca5)
2008-02-14 12:03:34 +01:00
Jelmer Vernooij
21c0f26661 Remove some make variables that aren't necessary.
(This used to be commit 8d41cb23dea4fccfc2b3fc8a816cda54af6038fb)
2008-02-13 21:39:25 +01:00
Jelmer Vernooij
c13ae70731 r26580: Include sentinel in build.h, in case the list is empty.
(This used to be commit f1997dabed584bdc864c4b7235c29603c312ef46)
2007-12-24 01:51:07 -06:00
Jelmer Vernooij
be33f4c611 r26576: Allow the static module loading code to be used for the Python modules.
Simplify the way module initialization functions are handled.
(This used to be commit ba8be2dfc0de4434c798663336b81f7f95cde520)
2007-12-24 01:51:06 -06:00
Jelmer Vernooij
3ee442c54f r26571: Hide warnings about unused macros and casting qualifiers in autogenerated files.
(This used to be commit cb76c60007ae1254181c09ba1ab09c419f500bc5)
2007-12-24 01:51:03 -06:00
Jelmer Vernooij
71e2cafe96 r26483: Merge ldb module dependency fixes, fix auth python module.
(This used to be commit 85eeecf997a071ca7e7ad0247e8d34d49b7ffcbb)
2007-12-21 05:50:41 +01:00
Stefan Metzmacher
e7279ac7c1 r26289: build: avoid nasty foo/./bla pathes for python stuff
metze
(This used to be commit 59469088e70581e33a83a8e26bec879ecdc7ded4)
2007-12-21 05:48:10 +01:00
Jelmer Vernooij
913bc1d866 r26279: Don't compile any python stuff if python is not available.
(This used to be commit 2637a2fedb3c43a1dff713b6f76e91de4a085acd)
2007-12-21 05:48:05 +01:00
Jelmer Vernooij
8b4a60b9ff r26121: Don't build modules if subsystem isn't build.
(This used to be commit a74fa4c19dbd9832c85aa9e62f88d4e84451bd5c)
2007-12-21 05:46:12 +01:00
Jelmer Vernooij
218fef224c r26097: Consider python modules special modules rather than special libraries.
(This used to be commit 4c26cf38102a67ae12b3512b5d38991f020ed2e2)
2007-12-21 05:46:02 +01:00
Jelmer Vernooij
ea85165841 r26068: Import improved Python bindings for LDB, including tests.
(This used to be commit fc3a8caef749ddac56a4f035dde8b6ceeaa95c48)
2007-12-21 05:45:51 +01:00
Jelmer Vernooij
5256d93a45 r26067: Merge improvements building Python modules.
(This used to be commit 11a2cbbac51781e72ae1288c8e30f175526b01a8)
2007-12-21 05:45:50 +01:00
Jelmer Vernooij
ba4a5bb2ea r25847: Don't link modules against their subsystem.
(This used to be commit 7e34e0645c98c3697767dc78dcd22a98d0f2b8fc)
2007-12-21 05:44:25 +01:00
Jelmer Vernooij
8c2ef262a8 r25524: Fix directory names for local module builds.
(This used to be commit 93e5a568e3da1c8b2e7decb2a675456ad35dc29b)
2007-10-10 15:07:47 -05:00
Jelmer Vernooij
02509b55de r25094: Force building shared module if subsystem is a shared library.
(This used to be commit 3146f0deadbc49b1a56f667bfcee950880ffe0f9)
2007-10-10 15:06:34 -05:00
Alexander Bokovoy
803335b0db r23862: Explain who requested unknown dependency. Helps a lot in chasing dependency hell when trimming down s4 platform
(This used to be commit 6c95eabac684c70ac0080b6ab7ca723f5c58869b)
2007-10-10 15:01:05 -05:00
Stefan Metzmacher
4924d03e6d r22455: split dependecies array for compiling and linking and use better names:-)
calculate the CFLAGS only based on the public dependencies when recursing

metze
(This used to be commit 62f9d0ce1cdc5eb84b76004220fc7d1eb4a72f15)
2007-10-10 14:51:22 -05:00
Jelmer Vernooij
0b3f04a9be 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'.
(This used to be commit 91faa1154a1de18a42f5e237c406157026280478)
2007-10-10 14:24:56 -05:00
Stefan Metzmacher
ebc1533a20 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
(This used to be commit e27a36286845b95150d06daaae8f5dcf988febd7)
2007-10-10 14:17:57 -05:00
Stefan Metzmacher
21aa8c49c7 r18222: filter out double entries from CFLAGS
metze
(This used to be commit 42e70d5a7b9c12527bb49f9c60330706d350cf49)
2007-10-10 14:17:52 -05:00
Stefan Metzmacher
a46e12d0e0 r18213: don't list LIBREPLACE depdendecies explicit and
always at it as first private dependencies

metze
(This used to be commit 135d096776b53ae09ffc2b4f767dfbd18139570f)
2007-10-10 14:17:50 -05:00
Stefan Metzmacher
6b5e86f47b 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
(This used to be commit 159f74570233a8707dc1deb70fb1917a854213f8)
2007-10-10 14:17:47 -05:00
Jelmer Vernooij
4ff9e1c761 r15551: Fix clash between config.pm and globally installed Config.pm on
case-insensitive filesystems. Patch by John Malmberg tweaked by me
(This used to be commit 58cc0b23eb1de818123b3b34278518e467f04f15)
2007-10-10 14:05:55 -05:00
Jelmer Vernooij
47bf79eac5 r15370: Fix more dependencies for shared libs
(This used to be commit 9a518661fbb76bf1c153afc6f581e888186dc165)
2007-10-10 14:05:27 -05:00
Jelmer Vernooij
9220144604 r15313: Fix some dependencies in dso mode
(This used to be commit f0afe9e2ff16515df1b3226b479b19ea3e9c3d0c)
2007-10-10 14:05:09 -05:00
Jelmer Vernooij
bc141c7957 r15304: Fix smbd build, more updates on getting --enable-dso to build again
(This used to be commit 3ef9326386ba1c210166302cbcf02d2ed3f19944)
2007-10-10 14:05:08 -05:00
Jelmer Vernooij
b00c236906 r15301: Use static libraries internally. This required a few hacks in the build
system - these should be removed later on.
(This used to be commit 06547391669e064d2b92f5841b7df5f101a34cb9)
2007-10-10 14:05:07 -05:00
Jelmer Vernooij
620d759f49 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.
(This used to be commit 6646384aaf3e7fa2aa798c3e564b94b0617ec4d0)
2007-10-10 14:05:04 -05:00
Stefan Metzmacher
ad6ce81eea r15290: don't spam the screen
jelmer: can you please fix this correctly

metze
(This used to be commit 34111d716733c815e7813f87d775848a26d20cab)
2007-10-10 14:05:03 -05:00
Jelmer Vernooij
e28c03aeec r15287: Simplify dependency detection code
(This used to be commit 28a1919ed37f47337f8a53c39b9261a74c5c1bfc)
2007-10-10 14:05:02 -05:00
Jelmer Vernooij
6e847ca070 r15279: Fix dependencies when using static libraries
(This used to be commit a9eb7b2b3cf46d19ab7dfab521e1259d653507f6)
2007-10-10 14:05:01 -05:00
Jelmer Vernooij
61ff97e360 r15271: Fix --enable-dso
(This used to be commit 8de11ec2445ce414b37938b07937fdd7837f89a2)
2007-10-10 14:04:59 -05:00
Jelmer Vernooij
f5bc4a72c5 r15270: Rename EXTRA_CFLAGS to CFLAGS - initial work on getting DSO's working again.
(This used to be commit 33e4b92c46f272478b3c9e433f910dbbaab52af8)
2007-10-10 14:04:59 -05:00
Jelmer Vernooij
1cc7c693ad r15248: Fix automatic dependencies build
(This used to be commit 3e5aa5e7940ebbb961c53418d170495860f514a0)
2007-10-10 14:04:25 -05:00
Jelmer Vernooij
69b51f702a r15207: Introduce PRIVATE_DEPENDENCIES and PUBLIC_DEPENDENCIES as replacement
for REQUIRED_SUBSYSTEMS.
(This used to be commit adc8a019b6da256f104abed1b82bfde6998a2ac9)
2007-10-10 14:04:18 -05:00
Jelmer Vernooij
5b0051e032 r14511: Install more headers
(This used to be commit e1f896948fad8cf5a1aec300865c250c5721ee7d)
2007-10-10 13:57:35 -05:00
Jelmer Vernooij
36b56d64b2 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.
(This used to be commit 4cd1e017e335818ef4585ff1096cb9968d14399f)
2007-10-10 13:57:34 -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
Stefan Metzmacher
33647bd841 r14240: fix summary output (step 2)
we now need to explicit enable external libraries in
*.m4 files again...

metze
(This used to be commit ca809a7910b16a248fffddc640298bbe4cdedc01)
2007-10-10 13:57:06 -05:00
Jelmer Vernooij
1a49b255af r14151: Add simple script that writes a summary to show what libraries the user
(might) be missing.
(This used to be commit ee90b8067915915af8ffbc0e04d1f4f5aae567cb)
2007-10-10 13:56:55 -05:00
Stefan Metzmacher
6500444a2d 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
(This used to be commit 89b5667ab0f761e679fdee0f5c3d94942e67e28e)
2007-10-10 13:54:02 -05:00
Stefan Metzmacher
d9c439b884 r13967: change the standard visibility to "default" public again
for modules, libraries and subsystems

metze
(This used to be commit 2d546c32801b12ba82596ccdf1521cba7bfff9f7)
2007-10-10 13:52:33 -05:00
Stefan Metzmacher
112bb4d220 r13921: rename DEFAULT_VISIBILITY -> STANDARD_VISIBILITY
the standard is "hidden" and not "default", I hope this
name makes a bit less confusing

metze
(This used to be commit 3e27534ad6d249c1d69f326dac9cc250868b0534)
2007-10-10 13:52:24 -05:00
Stefan Metzmacher
0d1e034b01 r13919: for us the standard for the visibility is "hidden"
and "default" means public

metze
(This used to be commit ab553c296f333f91d1e5fc50be827da235e33248)
2007-10-10 13:52:23 -05:00
Jelmer Vernooij
ba564a901e r13903: Don't generate prototypes for modules and binaries in include/proto.h by
default.
(This used to be commit c80a8f1102caf744b66c13bebde38fba74983dc4)
2007-10-10 13:52:21 -05:00
Jelmer Vernooij
ce3032cab8 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.
(This used to be commit ea9988dfda6df09f1ee8f9aea1dc5b96fff52ee6)
2007-10-10 13:52:20 -05:00
Jelmer Vernooij
26af14c39b 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
(This used to be commit 52a235650514039bf8ffee99a784bbc1b6ae6b92)
2007-10-10 13:52:11 -05:00