summaryrefslogtreecommitdiff
path: root/source4/build/smb_build/input.pm
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r22455: split dependecies array for compiling and linking and use better ↵Stefan Metzmacher1-11/+19
names:-) calculate the CFLAGS only based on the public dependencies when recursing metze (This used to be commit 62f9d0ce1cdc5eb84b76004220fc7d1eb4a72f15)
2007-10-10r19582: Support building both shared and static versions of libraries at the ↵Jelmer Vernooij1-6/+7
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-10r18260: fix the build on systems with broken readdirStefan Metzmacher1-0/+1
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-10r18222: filter out double entries from CFLAGSStefan Metzmacher1-4/+0
metze (This used to be commit 42e70d5a7b9c12527bb49f9c60330706d350cf49)
2007-10-10r18213: don't list LIBREPLACE depdendecies explicit andStefan Metzmacher1-2/+6
always at it as first private dependencies metze (This used to be commit 135d096776b53ae09ffc2b4f767dfbd18139570f)
2007-10-10r18183: - add LIBREPLACE globaly and add LIBREPLACE_HOSTCCStefan Metzmacher1-0/+23
- 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-10r15551: Fix clash between config.pm and globally installed Config.pm onJelmer Vernooij1-1/+1
case-insensitive filesystems. Patch by John Malmberg tweaked by me (This used to be commit 58cc0b23eb1de818123b3b34278518e467f04f15)
2007-10-10r15370: Fix more dependencies for shared libsJelmer Vernooij1-0/+1
(This used to be commit 9a518661fbb76bf1c153afc6f581e888186dc165)
2007-10-10r15313: Fix some dependencies in dso modeJelmer Vernooij1-0/+2
(This used to be commit f0afe9e2ff16515df1b3226b479b19ea3e9c3d0c)
2007-10-10r15304: Fix smbd build, more updates on getting --enable-dso to build againJelmer Vernooij1-3/+4
(This used to be commit 3ef9326386ba1c210166302cbcf02d2ed3f19944)
2007-10-10r15301: Use static libraries internally. This required a few hacks in the buildJelmer Vernooij1-3/+1
system - these should be removed later on. (This used to be commit 06547391669e064d2b92f5841b7df5f101a34cb9)
2007-10-10r15298: Fix the build using a few hacks in the build system.Jelmer Vernooij1-14/+31
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-10r15290: don't spam the screenStefan Metzmacher1-1/+1
jelmer: can you please fix this correctly metze (This used to be commit 34111d716733c815e7813f87d775848a26d20cab)
2007-10-10r15287: Simplify dependency detection codeJelmer Vernooij1-39/+33
(This used to be commit 28a1919ed37f47337f8a53c39b9261a74c5c1bfc)
2007-10-10r15279: Fix dependencies when using static librariesJelmer Vernooij1-4/+1
(This used to be commit a9eb7b2b3cf46d19ab7dfab521e1259d653507f6)
2007-10-10r15271: Fix --enable-dsoJelmer Vernooij1-11/+17
(This used to be commit 8de11ec2445ce414b37938b07937fdd7837f89a2)
2007-10-10r15270: Rename EXTRA_CFLAGS to CFLAGS - initial work on getting DSO's ↵Jelmer Vernooij1-2/+2
working again. (This used to be commit 33e4b92c46f272478b3c9e433f910dbbaab52af8)
2007-10-10r15248: Fix automatic dependencies buildJelmer Vernooij1-2/+2
(This used to be commit 3e5aa5e7940ebbb961c53418d170495860f514a0)
2007-10-10r15207: Introduce PRIVATE_DEPENDENCIES and PUBLIC_DEPENDENCIES as replacementJelmer Vernooij1-4/+6
for REQUIRED_SUBSYSTEMS. (This used to be commit adc8a019b6da256f104abed1b82bfde6998a2ac9)
2007-10-10r14511: Install more headersJelmer Vernooij1-13/+4
(This used to be commit e1f896948fad8cf5a1aec300865c250c5721ee7d)
2007-10-10r14499: Remove dynconfig hack for now - it caused a recompile of theJelmer Vernooij1-0/+2
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-10r14327: Replace MAJOR_VERSION/MINOR_VERSION/RELEASE_VERSION with two parameters:Jelmer Vernooij1-2/+7
- 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-10r14240: fix summary output (step 2)Stefan Metzmacher1-1/+5
we now need to explicit enable external libraries in *.m4 files again... metze (This used to be commit ca809a7910b16a248fffddc640298bbe4cdedc01)
2007-10-10r14151: Add simple script that writes a summary to show what libraries the userJelmer Vernooij1-17/+4
(might) be missing. (This used to be commit ee90b8067915915af8ffbc0e04d1f4f5aae567cb)
2007-10-10r14072: - only add the 'lib' prefix to libraries not modulesStefan Metzmacher1-1/+7
- 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-10r13967: change the standard visibility to "default" public againStefan Metzmacher1-1/+5
for modules, libraries and subsystems metze (This used to be commit 2d546c32801b12ba82596ccdf1521cba7bfff9f7)
2007-10-10r13921: rename DEFAULT_VISIBILITY -> STANDARD_VISIBILITYStefan Metzmacher1-2/+2
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-10r13919: for us the standard for the visibility is "hidden"Stefan Metzmacher1-1/+1
and "default" means public metze (This used to be commit ab553c296f333f91d1e5fc50be827da235e33248)
2007-10-10r13903: Don't generate prototypes for modules and binaries in include/proto.h byJelmer Vernooij1-1/+5
default. (This used to be commit c80a8f1102caf744b66c13bebde38fba74983dc4)
2007-10-10r13898: Add a subsystem-specific DEFAULT_VISIBILITY property that can be usedJelmer Vernooij1-0/+8
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-10r13786: [merge] Add registration functions for LDB modulesJelmer Vernooij1-0/+4
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-10r12680: Support setting the environment variable SMB_BUILD_VERBOSE toJelmer Vernooij1-5/+12
print out more debug info (This used to be commit a54fefbfc5b2796cf8c47f22629ec86bca39cd39)
2007-10-10r12671: Modules don't have to be linked with their subsystem.Jelmer Vernooij1-1/+0
(This used to be commit 8f5edcc6a2ec02a496ef77b7044a56bb8f4be0f1)
2007-10-10r12670: Make a couple of dependencies stricterJelmer Vernooij1-2/+2
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-10r12615: prepare building with ../samba4/source/configure ↵Stefan Metzmacher1-1/+2
--srcdir=../samba4/source/ metze (This used to be commit bf35c74218476fc568e251bb337e794ed9d51fac)
2007-10-10r12523: Convert the registry subsystem to use a seperate prototype headerJelmer Vernooij1-2/+6
(note that this doesn't use the distinction between private and public prototypes yet) (This used to be commit 60e11f575821c1762b25ad66441b6e69ad1167ef)
2007-10-10r12520: Add support for --help to mkproto.plJelmer Vernooij1-0/+5
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)
2007-10-10r12494: Support loading modules from .so files for most subsystems.Jelmer Vernooij1-2/+6
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)
2007-10-10r12450: Move generation of proto and full object lists to makefile.pm. ↵Jelmer Vernooij1-0/+4
'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)
2007-10-10r12253: Automatically build seperate binaries without -rpath to install whenJelmer Vernooij1-27/+14
using shared libraries and developer mode is enabled. (This used to be commit 507bee76dc26b048ead317ec5e10a9deb1ff7f09)
2007-10-10r12216: Couple of small fixes: reduce include/includes.h a bit, simplify headersJelmer Vernooij1-8/+6
in build/smb_build/, remove unused pstring macros (This used to be commit 432296207400636dd81d0929ec7b1b4cebbcaa62)
2007-10-10r11382: Require number of required M4 macrosJelmer Vernooij1-22/+12
Make MODULE handling a bit more like BINARY, LIBRARY and SUBSYSTEM Add some more PUBLIC_HEADERS (This used to be commit 875eb8f4cc658e6aebab070029fd499a726ad520)
2007-10-10r11377: Add support for building LIBRARY elements as shared libraries:Jelmer Vernooij1-10/+15
- 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-10r11303: Support defining and installing public headers for libraries.Jelmer Vernooij1-0/+3
Support installing libraries. Get rid of pkg-config file (will be autogenerated later on). (This used to be commit b4745032a2c55752c527026feb221ccc3dce10c8)
2007-10-10r11300: Treat libraries as a special kind of subsystemJelmer Vernooij1-4/+1
(one that can also be built as a library and installed). (This used to be commit 98d1f9b1dc523ed88c5aa8d066030b33d74f62bf)
2007-10-10r11299: Try to fix build on Stratos VOS (doesn't support ld -r)Jelmer Vernooij1-6/+7
(This used to be commit 65c71bf354612a589049753d854e154482957573)
2007-10-10r11254: Remove support for [TARGET:foo]-like .mk-file entriesJelmer Vernooij1-12/+0
(it is already possible to include verbatim make data) (This used to be commit 21e355d031c6233ed0f40207d716987931927c6c)
2007-10-10r8936: Use incremental linking. This appeared to be supported onJelmer Vernooij1-1/+1
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)
2007-10-10r8826: Make configure generate config.mk files (with the external librariesJelmer Vernooij1-12/+20
that were found) and a config.pm file (with all substitution variables) (This used to be commit 52bb1374bbcfc9b9a6d098687bafe9021a1ee858)
2007-10-10r8690: Code cleanups, improvements necessary for dependencies (not added yet)Jelmer Vernooij1-38/+18
(This used to be commit 7384b3c4a1450ad63356dcf586e3a7e7335f8e6d)