1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-22 16:23:49 +03:00
Commit Graph

52 Commits

Author SHA1 Message Date
Andrew Tridgell
ac807d0aef r7894: remove portability experiments until its working in the smb-build test project
(this change broke irix)
2007-10-10 13:18:46 -05:00
Stefan Metzmacher
a3439d9365 r7875: try to see if this is portable
metze
2007-10-10 13:18:46 -05:00
Andrew Tridgell
8cdebf5ce3 r7874: reverted metzes patch svn 7837 as it is not portable to make on
several platforms (such as FreeBSD)
2007-10-10 13:18:46 -05:00
Stefan Metzmacher
f964e228c9 r7845: remove unused files
and remove all generated files with make distclean and make realdistclean

metze
2007-10-10 13:18:42 -05:00
Stefan Metzmacher
21d930cfc3 r7837: use some more 'make' features
(I just commit this to see how portable it is)

I have a patch that remove the need of the recursiv make
and also fixes the HEIMDAL_EXTERNAL stuff cleanly

metze
2007-10-10 13:18:42 -05:00
Jelmer Vernooij
f385753a52 r7790: Allow remembering more configure-level data (and
remember --enable-develop for now).
2007-10-10 13:18:36 -05:00
Andrew Tridgell
e3e028a362 r7768: use _ALL_OBJS in clean target 2007-10-10 13:18:33 -05:00
Jelmer Vernooij
ba41c0806a r7764: Generate _ALL_OBJS list. 2007-10-10 13:18:33 -05:00
Jelmer Vernooij
fa1ab1982c r7762: Clean up make help files. 2007-10-10 13:18:32 -05:00
Jelmer Vernooij
fc099f2479 r7761: Don't let phony targets cause a rebuild of the binaries. Thanks
to tridge for the idea on how to do this.
2007-10-10 13:18:32 -05:00
Stefan Metzmacher
e4f5e52a84 r7463: - move some more stuff into functions
- try to kill all jobs return by jobs -p

metze
2007-10-10 13:17:55 -05:00
Stefan Metzmacher
c52703c0a8 r7425: configure check to see if a compiler can handle negative enum values
if the compiler doesn't support it we pass --uint-enums to pidl

metze
2007-10-10 13:17:51 -05:00
Stefan Metzmacher
d5288865d8 r7389: move socket wrapper dir also to the prefix-test dir
metze
2007-10-10 13:17:49 -05:00
Jelmer Vernooij
65600536b6 r7315: Add support for custom makefile targets, e.g.:
[TARGET::FOOBAR]
CMD = make bla
2007-10-10 13:17:41 -05:00
Jelmer Vernooij
1f7a57d8d8 r7311: Use TARGET_CFLAGS for depend list as well 2007-10-10 13:17:40 -05:00
Jelmer Vernooij
2fd997b12a r7310: Support TARGET_CFLAGS thru recursive make 2007-10-10 13:17:40 -05:00
Jelmer Vernooij
71d62d4dc7 r7308: Make dependency lists in the Makefile shorter (see discussion on samba-technical) 2007-10-10 13:17:40 -05:00
Jelmer Vernooij
2765b5a78d r7307: Add phony rules for OUTPUT_TYPE OBJLIST, e.g. it is now possible
to do things like:

make SUBSYSTEM_NDR_RAW
2007-10-10 13:17:40 -05:00
Jelmer Vernooij
fcc556188e r7305: Some cleanups, use write out CFLAGS variable 2007-10-10 13:17:39 -05:00
Andrew Tridgell
a31ec2a750 r7271: added the ability to specify a target specific set of CFLAGS for
binaries and libraries. This makes it possible to build heimdal with
our build system, which means users don't have to suffer two build
systems.
2007-10-10 13:17:34 -05:00
Andrew Tridgell
a4a5eea7b7 r7049: auto-create the private/tls/ directory on install 2007-10-10 13:17:08 -05:00
Andrew Tridgell
31543e1eae r6982: install the swat pages with 'make installswat' 2007-10-10 13:17:02 -05:00
Jelmer Vernooij
6bf8126ae9 r6926: More build farm fixes:
- Warn about unknown attributes in .mk
 - Remove more unused functions
