summaryrefslogtreecommitdiff
path: root/source4/build/smb_build/output.pm
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r14072: - only add the 'lib' prefix to libraries not modulesStefan Metzmacher1-5/+12
- 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/+1
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-10r13902: Stricter checking for the -fvisibility flagJelmer Vernooij1-2/+2
Add two more proto headers. (This used to be commit 0c95bf0cd33d8a6c35f692b796d7fbfd98b4d068)
2007-10-10r13898: Add a subsystem-specific DEFAULT_VISIBILITY property that can be usedJelmer Vernooij1-2/+7
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-10r12494: Support loading modules from .so files for most subsystems.Jelmer Vernooij1-1/+1
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-22/+0
'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-1/+1
using shared libraries and developer mode is enabled. (This used to be commit 507bee76dc26b048ead317ec5e10a9deb1ff7f09)
2007-10-10r12219: Use some more common functionsJelmer Vernooij1-4/+4
(This used to be commit 57ea480c24ff914dfa6cbc5a309020b21fa4af39)
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-2/+1
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-9/+22
- 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-10r11250: Fix a couple of issues in the heimdal/ dirs.Jelmer Vernooij1-2/+1
(This used to be commit f76374eba7d45b8ff2625914344e4b31ecdeca1d)
2007-10-10r11249: More OpenBSD make fixes...Jelmer Vernooij1-0/+2
(This used to be commit 118e3bc507b2694f7e5ea191950626931d8ebf29)
2007-10-10r11244: Relative path names in .mk filesJelmer Vernooij1-3/+18
(This used to be commit 24e10300906c380919d2d631bfb3b8fd6b3f54ba)
2007-10-10r10294: Generate Makefile directly rather then thru Makefile.in. AutoconfJelmer Vernooij1-1/+1
substitution variables are now no longer used. This is one more step towards a (hopefully) perl-based configure (This used to be commit 6f9956a1dd870c0669c288b0fe72b7b1c8773dd0)
2007-10-10r10043: Only recompile subsystems that actually need recompilationJelmer Vernooij1-5/+1
(This used to be commit de9830979788528754175b17fe45477e6ce9ce9e)
2007-10-10r8942: Move intermediate subsystem output files to bin/subsystems/Jelmer Vernooij1-1/+1
(This used to be commit 43c8321cd991bdc3a7e1b05359d249457e86e7d1)
2007-10-10r8936: Use incremental linking. This appeared to be supported onJelmer Vernooij1-4/+19
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-10r7766: Treat NOPROTO as boolean.Jelmer Vernooij1-9/+20
Don't consider ALL_OBJS as a standard subsystem. (This used to be commit 6b9a12249f152e9c4635d4f6c7f3a1b885c78ec6)
2007-10-10r7764: Generate _ALL_OBJS list.Jelmer Vernooij1-0/+5
(This used to be commit ba41c0806afc065d4de15a51430676d35b9055db)
2007-10-10r7761: Don't let phony targets cause a rebuild of the binaries. ThanksJelmer Vernooij1-1/+1
to tridge for the idea on how to do this. (This used to be commit fc099f24790367ea5b1e5e91085c9ddb8deb6dad)
2007-10-10r7308: Make dependency lists in the Makefile shorter (see discussion on ↵Jelmer Vernooij1-6/+9
samba-technical) (This used to be commit 71d62d4dc7c475d17042ca466e56c51da1a2f32e)
2007-10-10r7307: Add phony rules for OUTPUT_TYPE OBJLIST, e.g. it is now possibleJelmer Vernooij1-1/+2
to do things like: make SUBSYSTEM_NDR_RAW (This used to be commit 2765b5a78d726ed3df177c92bc3f5efefcc78a9d)
2007-10-10r6926: More build farm fixes:Jelmer Vernooij1-2/+2
- Warn about unknown attributes in .mk - Remove more unused functions (This used to be commit 6bf8126ae9368dc56cf0cd91b972a2d939974679)
2007-10-10r6839: Add support for building subsystems as shared libraries. This can beJelmer Vernooij1-8/+10
done by setting: OUTPUT_TYPE = SHARED_LIBRARY in the [SUBSYSTEM::...] section belonging to a subsystem. The idea is to allow multiple values to OUTPUT_TYPE simultaneously (e.g. OUTPUT_TYPE = SHARED_LIBRARY, STATIC_LIBRARY, OBJLIST ) (This used to be commit b9d0ae93ba86fec0115f58e7940b2a6c908bc809)
2007-10-10r4812: removed dependence on Data::DumperAndrew Tridgell1-1/+0
if you need Dumper for debugging (and it is damn useful!) then please use the require trick in MyDumper() from pidl so we don't end up depending on it. Too many systems don't have it. (This used to be commit b9f32d2812bde0a4389971487006f9c553b5e3c1)
2007-10-10r3769: fix the build of shared librariesStefan Metzmacher1-1/+2
metze (This used to be commit 461ff03ce38c6bf6b90f95029287c6e6b01fc1e0)
2007-10-10r3744: Support building subsystems as a shared library. Modules don't work yet,Jelmer Vernooij1-1/+2
so while this does compile, it does not work yet. (This used to be commit 3d885562c9f83d60c5d4957b067e35387dfa50dd)
2007-10-10r3737: - Get rid of the register_subsystem() and register_backend() functions.Jelmer Vernooij1-7/+0
- Re-disable tdbtool (it was building fine on my Debian box but other machines were having problems) (This used to be commit 0d7bb2c40b7a9ed59df3f8944133ea562697e814)
2007-10-10r3735: Allow building subsystems as static libraries (.a files). To enableJelmer Vernooij1-2/+2
this support, run SUBSYSTEM_OUTPUT_TYPE=STATIC_LIBRARY ./config.status I haven't enabled this by default because there are some circular dependencies in the makefile that have to be resolved first (LIBRPC depends on LIBSMB and LIBSMB depends on LIBRPC..) (This used to be commit fc0432069bf3569a47a7c32f4bf789cec2ca44db)
2007-10-10r3733: More build system fixes/features:Jelmer Vernooij1-10/+10
- Use .mk files directly (no need for a SMB_*_MK() macro when adding a new SUBSYSTEM, MODULE or BINARY). This allows addition of new modules and subsystems without running configure - Add support for generating .dot files with the Samba4 dependency tree (as used by the graphviz and springgraph utilities) (This used to be commit 64826da834e26ee0488674e27a0eae36491ee179)
2007-10-10r3730: More build system fixes and simplificationsJelmer Vernooij1-226/+80
the hierarchy in the init functions is correct now will also make it easier to implement some other features (This used to be commit cbe819a75568403ac8850ea4d344c607a46d61c2)
2007-10-10r3726: More simplifications/fixes in the build systemJelmer Vernooij1-3/+0
(This used to be commit e32f87fdea3070ea715ef547f2a406aa63ab775f)
2007-10-10r3691: Use packagesJelmer Vernooij1-0/+3
(This used to be commit 975f06b626a3cc25e69bbe95dcfa04dc78e3dc92)
2007-10-10r3690: Use perl's 'use' statement to include the build system partsJelmer Vernooij1-0/+264
rather then using "cat" (This used to be commit 4d018b2b701faa56d7e3bb7634729296b53e0acb)