1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-15 23:24:37 +03:00

146 Commits

Author SHA1 Message Date
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
bdac245495 r15265: Try to find inet_pton in -lnsl (should fix linking on sun1)
(This used to be commit a7c13020413a4d9621bef5bf9085b901ffbe1eb4)
2007-10-10 14:04:59 -05:00
Jelmer Vernooij
3c68259e3a r15263: Remove another use of patsubst (should make tru64 happy)
(This used to be commit 559ae256e133777e77bfe7a683f1c441cd6007b0)
2007-10-10 14:04:28 -05:00
Jelmer Vernooij
b995f263f8 r15262: Only include getprogname if it is needed by the system. This should
fix the build on Mac OS X
(This used to be commit 465409974da7a643617689ee7c5b55427f727548)
2007-10-10 14:04:28 -05:00
Jelmer Vernooij
4b55501d2c r15254: Fix heimdal's addrinfo subsystem for those systems that need it. This
should get the build on sun1 and us4 another step further.
(This used to be commit 2f2f47a3891a73e1656908fc30c1c03ebae59bb2)
2007-10-10 14:04:25 -05:00
Jelmer Vernooij
84df2acf05 r15252: Fix inet_aton (required for Tru64 and Solaris)
(This used to be commit 015e6e3d1bc1eafb1e3654203715fe1100676675)
2007-10-10 14:04:25 -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
f7ef520158 r15234: Remove heimdal include paths from global CFLAGS
(This used to be commit 0466165e90160209679a6005511e04e55ed2bf06)
2007-10-10 14:04:22 -05:00
Jelmer Vernooij
99487b0ab7 r15230: Add include dir for -Iheimdal_build earlier on - this should fix sun1
(This used to be commit b74faf771d37eccb7f95236c97162cc3b83e6794)
2007-10-10 14:04:21 -05:00
Jelmer Vernooij
82f1955314 r15223: Move heimdal's -I parameters from the global list of includes to
the subsystems in question
(This used to be commit 2fbb4d91fa580ccb64e36f0b082f23af33123b13)
2007-10-10 14:04:20 -05:00
Andrew Bartlett
d1a79b1f7e r15221: We don't need to have these rcsid strings in Samba's use of Heimdal.
Andrew Bartlett
(This used to be commit b2649aaf399e6ff8d3e749b21cf64ea5e089e5cb)
2007-10-10 14:04:20 -05:00
Andrew Bartlett
306baa12f8 r15219: Look for gai_strerror in more places, so we don't conflict with the
system library.

This might help the build on proprietory unixes

Andrew Bartlett
(This used to be commit f1da657d5629425b55c9bd89427ef5d8c19f9636)
2007-10-10 14:04:19 -05:00
Alexander Bokovoy
5027cd85c1 r15211: REQUIRED_SUBSYSTEMS for binaries are gone, use PRIVATE_DEPENDENCIES here
(This used to be commit 29bd0d6d0c9832ad10da1fe9b07c2bbc9910c8c6)
2007-10-10 14:04:18 -05:00
Alexander Bokovoy
fdb9e6ce16 r15208: Change _GNU_SOURCE propagation to apply only to generated files as Andrew B. suggests
(This used to be commit 9b99d4d3d59dcd4f75e7220f4c430a2c24af8920)
2007-10-10 14:04:18 -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
Alexander Bokovoy
758946429e r15206: Heimdal is always compiled with _GNU_SOURCE enabled (in its configure.in it is defined unconditionally).
However, the lex-generated files don't fetch config.h's definition of _GNU_SOURCE before including
features.h because of preamble added by lex which already includes some system headers which in turn
include features.h. Therefore, we need to specify it explicitly on comand line.

