From 0d89fb27d4ab588b44dc55c0b3d89c8ade8d98e7 Mon Sep 17 00:00:00 2001 From: "Fabio M. Di Nitto" Date: Mon, 23 Mar 2009 21:58:58 +0000 Subject: [PATCH] Fix expansion order within the Makefile.am with the pleasent effect to avoid to include .lcrso files in make dist target git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1895 fd59a12c-fef9-0310-b244-a6a79926bd2f --- services/Makefile.am | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/services/Makefile.am b/services/Makefile.am index 305c99f7..3c7d289d 100644 --- a/services/Makefile.am +++ b/services/Makefile.am @@ -37,14 +37,17 @@ INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include \ -I$(top_builddir)/include/corosync \ -I$(top_srcdir)/include/corosync -LCRSO = service_evs.lcrso service_cfg.lcrso \ - service_cpg.lcrso service_confdb.lcrso \ - service_pload.lcrso quorum_votequorum.lcrso \ - quorum_testquorum.lcrso +SERVICE_LCRSO = evs cfg cpg confdb pload -LCRSO_OBJS = $(LCRSO:service_%.lcrso=%.o) $(LCRSO:quorum_%.lcrso=%.o) +QUORUM_LCRSO = votequorum testquorum -EXTRA_DIST = $(LCRSO_OBJS:%.o=%.c) +SOURCES = $(SERVICE_LCRSO:%=%.c) $(QUORUM_LCRSO:%=%.c) + +EXTRA_DIST = $(SOURCES) + +LCRSO = $(SERVICE_LCRSO:%=service_%.lcrso) $(QUORUM_LCRSO:%=quorum_%.lcrso) + +LCRSO_OBJS = $(SOURCES:%.c=%.o) if BUILD_DARWIN quorum_%.lcrso: %.o