1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-24 04:23:53 +03:00
Commit Graph

508 Commits

Author SHA1 Message Date
Jelmer Vernooij
7e34e0645c r25847: Don't link modules against their subsystem. 2007-12-21 05:44:25 +01:00
Stefan Metzmacher
ee47f5dc79 r25712: try to fix the build, perl should handle by_path as comparison function
metze
2007-12-21 05:43:24 +01:00
Stefan Metzmacher
1f5a98cd91 r25711: only use sort if available
metze
2007-12-21 05:43:24 +01:00
Stefan Metzmacher
4c8e539af1 r25697: make *clean doesn't work after a svn up when some *.mk files were removed
the error is:
SAMBA_4_0/source> make clean
make: *** No rule to make target `lib/ldb/samba/config.mk', needed by `Makefile'.  Stop.

the problem is:
Makefile: config.status $(MK_FILES)
	./config.status

so now we let the MK_FILES variable empty for the *clean targets
if gnu make is detected, we should later test if this construct
is portable to other make implementations and remove the check for gnu make.

metze
2007-12-21 05:43:19 +01:00
Jelmer Vernooij
7565c4a0dd r25617: Make sure system include paths come after samba include paths. Patch from Timur Bakeyev. 2007-12-21 05:42:55 +01:00
Jelmer Vernooij
93e5a568e3 r25524: Fix directory names for local module builds. 2007-10-10 15:07:47 -05:00
Michael Adam
6d07e29de2 r25515: Revert r25448:
Immediate structures are *not* supportet by the native C compiler
at least on Solaris, Tru64 and HP-UX.

Michael
2007-10-10 15:07:46 -05:00
Jelmer Vernooij
d54a47ecdc r25448: Remove IMMEDIATE_STRUCTURES define, which was used for splint. Newer versions of splint support immediate structures just fine. 2007-10-10 15:07:35 -05:00
Stefan Metzmacher
9d6d296105 r25187: pass FIRST_PREREQ to Makefile so that the value can be used
in handwritten rules too, hopefully fix the build
of ldb with bsd make.

metze
2007-10-10 15:06:48 -05:00
Jelmer Vernooij
635ea8996a r25095: Display of which libraries the system-provided version is being used. 2007-10-10 15:06:34 -05:00
Jelmer Vernooij
3146f0dead r25094: Force building shared module if subsystem is a shared library. 2007-10-10 15:06:34 -05:00
Andrew Bartlett
cda965e908 r25051: Move SWAT back to the old-style form-submit modal.
The Web 2.0, async client tools were really interesting, but without
developer backing they remain impossible to support into a release.

The most interesting app was the LDB browser, and I intend to replace
this with phpLdapAdmin, preconfigured for Apache during provision.

This also removes the need to 'compile' SWAT on SVN checkouts.

Andrew Bartlett
2007-10-10 15:05:50 -05:00
Jelmer Vernooij
9647f860bd r24814: Fix headers, trim core.h even more. 2007-10-10 15:03:14 -05:00
Alexander Bokovoy
6c95eabac6 r23862: Explain who requested unknown dependency. Helps a lot in chasing dependency hell when trimming down s4 platform 2007-10-10 15:01:05 -05:00
Stefan Metzmacher
31cbb9ff9f r23635: fix the samba4 build...
we need a bit more work to get linking of
shared libraries completely right...

metze
2007-10-10 14:53:29 -05:00
Stefan Metzmacher
d260958084 r23631: when linking shared libraries we need to make shure the linker doesn't
skip "unneeded" object files from within .a files.

If the build-farm doesn't like -Wl,--whole-archive, I'll add some more
configure logic fix it tomorrow.

Kai: with this your libnss_winbind.so patch works for me

metze
2007-10-10 14:53:29 -05:00
Stefan Metzmacher
62f9d0ce1c r22455: split dependecies array for compiling and linking and use better names:-)
calculate the CFLAGS only based on the public dependencies when recursing

metze
2007-10-10 14:51:22 -05:00
Stefan Metzmacher
d970f18144 r22452: fix creation of MK_FILES variable in Makefile
metze
2007-10-10 14:51:21 -05:00
Stefan Metzmacher
31fab208f6 r22451: allow
SKIP_DEP_FILES=yes make

metze
2007-10-10 14:51:21 -05:00
Stefan Metzmacher
b60a4f2765 r22410: disallow PUBLIC_ options on MODULE and BINARY
metze
2007-10-10 14:51:16 -05:00
Stefan Metzmacher
581f33d920 r22400: only add srcdir and builddir path if they differ
metze
2007-10-10 14:51:14 -05:00
Stefan Metzmacher
a45c7cf238 r22186: fix build with autodependencies
metze
2007-10-10 14:50:00 -05:00
James Peach
bb473bf856 r22047: Move suffix rules into smb_build. Enable $< if we are building with
GNU Make. This lets GNU Make users bild with $srcdir != $builddir.
2007-10-10 14:49:45 -05:00
Stefan Metzmacher
8ffcac65be r22038: - fix perl warning
- use the same if statement as in input.pm

