[Cluster-devel] cluster ccs/lib/Makefile gfs/libgfs/Makefile g ...

fabbione at sourceware.org fabbione at sourceware.org
Mon Nov 12 08:17:01 UTC 2007


CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	fabbione at sourceware.org	2007-11-12 08:17:00

Modified files:
	ccs/lib        : Makefile 
	gfs/libgfs     : Makefile 
	gfs2/libgfs2   : Makefile 
	group/lib      : Makefile 
	rgmanager/src/clulib: Makefile 

Log message:
	Be consistent across the entire tree on AR and RANLIB invocations

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/ccs/lib/Makefile.diff?cvsroot=cluster&r1=1.8&r2=1.9
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs/libgfs/Makefile.diff?cvsroot=cluster&r1=1.10&r2=1.11
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/libgfs2/Makefile.diff?cvsroot=cluster&r1=1.12&r2=1.13
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/group/lib/Makefile.diff?cvsroot=cluster&r1=1.7&r2=1.8
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/clulib/Makefile.diff?cvsroot=cluster&r1=1.17&r2=1.18

--- cluster/ccs/lib/Makefile	2007/08/28 04:35:39	1.8
+++ cluster/ccs/lib/Makefile	2007/11/12 08:16:59	1.9
@@ -25,7 +25,8 @@
 all: ${TARGET}
 
 ${TARGET}: ${OBJS}
-	${AR} cr ${TARGET} ${OBJS}
+	${AR} cr $@ $^
+	${RANLIB} $@
 
 %.o: %.c
 	$(CC) $(CFLAGS) -c -o $@ $<
--- cluster/gfs/libgfs/Makefile	2007/08/28 04:35:43	1.10
+++ cluster/gfs/libgfs/Makefile	2007/11/12 08:17:00	1.11
@@ -41,8 +41,8 @@
 all: ${TARGET}
 
 ${TARGET}: ${OBJS}
-	ar cru libgfs.a ${OBJS}
-	ranlib libgfs.a
+	${AR} cru $@ $^
+	${RANLIB} $@
 
 %.o: %.c
 	$(CC) $(CFLAGS) -c -o $@ $<
--- cluster/gfs2/libgfs2/Makefile	2007/10/19 15:06:56	1.12
+++ cluster/gfs2/libgfs2/Makefile	2007/11/12 08:17:00	1.13
@@ -40,8 +40,8 @@
 all: ${TARGET}
 
 ${TARGET}: ${OBJS}
-	ar cru libgfs2.a ${OBJS}
-	ranlib libgfs2.a
+	${AR} cru $@ $^
+	${RANLIB} $@
 
 %.o: %.c
 	$(CC) $(CFLAGS) -c -o $@ $<
--- cluster/group/lib/Makefile	2007/08/28 04:35:45	1.7
+++ cluster/group/lib/Makefile	2007/11/12 08:17:00	1.8
@@ -23,7 +23,7 @@
 
 $(TARGET).a: $(TARGET).o
 	${AR} r $@ $^
-#	${RANLIB} $(TARGET).a 
+	${RANLIB} $@
 
 %.o: %.c
 	$(CC) $(CFLAGS) -c -o $@ $<
--- cluster/rgmanager/src/clulib/Makefile	2007/08/28 04:35:47	1.17
+++ cluster/rgmanager/src/clulib/Makefile	2007/11/12 08:17:00	1.18
@@ -42,11 +42,11 @@
 
 ${TARGET1}: ${OBJS1}
 	${AR} cru $@ $^
-	ranlib $@
+	${RANLIB} $@
 
 ${TARGET2}: ${OBJS2}
 	${AR} cru $@ $^
-	ranlib $@
+	${RANLIB} $@
 
 ${TARGET3}: ${OBJS3} ${TARGET1}
 	$(CC) -o $@ $^ $(LDFLAGS)




More information about the Cluster-devel mailing list