public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: STABLE3 - config: cleanup rng2ldif build
@ 2009-09-09 8:58 Fabio M. Di Nitto
0 siblings, 0 replies; only message in thread
From: Fabio M. Di Nitto @ 2009-09-09 8:58 UTC (permalink / raw)
To: cluster-cvs-relay
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=64b7b036cdbb228508bbe2c3c667fc775b940c79
Commit: 64b7b036cdbb228508bbe2c3c667fc775b940c79
Parent: 6ba6404b0725fc61bd7df34734caa6b204ce1f28
Author: Fabio M. Di Nitto <fdinitto@redhat.com>
AuthorDate: Wed Sep 9 10:56:29 2009 +0200
Committer: Fabio M. Di Nitto <fdinitto@redhat.com>
CommitterDate: Wed Sep 9 10:57:09 2009 +0200
config: cleanup rng2ldif build
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
---
config/tools/ldap/Makefile | 3 +++
config/tools/ldap/rng2ldif/Makefile | 16 ++++++++--------
2 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/config/tools/ldap/Makefile b/config/tools/ldap/Makefile
index 5c6b2d6..f58c788 100644
--- a/config/tools/ldap/Makefile
+++ b/config/tools/ldap/Makefile
@@ -2,6 +2,8 @@ TARGET= confdb2ldif
SBINDIRT=$(TARGET)
+SUBDIRS=rng2ldif
+
all: ${TARGET}
include ../../../make/defines.mk
@@ -9,6 +11,7 @@ include $(OBJDIR)/make/cobj.mk
include $(OBJDIR)/make/clean.mk
include $(OBJDIR)/make/install.mk
include $(OBJDIR)/make/uninstall.mk
+include $(OBJDIR)/make/passthrough.mk
OBJS= confdb2ldif.o
diff --git a/config/tools/ldap/rng2ldif/Makefile b/config/tools/ldap/rng2ldif/Makefile
index 5192780..75a2b03 100644
--- a/config/tools/ldap/rng2ldif/Makefile
+++ b/config/tools/ldap/rng2ldif/Makefile
@@ -10,8 +10,9 @@ include $(OBJDIR)/make/install.mk
include $(OBJDIR)/make/uninstall.mk
CFLAGS += -D_GNU_SOURCE
-CFLAGS += -I. -I${incdir}
+CFLAGS += -I.
CFLAGS += `xml2-config --cflags`
+CFLAGS += -I${incdir}
LDFLAGS += `xml2-config --libs`
LDFLAGS += -L${libdir}
@@ -27,17 +28,16 @@ SHAREDOBJS= zalloc.o \
name.o
${TARGET1}: ${SHAREDOBJS} ${OBJS1}
- $(CC) -o $@ $^ $(EXTRA_LDFLAGS) $(LDFLAGS)
+ $(CC) -o $@ $^ $(LDFLAGS)
${TARGET2}: ${SHAREDOBJS} ${OBJS2}
$(CC) -o $@ $^ $(LDFLAGS)
-ldif-update: all ../../../plugins/ldap/ldap-base.csv
- make -C ../../xml cluster.rng
- ./rng2ldif ../../xml/cluster.rng \
- ../../../plugins/ldap/ldap-base.csv \
- ../../../plugins/ldap/99cluster.ldif
-
+ldif-update: all $(SRCDIR)/config/plugins/ldap/ldap-base.csv
+ make -C $(OBJDIR)/config/tools/xml cluster.rng
+ ./rng2ldif $(OBJDIR)/config/tools/xml/cluster.rng \
+ $(SRCDIR)/config/plugins/ldap/ldap-base.csv \
+ $(SRCDIR)/config/plugins/ldap/99cluster.ldif
clean: generalclean
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-09-09 8:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-09 8:58 cluster: STABLE3 - config: cleanup rng2ldif build Fabio M. Di Nitto
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).