summaryrefslogtreecommitdiff
path: root/source4/build
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r3736: Fix the build for builds that haven't got all libs sambaJelmer Vernooij1-2/+21
can use installed. (This used to be commit 359a3570f32902db0e9f59f168af464e8c652cea)
2007-10-10r3735: Allow building subsystems as static libraries (.a files). To enableJelmer Vernooij3-8/+8
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 Vernooij8-221/+89
- 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 Vernooij10-1003/+313
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 Vernooij7-106/+113
(This used to be commit e32f87fdea3070ea715ef547f2a406aa63ab775f)
2007-10-10r3696: Feed directly to perl, rather then creating an intermediate fileJelmer Vernooij1-12/+2
(This used to be commit dab264b78cdf709f1e2618b2b52b0e4aa2ad85b7)
2007-10-10r3695: Add intermediate functions to use when migrating from .m4+.mk to .pm ↵Jelmer Vernooij2-2/+68
files (This used to be commit fb849a309b823296a31bbf0b5b683760119c615c)
2007-10-10r3691: Use packagesJelmer Vernooij11-61/+81
(This used to be commit 975f06b626a3cc25e69bbe95dcfa04dc78e3dc92)
2007-10-10r3690: Use perl's 'use' statement to include the build system partsJelmer Vernooij8-16/+21
rather then using "cat" (This used to be commit 4d018b2b701faa56d7e3bb7634729296b53e0acb)
2007-10-10r3689: Large number of COM updates:Jelmer Vernooij8-93/+455
- Work on server side and local COM support (should work, just no example classes yet) - Use vtables so that local and remote calls can be used transparently - Generate 'proxies and stubs' rather then heavily modified code in client.pm and server.pm. proxies (client side code) are generated in proxy.pm, stubs (server side dispatchers) are generated in stubs.pm - Support registering classes and interfaces - DCOM interfaces no longer have to be in the same IDL file as their base interface, which will allow us to split up dcom.idl (This used to be commit 7466947a23985f9bb15209b67880f7b94dc515c8)
2007-10-10r3667: Small COM fixesJelmer Vernooij3-7/+14
(This used to be commit 7484b9be7423ccd7e37432951700939e8a53d513)
2007-10-10r3651: Add a new configure option --with-eparserdirAndrew Bartlett2-1/+25
This allows us to call 'make eparser_idl', generate the files required by the ethereal pidl plugin, and put them in the right place. (See lorikeet/ethereal) Andrew Bartlett (This used to be commit bd9497b092335b2646a1955ea7c55ad33eb7d538)
2007-10-10r3636: Fix python buildJelmer Vernooij1-0/+1
(This used to be commit 0cf3978714cbe7ee49f5ab182ed007fcdf94b33b)
2007-10-10r3626: More minor DCOM fixesJelmer Vernooij2-6/+2
(This used to be commit 709f279b192c8f9eeea04749169c00f2d57b20d3)
2007-10-10r3611: DCOM client support works!!Jelmer Vernooij4-0/+9
The torture test DCOM-SIMPLE now successfully does an IStream_Read and a IStream_Write call. This test can now be run successfully against the "Simple DCOM" Visual Studio example. (You have to quote out line 337 in pidl. pidl complains if the variable that contains the array size follows the array. I still need to fix this properly) Next goals: - Clean up code - Server side support - Support custom marshalling - Support DCOM interfaces in files other then dcom.idl (This used to be commit 8693344772a9b700533179f4bacfe27ec27dfcfe)
2007-10-10r3606: More DCOM fixes:Jelmer Vernooij2-5/+4
- OXID tables work now. IOXIDResolver is used if there is used for getting a STRINGBINDING if none is known yet - Add custom dissectors for STRINGARRAY and DUALSTRINGARRAY. If there's a way to get rid of these later on (by supporting them thru pidl somehow), I'd be happy to use that instead of doing it manually. I can now get to the point where we have created an object and are connected to it. The only thing left to do is being able to set the Object UUID properly.. (This used to be commit 54e1e5edca50d3cd496c080715e84ec62cb2a10c)
2007-10-10r3601: Lots of smaller DCOM updates and fixes. Adds oxid tables, properJelmer Vernooij2-19/+49
use of contexts. (This used to be commit 93eb3cd99c4fb065a69eabcead0c33804259c976)
2007-10-10r3587: Add status_codes.i as a dependencies for dcerpc.iTim Potter1-1/+1
(This used to be commit 358f6410639f4843a2781094fb102952f9dc8639)
2007-10-10r3586: Fix some of the issues with the module init functions.Jelmer Vernooij5-49/+64
Both subsystems and modules can now have init functions, which can be specified in .mk files (INIT_FUNCTION = ...) The build system will define : - SUBSYSTEM_init_static_modules that calls the init functions of all statically compiled modules. Failing to load will generate an error which is not fatal - BINARY_init_subsystems that calls the init functions (if defined) for the subsystems the binary depends on This removes the hack with the "static bool Initialised = " and the "lazy_init" functions (This used to be commit 7a8244761bfdfdfb48f8264d76951ebdfbf7bd8a)
2007-10-10r3556: Remove --enable-krb5developer and --enable-gtkdeveloper, as the newAndrew Bartlett1-17/+1
modular headers confine the warnings, and everwhere else we need them. Use the gcc option to suppress the silly strftime warning. Andrew Bartlett (This used to be commit 0bf3c245902da7e2e1a6b03c410d49c79f43edc7)
2007-10-10r3547: fixed waitpid in fcntl_lock.c (thanks to jbm for pointing this out)Andrew Tridgell1-1/+1
(This used to be commit 864a142409dcf3339343fdff407332629ad07633)
2007-10-10r3545: initial support for using extended attributes to hold extended dos ↵Andrew Tridgell1-10/+0
attributes of files. I decided to use IDL/NDR to encode the attribute, as it gives us a simple way to describe and extend the saved attributes. The xattr code needs to hook into quite a few more places in the pvfs code, but this at least gets the basics done. I will start encoding alternate data streams streams, DOS EAs etc soon using the same basic mechanism. I'll probably stick to "version 1" for the xattr.idl for quite a while even though it will be changing, as I don't expect anyone to be deploying this in production just yet. Once we have production users we will need to keep compatibility by supporting all the old version numbers in xattr.idl. (This used to be commit c54253ed1b7dce1d14f43e747da61089aea87094)
2007-10-10r3516: dcerpc_epm_map_binding now checks the endpoints it nows firstJelmer Vernooij1-1/+0
and then possibly does a epm_Map call(). ncacn_np now also uses dcerpc_epm_map_binding() (This used to be commit 77eec3fa18dbbf4d774ccf04c7a38b0887f26ca6)
2007-10-10r3515: Fix RemoteActivation correctly this time (-:Jelmer Vernooij1-0/+1
Thanks to tridge for some help on this one! (This used to be commit 1104667190aa144e2c7d79ece9a55502b98d0351)
2007-10-10r3513: Add (the infrastructure for) DCOM support. Contents:Jelmer Vernooij5-7/+32
- Support for sending over the object UUID in DCERPC calls - Simple torture test for the DCOM "Simple" object - Generate extra argument for "object" interfaces in pidl - Some stubs for common DCOM functions (This used to be commit c052f2e1edd816206d8974af3140cec7ef97a70c)
2007-10-10r3484: - add support for conformant string arrays at the end of a structStefan Metzmacher2-2/+32
- add support for strings where the length excludes the NULLTERM metze (This used to be commit 8251d8b3e5af351972aa41aed63f7a7d2640910e)
2007-10-10r3477: add '--with-disable-ext-lib=LIB' option to be able to disableStefan Metzmacher2-1/+13
the usage of external libraries. (works currently only with the pkg-config detected libs) metze (This used to be commit 2640f2f57a4d56e07d946d7bb48d2a0ea110d06e)
2007-10-10r3473: Add LIBCRYPTO_OBJS to python extensions.Tim Potter1-1/+2
(This used to be commit f9038ee62f623ea07ca4c320b979e876464dcc96)
2007-10-10r3465: fix SMB_SUBSYSTEM_NOPROTO()Stefan Metzmacher3-20/+17
metze (This used to be commit e12595a750ea3f5ccc1ca8e628b707c0753394d7)
2007-10-10r3460: Add LIBNDR_GEN_OBJS and LIBNETIF_OBJS to swig objs.Tim Potter1-1/+3
(This used to be commit f4c04fcf8f185b966c4ceb455aef4e9e54a98897)
2007-10-10r3448: some systems don't have stdint.hAndrew Tridgell1-0/+1
(This used to be commit 8afc2b3bc19c627f7b970ee6ce0480039ed5d3cb)
2007-10-10r3445: made the gtk tooks use minimal includes. This approximately halves theAndrew Tridgell2-18/+0
total include lines in compiling C files in Samba (the .gch file is now 5M instead of 12M) This also gets rid of the silly gtk compile warning for non-gtk code (This used to be commit 8ebd20cf551c8c1fad98ec723d91873fa202b85a)
2007-10-10r3443: the next stage in the include files re-organisation.Andrew Tridgell1-3/+6
I have created the include/system/ directory, which will contain the wrappers for the system includes for logical subsystems. So far I have created include/system/kerberos.h and include/system/network.h, which contain all the system includes for kerberos code and networking code. These are the included in subsystems that need kerberos or networking respectively. Note that this method avoids the mess of #ifdef HAVE_XXX_H in every C file, instead each C module includes the include/system/XXX.h file for the logical system support it needs, and the details are kept isolated in include/system/ This patch also creates a "struct ipv4_addr" which replaces "struct in_addr" in our code. That avoids every C file needing to import all the system networking headers. (This used to be commit 2e25c71853f8996f73755277e448e7d670810349)
2007-10-10r3442: Add support for the "call_as" and "local" attributes.Jelmer Vernooij4-664/+749
(This used to be commit 8e25117103b0339441bc6328176ed34034005528)
2007-10-10r3440: Add support for "coclass" to the pidl parser - the idl keyword thatJelmer Vernooij1-4/+17
describes a COM class. A coclass is the implementation of one or more interfaces. It has a UUID referred to as it's CLSID (Class ID). Also adding an example coclass called "CoffeeMachine". You can give it a string (or a cup, whatever you like ;-) and it will fill it with "COFFEE" (kind of the like the echo pipe is for regular RPC). CoffeeMachine's Windows implementation already works, a torture test for Samba will follow soon. (This used to be commit 05dd840b6ffba0d38d98e2e80d856e2f2b5d877c)
2007-10-10r3432: Support WERROR's in arguments (not just as return type). Some ofJelmer Vernooij1-1/+1
the DCOM calls are wrappers around several local calls, so you get things like: WERROR foobar ( [in] int num_ifaces, [in,size_is(num_ifaces)] IID *ifaces, [out,size_is(num_ifaces)] WERROR *results); (This used to be commit 0873bf2cbe3589988e518cf68ad4d14343b9240b)
2007-10-10r3431: Allow optional semicolon after interface definitionsJelmer Vernooij2-128/+151
(This used to be commit edbd789abb505accd3e72863d13acd2603d991f6)
2007-10-10r3428: switched to using minimal includes for the auto-generated RPC code.Andrew Tridgell3-5/+33
The thing that finally convinced me that minimal includes was worth pursuing for rpc was a compiler (tcc) that failed to build Samba due to reaching internal limits of the size of include files. Also the fact that includes.h.gch was 16MB, which really seems excessive. This patch brings it back to 12M, which is still too large, but better. Note that this patch speeds up compile times for both the pch and non-pch case. This change also includes the addition iof a "depends()" option in our IDL files, allowing you to specify that one IDL file depends on another. This capability was needed for the auto-includes generation. (This used to be commit b8f5fa8ac8e8725f3d321004f0aedf4246fc6b49)
2007-10-10r3423: auto-generate prototypes for all external functions in pidlAndrew Tridgell3-79/+147
(This used to be commit 009488dfe55f5219b24c30222b1a8bf411a7e939)
2007-10-10r3422: allow for subsystems that don't get included in the list of ↵Andrew Tridgell2-3/+30
auto-prototype objects, using SMB_SUBSYSTEM_NOPROTO() (This used to be commit e6b69183de785641144f9abb1853cab73c70073e)
2007-10-10r3410: Handle conversion of DATA_BLOBs and pointers to DATA_BLOBs from python.Tim Potter1-1/+5
(This used to be commit 12e037dbe3d497aff2415c0a22fab20a7932ab7a)
2007-10-10r3406: Don't throw a werror exception for WERR_NO_MORE_ITEMS and WERR_MORE_DATA.Tim Potter1-1/+3
(This used to be commit deaa5159f41a8841d75801b441e7bd5cf2636870)
2007-10-10r3310: Update dependencies for swig wrappers.Tim Potter1-1/+3
(This used to be commit 5dcb300fca592cc62d325c47c857b046c90e7b42)
2007-10-10r3303: Call pull function for correct type instead of spoolss_PrinterInfo whenTim Potter1-1/+1
unmarshalling arrays. (This used to be commit ee535b6801e553d0a180f18cc2c4b4438ee23de1)
2007-10-10r3282: some C pre-processors don't like expressions likeAndrew Tridgell3-2/+14
uuid(1ff70682-0a51-30e8-076d-740be8cee98b) so we now accept uuid("1ff70682-0a51-30e8-076d-740be8cee98b") in pidl, and automagically add quotes only if needed (This used to be commit 4aab2cb210eb9678bb72aebb33dcf6fd499206c1)
2007-10-10r3281: some compilers can't handle empty structures, so for empty IDLAndrew Tridgell1-0/+6
structures generate a single _empty_ element in the header (This used to be commit 00ff1ca1d284bb698e98c773b18a29695e927605)
2007-10-10r3204: Got unpacking of an array of PrinterInfo union elements working. Phew.Tim Potter1-53/+44
(This used to be commit f490cd719cc02589e73e26fa983aff90708d1926)
2007-10-10r3196: Grr - add more useless dependencies to get swig wrappers to build.Tim Potter1-1/+2
(This used to be commit cc3f71c4658de6bb8216905d7657f6217dc55ba0)
2007-10-10r3163: Add server side support for ncalrpc: and ncacn_unix_stream:Jelmer Vernooij1-1/+1
Examples of binding strings are : ncalrpc:[EPMAPPER] ncacn_unix_stream:[/tmp/epmapper] N.B. The unix socket support in lib/socket/ appears to close and remove the socket it is listening on after the first client disconnects so until that has been fixed, it is only possible to do one ncalrpc: or ncacn_unix_stream: request per instance of smbd :-) Support for looking up NCALRPC names via the endpoint mapper will be added later. (This used to be commit 426f3e63cae3d306dcdc13ee4b655eed30057ff8)
2007-10-10r3162: Add client-side support for the ncalrpc: and ncacn_unix_stream: ↵Jelmer Vernooij1-1/+2
transports. ncalrpc uses the new config option "ncalrpc dir" for creating unix sockets. (This used to be commit b15cfbe2512961a199ecb069730d9a19787579f5)