svn commit: samba r25259 - in branches/SAMBA_4_0/source/lib/ldb: .

Jelmer Vernooij jelmer at samba.org
Fri Sep 21 01:45:49 GMT 2007


Hi Metze,

Am Donnerstag, den 20.09.2007, 14:36 +0000 schrieb metze at samba.org:
> try to work arround the build failures on OpenBSD 3.7
> 
> metze
> Modified:
>    branches/SAMBA_4_0/source/lib/ldb/config.mk
> 
> 
> Changeset:
> Modified: branches/SAMBA_4_0/source/lib/ldb/config.mk
> ===================================================================
> --- branches/SAMBA_4_0/source/lib/ldb/config.mk	2007-09-20 12:42:15 UTC (rev 25258)
> +++ branches/SAMBA_4_0/source/lib/ldb/config.mk	2007-09-20 14:36:11 UTC (rev 25259)
> @@ -123,12 +123,16 @@
>  # End MODULE ldb_tdb
>  ################################################
>  
> +lib/ldb/common/ldb_modules.o: ./lib/ldb/common/ldb_modules.o
> +
>  ./lib/ldb/common/ldb_modules.o: lib/ldb/common/ldb_modules.c Makefile
>  	@echo Compiling $<
>  	@$(CC) `$(PERL) $(srcdir)/script/cflags.pl $@` $(CFLAGS) $(PICFLAG) \
>  	-DSHLIBEXT=\"$(SHLIBEXT)\" \
>  	-c $(FIRST_PREREQ) -o $@
>  
> +lib/ldb/common/ldb.o: ./lib/ldb/common/ldb.o
This causes warnings with GNU make:

make: Zirkuläre Datei lib/ldb/common/ldb.o <- lib/ldb/common/ldb.o
Abhängigkeit wird nicht verwendet.
make: Zirkuläre Datei lib/ldb/common/ldb_modules.o <-
lib/ldb/common/ldb_modules.o Abhängigkeit wird nicht verwendet.

I think instead we should just be using $(builddir) and $(srcdir)
consistently. For the time being, can we simply copy the rule rather
than use a bogus dependency that causes warnings?

Cheers,

Jelmer
-- 
Jelmer Vernooij <jelmer at samba.org> - http://samba.org/~jelmer/
Jabber: jelmer at jabber.fsfe.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.samba.org/archive/samba-technical/attachments/20070921/d987510a/attachment.bin


More information about the samba-technical mailing list