2007-10-10 13:16:57 -05:00
Jelmer Vernooij
1437257616 r6874: Fix static library build 2007-10-10 13:16:53 -05:00
Andrew Tridgell
faa7e03669 r6853: again fixed SOCKET_WRAPPER_DIR in 'make test' 2007-10-10 13:16:51 -05:00
Jelmer Vernooij
b9d0ae93ba r6839: Add support for building subsystems as shared libraries. This can be
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 )
2007-10-10 13:16:50 -05:00
Jelmer Vernooij
f46c532883 r6828: More portability fixes 2007-10-10 13:16:48 -05:00
Andrew Tridgell
f4bfc3a80e r6809: ifeq is not portable in make - jelmer, you'll need to find some other way of doing
this if you want detection of socket wrapper :-)
2007-10-10 13:16:46 -05:00
Jelmer Vernooij
d63086918b r6621: Warn when the user is trying to use socket wrapper
while it is not compiled in.
2007-10-10 13:16:31 -05:00
Jelmer Vernooij
d3b0ad8b4b r6617: Let --enable-developer imply --enable-socket-wrapper
Add socket-wrapper-enabled test target and use that by
default when the socket wrapper was included
2007-10-10 13:16:31 -05:00
Jelmer Vernooij
6d93fcc407 r6577: Make test works without installation now.
Running as a non-root user using socket_wrapper is possible by simple
export SOCKET_WRAPPER_DIR before running 'make test'
2007-10-10 13:16:27 -05:00
Jelmer Vernooij
02160c991a r6568: Some more small 'make test' fixes 2007-10-10 13:16:26 -05:00
Jelmer Vernooij
195753b6af r6567: Use "real" prefix for 'make test' 2007-10-10 13:16:26 -05:00
Jelmer Vernooij
7d2d4a57e0 r6564: - Fix bug in socket_wrapper
- Add options --quiet and --outputdir options to the provisioning script
- Add simple 'make test' and 'make test-swrap'
2007-10-10 13:16:26 -05:00
Tim Potter
3808c5e092 r6177: Use here documents instead of print() statements to generate the
Makefile fragments for the build system.  This allows the file to be
edited without using quite as many backslashes.  Some are still necessary
for interpolation of perl variables though.

I've diffed the new Makefile against the old and there are only some
extra newlines as a result of making things more consistent.
2007-10-10 13:11:23 -05:00
Tim Potter
87f88aacee r6148: Add a showflags target to display the various compiler flags a la
showlayout.  There seems to be a bunch of -D and -I stuff in LD_FLAGS
which I don't think should be there.
2007-10-10 13:11:22 -05:00
Andrew Bartlett
a2a49d1be0 r5086: Fix list of binaries to install:
- nmblookup and net are generic, not torture programs.
 - Add ntlm_auth

Andrew Bartlett
2007-10-10 13:09:21 -05:00
Andrew Tridgell
a69c1a9130 r5085: add net and nmblookup to installed binaries
metze, can you look at automating this when you get time? We really
need a flag in config.mk for "BINARY::" sections for the install
location, something like:

[BINARY::nmblookup]
OBJ_FILES = \
		utils/nmblookup.o
INSTALL_IN = bin
2007-10-10 13:09:20 -05:00
Tim Potter
f9e56d39c9 r5047: Fix swig dependencies. 2007-10-10 13:09:17 -05:00
Tim Potter
5ec9fad5cf r5033: Remove --with-eparserdir configure option and eparser_idl make target.
This is all done in the lorikeet/ethereal Makefile now.
2007-10-10 13:09:14 -05:00
Tim Potter
e9b69d19a8 r5016: Use LIBRARY instead of BINARY for inserting the swig stuff into the
build system.  This still generates bogus targets (i.e
bin/swig_dcerpc.so.0.0.1) and the subsystem initialisation needs to be
done by hand but it is less of a hack.
2007-10-10 13:09:13 -05:00
Tim Potter
71a22f5206 r4982: Start to move swig dependencies into new build system. Unfortunately
I can only get something useful happening by using the BINARY keyword
as nothing else seems to generate dependency lists that can be used
when linking the swig shared libraries.  Anyway this is a lot nicer
than having lots of junk in makefile.pm.
2007-10-10 13:09:11 -05:00
Andrew Tridgell
1fc9448ccb r4814: cope with perl not being in /usr/bin for idl building 2007-10-10 13:08:58 -05:00
Andrew Tridgell
db7d43fbb9 r4813: this is a temporary solution to a link problem we have on some
platforms. The problem is that some loaders (for example the IRIX 6.5
machine us4 in the build farm) must have libs listed after object
files that depend on them on the link line. If you put the libs first
then all the symbols in the libs remain unresolved.

I think the correct fix for this is to separate xxx_LINK_LIBS out from
the current xxx_LINK_FLAGS, and use xxx_LINK_FLAGS followed by
xxx_LINK_LIST followed by xxx_LINK_LIBS. I'm hoping metze or jelmer,
as our build wizards, might take a look at this when they get time.

This interim fix should work fine, but its rather ugly, as it lists
the flags and libs twice in each link.
2007-10-10 13:08:58 -05:00
Andrew Tridgell
09e98c8745 r4466: rather than defining "STANDALONE" for building tdb, ldb and talloc
outside the tree, instead defined _SAMBA_BUILD_ inside the Samba
build. This makes it easier to pull code out of Samba for external
use.
2007-10-10 13:07:54 -05:00
Stefan Metzmacher
461ff03ce3 r3769: fix the build of shared libraries
metze
2007-10-10 13:05:52 -05:00
Jelmer Vernooij
3d885562c9 r3744: Support building subsystems as a shared library. Modules don't work yet,
so while this does compile, it does not work yet.
2007-10-10 13:05:50 -05:00
Jelmer Vernooij
fc0432069b r3735: Allow building subsystems as static libraries (.a files). To enable
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..)
2007-10-10 13:05:48 -05:00
Jelmer Vernooij
64826da834 r3733: More build system fixes/features:
- 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)
2007-10-10 13:05:47 -05:00
Jelmer Vernooij
cbe819a755 r3730: More build system fixes and simplifications
the hierarchy in the init functions is correct now
will also make it easier to implement some other features
2007-10-10 13:05:47 -05:00