This change adds some 'noise' (_GNU_SOURCE already defined ...) but it is neccessary to get samba4 to
compile successfuly on Maemo.
(This used to be commit cd7307c099ace123d840459da39a49ccf3872267)
2007-10-10 14:04:18 -05:00
Andrew Bartlett
c33f6b2c37 r15192: Update Samba4 to use current lorikeet-heimdal.
Andrew Bartlett
(This used to be commit f0e538126c5cb29ca14ad0d8281eaa0a715ed94f)
2007-10-10 14:04:15 -05:00
James Peach
346212d8f9 r15156: For some reason, ln -sf doesn't appear to work as expected on IRIX. Replace
this with an explicit rm.
(This used to be commit ed33a140044c301f23b1bccbc334dd0e163647ed)
2007-10-10 14:04:12 -05:00
James Peach
7970a755ea r15155: Add strsep replacement from heimdal 0.7.2 for systems that don't
have strsep in libc.
(This used to be commit 76dea9f68ca9be909c45979c9e5510133e4f2264)
2007-10-10 14:04:12 -05:00
Alexander Bokovoy
573b2f75fb r15099: An attempt to fix BSD make portability issues. With these changes Samba 4 builds successfully on NetBSD 3.0
(This used to be commit 71ea07e72d71b06166e0384950df83061a4677b8)
2007-10-10 14:04:08 -05:00
Alexander Bokovoy
3c53cb85ce r15051: Remove directory creation from this rule; we use script/buildtree.pl for external build dir instead
(This used to be commit ba7b41bb57c926ba165260016c537622210b029b)
2007-10-10 14:04:04 -05:00
Alexander Bokovoy
9cf41988ff r15036: Add out of tree build support and see how buildfarm will respond to make constructs
(This used to be commit 9329854489e2c231ffb7986d39009e0936873c11)
2007-10-10 14:04:03 -05:00
Jelmer Vernooij
9dfdfc65b7 r15001: Add 'make dist'
(This used to be commit 16e67d04d40a156a60011bcf6247ebf6039bbf30)
2007-10-10 14:04:00 -05:00
Jelmer Vernooij
8e738cc6d4 r14866: Fix CFLAGS when building compile_et. This should fix the build
on some of the buildfarm hosts. Thanks to Richard Bollinger <rabollinger@gmail.com> for helping debug this.
(This used to be commit ab0c2ede27550f400c1ffb8fc1adbeddb477468e)
2007-10-10 13:59:44 -05:00
Jelmer Vernooij
0bc6e7a090 r14852: See if all target platforms support multiple .SUFFIXES lines.
(This used to be commit 137ed99e3527c5240533d59b6b98d1f01a849046)
2007-10-10 13:59:42 -05:00
Jelmer Vernooij
bb603cffaf r14654: Fix hcrypto link when using automatic dependencies
(This used to be commit 2db7109abf3cbf1b676077f8e7536644dc55dfab)
2007-10-10 13:59:05 -05:00
Andrew Bartlett
864d9b531d r14635: - Remove lex.c from SVN (it is built anyway, and having it in SVN
confuses things)

- Update Samba4 from lorikeet-heimdal

- Remove generated symlink on make clean

Andrew Bartlett
(This used to be commit a5c2b4cc92e807d18cb8df99bebf004fa4252e1e)
2007-10-10 13:59:02 -05:00
Jelmer Vernooij
59c427963f r14605: Create heimdal/lib/des/hcrypto symlink if it doesn't exist
(This used to be commit 303832bdc90f371c68185773009d143d1acf93ae)
2007-10-10 13:59:00 -05:00
Jelmer Vernooij
c2c7971119 r14562: Use VPATH to solve strange heimdal dependencies
(This used to be commit 4d09ffa7f128e881fc891988ea672ae93a7ab45d)
2007-10-10 13:58:47 -05:00
Jelmer Vernooij
0f98a4d451 r14558: Another two more static dependencies...
(This used to be commit 9938b7391ddc558e4962e342180738ce9891180e)
2007-10-10 13:58:46 -05:00
Jelmer Vernooij
356b739207 r14557: Add hack for asn1 files
(This used to be commit b4796266c3dcd000a034c94ed2ff249735d5db92)
2007-10-10 13:58:46 -05:00
Jelmer Vernooij
7b01c9e0c4 r14556: Fix some dependencies
(This used to be commit b5802770322678d3f9c2044039cc254024612f9b)
2007-10-10 13:58:46 -05:00
Jelmer Vernooij
c84cfc0ecc r14554: Write out header dependencies. This means all C files affected will be
rebuilt when a header file is changed. It also means parallel builds work now.

It will take a minute or so to generate all the dependency information,
but there should be no need to rebuild that information later on, unless
a file changes.