metze
2007-10-10 14:49:44 -05:00
James Peach
c8ffdc1542 r22037: Make sure STATICDIR exists before linking a static archive. 2007-10-10 14:49:44 -05:00
James Peach
9400f07738 r22036: Make sure both srcdir and builddir are in VPATH. 2007-10-10 14:49:44 -05:00
James Peach
976343821b r22035: Introduce HOSTLD which is needed to link the asn1 compiler when cross
compiling.
2007-10-10 14:49:43 -05:00
James Peach
316283170a r22032: Make sure static libraries end up in bin/static. 2007-10-10 14:49:43 -05:00
James Peach
af87c22ecf r22031: Make sure we rewrite the include directives in CFLAGS to contain
paths from builddir and srcdir. builddir has precedence.
2007-10-10 14:49:43 -05:00
James Peach
bdb1532d3a r22030: Simplify include parsing for config.mk files, making sure we get
it right for the srcdir != builddir case. Emit some comment lines
that can be used to figure out which parts of the Makefile output
is generated from which config files.
2007-10-10 14:49:42 -05:00
Jelmer Vernooij
38f867880b r21707: Finally merge my (long-living) perlselftest branch.
This changes the main selftest code to be in perl rather than in shell script.

The selftest script is now no longer a black box but a regular executable that takes
--help.

This adds the following features:

 * "make test TESTS=foo" will run only the tests that match the regex "foo"
 * ability to deal with expected failures. the suite will not warn about tests
   that fail and are known to fail, but will warn about other failing tests and
   tests that are succeeding tests but incorrectly marked as failing.
 * ability to print a summary with all failures at the end of the run

It also opens up the way to the following features, which I hope to implement later:
 * "environments", for example having a complete domains with DCs and domain members
 in a testenvironment
 * only set up smbd if necessary (not when running LOCAL tests, for example)
 * different mktestsetup scripts per target. except for the mktestsetup script, we can
   use the same infrastructure for samba 3 or windows.
2007-10-10 14:49:15 -05:00
Jelmer Vernooij
0200971142 r21684: remove summary line for gtk code, as it's now maintained out-of-tree 2007-10-10 14:49:11 -05:00
Jelmer Vernooij
06659bce1b r21678: Don't generate Requires.private lines for install .pc files. Static library use by external programs is still broken, but this should at least fix shared libs. 2007-10-10 14:49:09 -05:00
Jelmer Vernooij
7f451cbb8d r21541: Export mgmt, samr and atsvc for use in samba-gtk. 2007-10-10 14:48:55 -05:00
Jelmer Vernooij
6bada0dcf0 r20942: Simplify handling of systems that don't support negative enum values by using an ifdef rather than a pidl argument. 2007-10-10 14:43:57 -05:00
Stefan Metzmacher
624bd4e5a8 r20825: control the subsystem default output type via a variable too
metze
2007-10-10 14:43:36 -05:00
Stefan Metzmacher
a154fd04c8 r20802: - don't add the same Makefile vars twice...
- this fixes a lot of warnings on Tru64

maybe this also fixes the build on Tru64 and HPUX...

metze
2007-10-10 14:43:32 -05:00
Andrew Bartlett
14b485ba9c r20645: Commit the build system changes to allow scripts in config.mk files.
Andrew Bartlett
2007-10-10 14:37:23 -05:00
Derrell Lipman
0201baef46 r20444: WEB Application framework / SWAT.
We're now at the stage where the web application framework should build and
install automatically.

Derrell
2007-10-10 14:30:39 -05:00
Stefan Metzmacher
6a089d48ec r20303: try to fix 'make install' on solaris 8, ln -fs doesn't seem to work if
the link already exist

metze
2007-10-10 14:29:35 -05:00
Jelmer Vernooij
ab3d573946 r20298: Fix pidl tests (missing symlink..). 2007-10-10 14:29:34 -05:00
Jelmer Vernooij
033b4382c0 r19908: Fix order of paths in pc files. 2007-10-10 14:28:35 -05:00
Jelmer Vernooij
fb623be4ff r19882: Fix static link flags in pkg-config files. Should allow running
pidl tests on systems without shared libs.
2007-10-10 14:28:31 -05:00
Jelmer Vernooij
72f1ffc0ef r19881: Add private library flags when linking to static libraries. 2007-10-10 14:28:31 -05:00
Jelmer Vernooij
db237ad52f r19863: Create -uninstalled.pc files. This should reenable compilation and running
of the pidl testsuite as part of the testsuite.
2007-10-10 14:28:27 -05:00
Jelmer Vernooij
0953bb7d5f r19678: Fix the build for now (ugly hack because of circular dependencies) 2007-10-10 14:25:30 -05:00
Jelmer Vernooij
dad9156db9 r19673: Build shared libs against shared libs. 2007-10-10 14:25:28 -05:00
Jelmer Vernooij
4422031d1d r19670: Reduce the number of unresolved symbols when building with shared libraries. 2007-10-10 14:25:27 -05:00
Jelmer Vernooij
82cb91e2dd r19636: Add URLs to ldb and talloc pkg-config files.
Always build and install .pc files as they make sense for static libs
as well.
2007-10-10 14:25:22 -05:00
Jelmer Vernooij
e8f2a086be r19634: Only use --allow-undef-shlib for modules. 2007-10-10 14:25:21 -05:00