This behaviour is only enabled when building in developer mode
(--enable-developer) and requires a GNU make (or compatible). In all other
cases, the file 'static_deps.mk' is included, which contains some basic
hardcoded dependency information.
(This used to be commit eb435386f015ce1d89eb6f7e7837622ebd9e1951)
2007-10-10 13:58:45 -05:00
Jelmer Vernooij
781d122fb6 r14553: Use double colon feature in the makefile (supported by all buildfarm hosts!)
(This used to be commit f523c51b34c2305dcf861c542336f161a072a2f0)
2007-10-10 13:58:45 -05:00
Jelmer Vernooij
dcb912d23a r14545: Fix make dependency warning.
(This used to be commit 130db1abbe7f0998019bdf59332991b2a7d35eb2)
2007-10-10 13:58:43 -05:00
Jelmer Vernooij
b785a7c40c r14492: Fix shared libs - set SO_VERSION to 0 everywhere for now.
(This used to be commit 4682bc5ce047d81586447b9df82c91ed1fe677cf)
2007-10-10 13:57:32 -05:00
Jelmer Vernooij
71b4fd9792 r14477: Remove the NOPROTO property - it's no longer used as proto.h is gone.
(This used to be commit 9c37f847d32d2f327a88c53a90af0c73126b76be)
2007-10-10 13:57:30 -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
Andrew Bartlett
b7afac2b83 r14198: Update Samba4 to current lorikeet-heimdal.
Andrew Bartlett
(This used to be commit 97a0a0e2fa6784e5fc5278f7a15b385ddcb6a3b3)
2007-10-10 13:56:58 -05:00
Jelmer Vernooij
4ac2be9958 r13924: Split more prototypes out of include/proto.h + initial work on header
file dependencies
(This used to be commit 122835876748a3eaf5e8d31ad1abddab9acb8781)
2007-10-10 13:52:24 -05:00
Stefan Metzmacher
f8517b3874 r13922: - fix whitespaces
- remove some unused NOPROTO=YES on binaries

metze
(This used to be commit f57fd3c423ccfa4399c71559fd98d93a582e7a88)
2007-10-10 13:52:24 -05:00
Jelmer Vernooij
f6457b3d54 r13867: Wrap the cflags.sh hack in the build system. You can now simply
set subsystem-specific compiler flags in the .mk files.
(This used to be commit d512b147e8dda39016faf74a50a9d85bfc23a2eb)
2007-10-10 13:52:18 -05:00
Jelmer Vernooij
dfc517b053 r13658: More moving around of files:
- Collect the generic utility functions into a lib/util/ (a la GLib is
		for the GNOME folks)
 - Remove even more files from include/
(This used to be commit ba62880f5b05c2a505dc7f54676b231197a7e707)
2007-10-10 13:52:05 -05:00
Andrew Bartlett
28d78c40ad r13107: Follow the lead of Heimdal's kpasswdd and use the HDB (hdb-ldb in our
case) as the keytab.

This avoids issues in replicated setups, as we will replicate the
kpasswd key correctly (including from windows, which is why I care at
the moment).

Andrew Bartlett
(This used to be commit 849500d1aa658817052423051b1f5d0b7a1db8e0)
2007-10-10 13:51:26 -05:00
Stefan Metzmacher
6b566e83a6 r12899: - fix warnings on AIX
- fix compilation of auth/kerberos/krb5_init_context.c on AIX

metze
(This used to be commit 0e1ad08a8515056f4ed0923889bef04d85b84964)
2007-10-10 13:51:00 -05:00
Andrew Bartlett
fc6f41d70d r12752: Clean up compile_et and asn1_compile as well.
Andrew Bartlett
(This used to be commit 2a6023d7414c1c337bb24a8c6882a17380cbc658)
2007-10-10 13:49:50 -05:00
Andrew Bartlett
44384b4afa r12750: Clean up more asn1 generated files (pointed out by <HotaruT>).
Andrew Bartlett
(This used to be commit 5d42638170245b684b45459d0538ea86fa811214)
2007-10-10 13:49:49 -05:00
Jelmer Vernooij
bc4aebfaec r12670: Make a couple of dependencies stricter
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-10 13:49:35 -05:00
Jelmer Vernooij
d8e35f8828 r12498: Eliminate INIT_OBJ_FILES and ADD_OBJ_FILES. We were not using
the difference between these at all, and in the future the
fact that INIT_OBJ_FILES include smb_build.h will be sufficient to
have recompiles at the right time.
(This used to be commit b24f2583edee38abafa58578d8b5c4b43e517def)
2007-10-10 13:47:45 -05:00
Stefan Metzmacher
e17e21172a r12380: add a wraper script that calls the perl scripts in heimdal_build/
with the correct perl version, that was detected with configure

metze
(This used to be commit 9e103e53d1245e44563eea78d398d1de9895bd0e)
2007-10-10 13:47:32 -05:00