Please review my Makefile, configure, & Misc patches
Subsystems (2)
Hi Everybody,
Below is a cvs diff I'd like people to review before I commit it to CVS. Since this affects pretty much ALL cluster Makefiles, I'm asking that developers
look at their respective areas to see if I did something stupid or forgot something.
This fix includes the following changes:
1. All Makefiles have been changed to get rid of references to "copytobin." This will hopefully make it easier to build from source code and
eliminate
discrepancies between cluster/component/bin and sbindir, which bit me last week.
2. All Makefiles have been updated to use "make -C <dir>" rather than "cd <dir> ; make" so that compile errors won't charge ahead without stopping you.
3. The cman and group configure files have been modified to allow building properly to /usr/lib64 on x86_64 systems without specifying
libdir.
(As instructed in usage.txt)
4. Minor change to cman/daemon/ais.c for a compile error on some systems.
5. Minor change to gfs-kernel/src/gfs/super.c for a compile error on some systems.
Regards,
Bob Peterson
Red Hat Cluster Suite
Index: Makefile
===================================================================
RCS file: /cvs/cluster/cluster/Makefile,v
retrieving revision 1.22
Makefile 8 Aug 2006 22:57:18 -0000 renamed from Makefile 19 Jul 2006 14:45:58 -0000 1.22 +0 -13
@@ -30,19 +30,6 @@ all: cd rgmanager && ${MAKE} # cd cmirror && ${MAKE} -copytobin: - cd gfs-kernel && ${MAKE} copytobin - cd gnbd-kernel && ${MAKE} copytobin - cd ccs && ${MAKE} copytobin - cd cman && ${MAKE} copytobin - cd dlm && ${MAKE} copytobin - cd fence && ${MAKE} copytobin - cd gfs && ${MAKE} copytobin - cd gfs2 && ${MAKE} copytobin - cd gnbd && ${MAKE} copytobin - cd rgmanager && ${MAKE} copytobin -# cd cmirror && ${MAKE} copytobin - clean: rm -f *tar.gz rm -rf build
Index: ccs/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/ccs/Makefile,v
retrieving revision 1.9
Makefile 8 Aug 2006 22:57:18 -0000 renamed from Makefile 29 Jun 2006 18:58:31 -0000 1.9 +0 -6
@@ -16,12 +16,6 @@ all: cd ccs_test && ${MAKE} all cd ccs_tool && ${MAKE} all -copytobin: - cd daemon && ${MAKE} copytobin - cd lib && ${MAKE} copytobin - cd ccs_test && ${MAKE} copytobin - cd ccs_tool && ${MAKE} copytobin - clean: cd bin && ${MAKE} clean cd daemon && ${MAKE} clean
Index: ccs/ccs_test/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/ccs/ccs_test/Makefile,v retrieving revision 1.2
ccs_test/Makefile 8 Aug 2006 22:57:18 -0000 renamed from ccs_test/Makefile 11 Feb 2005 17:38:08 -0000 1.2 +0 -3
@@ -30,9 +30,6 @@ LOADLIBES+= -lccs all: ccs_test -copytobin: all - cp ccs_test ${top_srcdir}/bin - ccs_test: ccs_test.c ${ccs_libdir}/libccs.a ${CC} ${CFLAGS} ${INCLUDE} ccs_test.c ${LDFLAGS} ${LOADLIBES}
${LDLIBS}-o $@
Index: ccs/daemon/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/ccs/daemon/Makefile,v retrieving revision 1.8
daemon/Makefile 8 Aug 2006 22:57:18 -0000 renamed from daemon/Makefile 20 Apr 2006 18:46:54 -0000 1.8 +1 -1
@@ -15,6 +15,7 @@ UNINSTALL = ${top_srcdir}/scripts/uninst include ${top_srcdir}/make/defines.mk +TARGET= ccsd INCLUDE= -I. -I../include -I../common -I${top_srcdir}/config -I../../cman/lib
ifeq ($(DEBUG),y)
@@ -27,21 +28,18 @@ endif
LDFLAGS+= -L${libdir} xml2-config --libs -lpthread -ldl
-all: ccsd
-
-copytobin: all
- cp ccsd ${top_srcdir}/bin
+all: ${TARGET}
ccsd: ccsd.c cnx_mgr.c cluster_mgr.c misc.c ../common/log.c globals.c
${CC} ${CFLAGS} ${INCLUDE} -o $@ $^ ${LDFLAGS} \
../../cman/lib/libcman.a-install: ccsd
+install: all
install -d ${sbindir}- install ccsd ${sbindir}
+ install ${TARGET} ${sbindir}
uninstall:
- ${UNINSTALL} ccsd ${sbindir}
+ ${UNINSTALL} ${TARGET} ${sbindir}
clean:
- rm -rf *.o ccsd *~
+ rm -rf *.o ${TARGET} *~
Index: ccs/init.d/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/ccs/init.d/Makefile,v retrieving revision 1.1
init.d/Makefile 8 Aug 2006 22:57:18 -0000 renamed from init.d/Makefile 17 Dec 2004 20:05:32 -0000 1.1 +0 -2
@@ -18,8 +18,6 @@ top_srcdir=.. include ${top_srcdir}/make/defines.mk -copytobin: - clean: install:
Index: ccs/lib/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/ccs/lib/Makefile,v
retrieving revision 1.3
lib/Makefile 8 Aug 2006 22:57:18 -0000 renamed from lib/Makefile 6 Jun 2006 09:42:43 -0000 1.3 +0 -3
@@ -24,8 +24,6 @@ endif all: libccs.a -copytobin: all - libccs.a: libccs.o log.o ${AR} cr libccs.a libccs.o log.o
@@ -48,4 +46,3 @@ uninstall: clean: rm -rf *~ *.o libccs.a -
Index: cman/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/cman/Makefile,v
retrieving revision 1.9
Makefile 8 Aug 2006 22:57:18 -0000 renamed from Makefile 19 May 2006 14:41:35 -0000 1.9 +21 -27
59 lines not on this page · raw message
Index: cman/configure
===================================================================
RCS file: /cvs/cluster/cluster/cman/configure,v
retrieving revision 1.8
configure 8 Aug 2006 22:57:18 -0000 renamed from configure 7 Jul 2006 06:58:20 -0000 1.8 +7 -0
@@ -14,6 +14,7 @@ ############################################################################### use Getopt::Long; +use POSIX; print "\nConfiguring Makefiles for your system...\n";
@@ -88,8 +89,14 @@ if (!$ccsincdir) { $ccsincdir="${incdir}/cluster"; } if (!$libdir) { + my $arch = (POSIX::uname())[4]; + if ($arch eq "x86_64") { + $libdir="${prefix}/usr/lib64"; + } + else { $libdir="${prefix}/usr/lib"; } +} if (!$libexecdir) { $libexecdir="${prefix}/usr/libexec"; }
Index: cman/cman_tool/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/cman/cman_tool/Makefile,v retrieving revision 1.17
cman_tool/Makefile 8 Aug 2006 22:57:18 -0000 renamed from cman_tool/Makefile 3 Jul 2006 12:13:55 -0000 1.17 +0 -3
@@ -28,9 +28,6 @@ TARGET=cman_tool all: ${TARGET} -copytobin: all - cp ${TARGET} ${top_srcdir}/bin - cman_tool: main.o join.o ../lib/libcman.a $(CC) $(LDFLAGS) -L$(ccslibdir) -o $@ $^ -L../lib -lccs
Index: cman/daemon/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/cman/daemon/Makefile,v retrieving revision 1.46
daemon/Makefile 8 Aug 2006 22:57:18 -0000 renamed from daemon/Makefile 7 Jul 2006 07:53:14 -0000 1.46 +0 -3
@@ -29,9 +29,6 @@ CMAN_OBJS=daemon.o config.o logging.o ai all: ${TARGET} -copytobin: all - cp ${TARGET} ${top_srcdir}/bin - service_cman.lcrso: ${CMAN_OBJS} $(CC) $(CFLAGS) -shared -Wl,-soname,service_cman.lcrso -o $@
${CMAN_OBJS} -L../lib -L${ccslibdir} -lccs
Index: cman/daemon/ais.c
===================================================================
RCS file: /cvs/cluster/cluster/cman/daemon/ais.c,v retrieving revision 1.34
daemon/ais.c 8 Aug 2006 22:57:18 -0000 renamed from daemon/ais.c 2 Aug 2006 11:54:36 -0000 1.34 +1 -0
@@ -24,6 +24,7 @@ #include <netinet/in.h> #include <arpa/inet.h> #include <netdb.h> +#include <signal.h> /* openais headers */ #include <openais/totem/totemip.h>
Index: cman/init.d/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/cman/init.d/Makefile,v retrieving revision 1.2
init.d/Makefile 8 Aug 2006 22:57:18 -0000 renamed from init.d/Makefile 19 May 2006 14:41:35 -0000 1.2 +1 -1
@@ -18,7 +18,7 @@ top_srcdir=.. include ${top_srcdir}/make/defines.mk -copytobin: +all: clean:
Index: cman/lib/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/cman/lib/Makefile,v retrieving revision 1.6
lib/Makefile 8 Aug 2006 22:57:18 -0000 renamed from lib/Makefile 15 Sep 2005 13:26:24 -0000 1.6 +0 -3
@@ -37,9 +37,6 @@ $(LIBNAME).so.${RELEASE_MAJOR}.${RELEASE libcman.o: libcman.c $(CC) $(CFLAGS) -c -o $@ $< -I../daemon -copytobin: all - - install: all install -d ${incdir} install libcman.h ${incdir}
Index: cman/qdisk/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/cman/qdisk/Makefile,v retrieving revision 1.5
qdisk/Makefile 8 Aug 2006 22:57:18 -0000 renamed from qdisk/Makefile 23 Jun 2006 21:32:45 -0000 1.5 +0 -3
@@ -23,9 +23,6 @@ TARGET=qdiskd mkqdisk all: ${TARGET} -copytobin: all - cp ${TARGET} ${top_srcdir}/bin - install: ${TARGET} install -d ${sbindir} install ${TARGET} ${sbindir}
Index: csnap/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/csnap/Makefile,v
retrieving revision 1.14
Makefile 8 Aug 2006 22:57:18 -0000 renamed from Makefile 8 Mar 2006 18:13:37 -0000 1.14 +1 -1
@@ -1,5 +1,5 @@ all: - cd src && ${MAKE} copytobin + cd src && ${MAKE} -C src all clean: cd src && ${MAKE} clean
Index: csnap/bin/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/csnap/bin/Makefile,v retrieving revision 1.1
bin/Makefile 8 Aug 2006 22:57:18 -0000 renamed from bin/Makefile 8 Mar 2006 18:13:37 -0000 1.1 +0 -2
@@ -41,5 +41,3 @@ install: all uninstall: ${UNINSTALL} ${SBINPROGS} ${sbindir} - -copytobin:
Index: csnap/src/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/csnap/src/Makefile,v retrieving revision 1.1
src/Makefile 8 Aug 2006 22:57:18 -0000 renamed from src/Makefile 8 Mar 2006 18:13:38 -0000 1.1 +6 -2
@@ -34,8 +34,12 @@ csnap-create csnap-delete: create.c $(de cc -Wall create.c -DCREATE -o csnap-create -lpopt cc -Wall create.c -DDELETE -o csnap-delete -lpopt -copytobin: all - cp $(binaries) $(top_srcdir)/bin +install: all + if [ ! -d ${sbindir} ]; then \ + install -d ${sbindir}; \ + fi + strip ${TARGET} + install -m755 ${binaries} ${sbindir} clean: rm -f $(binaries) *.o a.out
Index: dlm/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/dlm/Makefile,v
retrieving revision 1.6
Makefile 8 Aug 2006 22:57:18 -0000 renamed from Makefile 12 Jun 2006 16:53:27 -0000 1.6 +1 -4
@@ -14,10 +14,7 @@ all: cd lib && ${MAKE} all -copytobin: - cd lib && ${MAKE} copytobin - -install: +install: all cd lib && ${MAKE} install uninstall:
Index: dlm/lib/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/dlm/lib/Makefile,v
retrieving revision 1.15
lib/Makefile 8 Aug 2006 22:57:18 -0000 renamed from lib/Makefile 10 Jul 2006 18:25:15 -0000 1.15 +0 -3
@@ -54,9 +54,6 @@ $(LIBNAME)_lt.so.${RELEASE_MAJOR}.${RELE %.po: %.c $(CC) $(CFLAGS) -fPIC -D_REENTRANT -c -o $@ $< -copytobin: all - - install: all install -d ${incdir} install -m644 libdlm.h ${incdir}
Index: dlm/tests/usertest/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/dlm/tests/usertest/Makefile,v retrieving revision 1.4
tests/usertest/Makefile 8 Aug 2006 22:57:18 -0000 renamed from tests/usertest/Makefile 11 May 2006 12:29:11 -0000 1.4 +0 -3
@@ -43,6 +43,3 @@ lvb: lvb.c clean: rm -f *.o $(BINARIES) *~ core - -copytobin: -
Index: doc/usage.txt
===================================================================
RCS file: /cvs/cluster/cluster/doc/usage.txt,v
retrieving revision 1.32
usage.txt 8 Aug 2006 22:57:18 -0000 renamed from usage.txt 31 Jul 2006 22:35:32 -0000 1.32 +4 -2
@@ -23,8 +23,10 @@ Compile kernel with GFS2, DLM, configfs, Build and install the latest openais development tarball from http://developer.osdl.org/dev/openais/ - useradd -u 39 ais - cd branches/whitetank +or install subversion and type: + svn checkout http://svn.osdl.org/openais +Then: + cd /path/to/openais/branches/whitetank make; make install DESTDIR=/ Build and install the latest libvolume_id from the udev tarball
Index: fence/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/fence/Makefile,v
retrieving revision 1.6
Makefile 8 Aug 2006 22:57:18 -0000 renamed from Makefile 29 Jun 2006 18:58:31 -0000 1.6 +23 -17
@@ -10,28 +10,34 @@ ## ############################################################################### ############################################################################### -all: copytobin - -copytobin: - cd agents && ${MAKE} copytobin - cd fence_node && ${MAKE} copytobin - cd fence_tool && ${MAKE} copytobin - cd fenced && ${MAKE} copytobin +all: + ${MAKE} -C agents all + ${MAKE} -C fence_node all + ${MAKE} -C fence_tool all + ${MAKE} -C fenced all clean: - cd agents && ${MAKE} clean - cd bin && ${MAKE} clean - cd fence_node && ${MAKE} clean - cd fence_tool && ${MAKE} clean - cd fenced && ${MAKE} clean + ${MAKE} -C agents clean + ${MAKE} -C fence_node clean + ${MAKE} -C fence_tool clean + ${MAKE} -C fenced clean distclean: clean rm -f make/defines.mk -install: - cd bin && ${MAKE} install - cd man && ${MAKE} install +install: all + if [ ! -d ${sbindir} ]; then \ + install -d ${sbindir}; \ + fi + ${MAKE} -C agents install + ${MAKE} -C fence_node install + ${MAKE} -C fence_tool install + ${MAKE} -C fenced install + ${MAKE} -C man install uninstall: - cd bin && ${MAKE} uninstall - cd man && ${MAKE} uninstall + ${MAKE} -C agents uninstall + ${MAKE} -C fence_node uninstall + ${MAKE} -C fence_tool uninstall + ${MAKE} -C fenced uninstall + ${MAKE} -C man uninstall
Index: fence/agents/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/fence/agents/Makefile,v retrieving revision 1.12
agents/Makefile 8 Aug 2006 22:57:18 -0000 renamed from agents/Makefile 20 Jul 2006 15:06:17 -0000 1.12 +67 -68
141 lines not on this page · raw message
Index: fence/agents/apc/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/fence/agents/apc/Makefile,v retrieving revision 1.1
agents/apc/Makefile 8 Aug 2006 22:57:18 -0000 renamed from agents/apc/Makefile 24 Jun 2004 08:53:12 -0000 1.1 +0 -0
@@ -28,8 +28,11 @@ fence_apc: fence_apc.pl awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1}
{if(p==1)print}" $(SOURCE) >> $(TARGET)
chmod +x $(TARGET)
-copytobin: ${TARGET}
- cp ${TARGET} ${top_srcdir}/bin/${TARGET}
+install: all
+ if [ ! -d ${sbindir} ]; then \
+ install -d ${sbindir}; \
+ fi
+ install -m755 ${TARGET} ${sbindir}
clean:
rm -f $(TARGET)
Index: fence/agents/baytech/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/fence/agents/baytech/Makefile,v retrieving revision 1.1
agents/baytech/Makefile 8 Aug 2006 22:57:18 -0000 renamed from agents/baytech/Makefile 24 Jun 2004 08:53:13 -0000 1.1 +0 -0
@@ -29,8 +29,11 @@ $(TARGET): $(SOURCE) awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1}
{if(p==1)print}" $(SOURCE) >> $(TARGET)
chmod +x $(TARGET)
-copytobin: ${TARGET}
- cp ${TARGET} ${top_srcdir}/bin/${TARGET}
+install: all
+ if [ ! -d ${sbindir} ]; then \
+ install -d ${sbindir}; \
+ fi
+ install -m755 ${TARGET} ${sbindir}
clean:
rm -f $(TARGET)
Index: fence/agents/bladecenter/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/fence/agents/bladecenter/Makefile,v retrieving revision 1.2
agents/bladecenter/Makefile 8 Aug 2006 22:57:18 -0000 renamed from agents/bladecenter/Makefile 11 Jan 2005 22:38:47 -0000 1.2 +0 -0
@@ -28,8 +28,11 @@ fence_bladecenter: fence_bladecenter.pl awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1}
{if(p==1)print}" $(SOURCE) >> $(TARGET)
chmod +x $(TARGET)
-copytobin: ${TARGET}
- cp ${TARGET} ${top_srcdir}/bin/${TARGET}
+install: all
+ if [ ! -d ${sbindir} ]; then \
+ install -d ${sbindir}; \
+ fi
+ install -m755 ${TARGET} ${sbindir}
clean:
rm -f $(TARGET)
Index: fence/agents/brocade/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/fence/agents/brocade/Makefile,v retrieving revision 1.1
agents/brocade/Makefile 8 Aug 2006 22:57:18 -0000 renamed from agents/brocade/Makefile 24 Jun 2004 08:53:13 -0000 1.1 +0 -0
@@ -28,8 +28,11 @@ $(TARGET): $(SOURCE) awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1}
{if(p==1)print}" $(SOURCE) >> $(TARGET)
chmod +x $(TARGET)
-copytobin: ${TARGET}
- cp ${TARGET} ${top_srcdir}/bin/${TARGET}
+install: all
+ if [ ! -d ${sbindir} ]; then \
+ install -d ${sbindir}; \
+ fi
+ install -m755 ${TARGET} ${sbindir}
clean:
rm -f $(TARGET)
Index: fence/agents/bullpap/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/fence/agents/bullpap/Makefile,v retrieving revision 1.2
agents/bullpap/Makefile 8 Aug 2006 22:57:18 -0000 renamed from agents/bullpap/Makefile 1 Mar 2005 14:51:45 -0000 1.2 +0 -0
@@ -28,8 +28,11 @@ $(TARGET): $(SOURCE) awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1}
{if(p==1)print}" $(SOURCE) >> $(TARGET)
chmod +x $(TARGET)
-copytobin: ${TARGET}
- cp ${TARGET} ${top_srcdir}/bin/${TARGET}
+install: all
+ if [ ! -d ${sbindir} ]; then \
+ install -d ${sbindir}; \
+ fi
+ install -m755 ${TARGET} ${sbindir}
clean:
rm -f $(TARGET)
Index: fence/agents/cpint/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/fence/agents/cpint/Makefile,v retrieving revision 1.1
agents/cpint/Makefile 8 Aug 2006 22:57:18 -0000 renamed from agents/cpint/Makefile 24 Jun 2004 08:53:13 -0000 1.1 +0 -0
@@ -28,8 +28,11 @@ $(TARGET): $(SOURCE) awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1}
{if(p==1)print}" $(SOURCE) >> $(TARGET)
chmod +x $(TARGET)
-copytobin: ${TARGET}
- cp ${TARGET} ${top_srcdir}/bin/${TARGET}
+install: all
+ if [ ! -d ${sbindir} ]; then \
+ install -d ${sbindir}; \
+ fi
+ install -m755 ${TARGET} ${sbindir}
clean:
rm -f $(TARGET)
Index: fence/agents/drac/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/fence/agents/drac/Makefile,v retrieving revision 1.1
agents/drac/Makefile 8 Aug 2006 22:57:18 -0000 renamed from agents/drac/Makefile 28 Jun 2005 15:09:07 -0000 1.1 +0 -0
@@ -28,8 +28,11 @@ fence_drac: fence_drac.pl awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1}
{if(p==1)print}" $(SOURCE) >> $(TARGET)
chmod +x $(TARGET)
-copytobin: ${TARGET}
- cp ${TARGET} ${top_srcdir}/bin/${TARGET}
+install: all
+ if [ ! -d ${sbindir} ]; then \
+ install -d ${sbindir}; \
+ fi
+ install -m755 ${TARGET} ${sbindir}
clean:
rm -f $(TARGET)
Index: fence/agents/egenera/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/fence/agents/egenera/Makefile,v retrieving revision 1.1
agents/egenera/Makefile 8 Aug 2006 22:57:18 -0000 renamed from agents/egenera/Makefile 24 Jun 2004 08:53:13 -0000 1.1 +0 -0
@@ -28,8 +28,11 @@ fence_egenera: fence_egenera.pl awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1}
{if(p==1)print}" $(SOURCE) >> $(TARGET)
chmod +x $(TARGET)
-copytobin: ${TARGET}
- cp ${TARGET} ${top_srcdir}/bin/${TARGET}
+install: all
+ if [ ! -d ${sbindir} ]; then \
+ install -d ${sbindir}; \
+ fi
+ install -m755 ${TARGET} ${sbindir}
clean:
rm -f $(TARGET)
Index: fence/agents/ibmblade/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/fence/agents/ibmblade/Makefile,v retrieving revision 1.1
agents/ibmblade/Makefile 8 Aug 2006 22:57:18 -0000 renamed from agents/ibmblade/Makefile 24 Aug 2004 16:05:36 -0000 1.1 +0 -0
@@ -28,8 +28,11 @@ $(TARGET): $(SOURCE) awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1}
{if(p==1)print}" $(SOURCE) >> $(TARGET)
chmod +x $(TARGET)
-copytobin: ${TARGET}
- cp ${TARGET} ${top_srcdir}/bin/${TARGET}
+install: all
+ if [ ! -d ${sbindir} ]; then \
+ install -d ${sbindir}; \
+ fi
+ install -m755 ${TARGET} ${sbindir}
clean:
rm -f $(TARGET)
Index: fence/agents/ilo/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/fence/agents/ilo/Makefile,v retrieving revision 1.1
agents/ilo/Makefile 8 Aug 2006 22:57:18 -0000 renamed from agents/ilo/Makefile 13 Sep 2004 17:04:45 -0000 1.1 +0 -0
@@ -28,8 +28,11 @@ fence_ilo: $(SOURCE) awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1}
{if(p==1)print}" $(SOURCE) >> $(TARGET)
chmod +x $(TARGET)
-copytobin: ${TARGET}
- cp ${TARGET} ${top_srcdir}/bin/${TARGET}
+install: all
+ if [ ! -d ${sbindir} ]; then \
+ install -d ${sbindir}; \
+ fi
+ install -m755 ${TARGET} ${sbindir}
clean:
rm -f $(TARGET)
Index: fence/agents/ipmilan/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/fence/agents/ipmilan/Makefile,v retrieving revision 1.2
agents/ipmilan/Makefile 8 Aug 2006 22:57:18 -0000 renamed from agents/ipmilan/Makefile 1 Mar 2005 14:51:45 -0000 1.2 +5 -2
@@ -30,8 +30,11 @@ all: ${TARGET} fence_ipmilan: ${fence_ipmilan_SOURCE:.c=.o} ${CC} ${CFLAGS} ${LDFLAGS} ${fence_ipmilan_SOURCE:.c=.o} -o $@ -copytobin: all - cp ${TARGET} ${top_srcdir}/bin +install: all + if [ ! -d ${sbindir} ]; then \ + install -d ${sbindir}; \ + fi + install -m755 ${TARGET} ${sbindir} clean: rm -f *.o ${TARGET}
Index: fence/agents/manual/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/fence/agents/manual/Makefile,v retrieving revision 1.6
agents/manual/Makefile 8 Aug 2006 22:57:18 -0000 renamed from agents/manual/Makefile 20 Jun 2006 18:23:25 -0000 1.6 +5 -2
@@ -39,8 +39,11 @@ fence_ack_manual: ack.o ack.o: ack.c $(CC) $(CFLAGS) -c -o $@ $< -copytobin: all - cp ${TARGET} ${top_srcdir}/bin +install: all + if [ ! -d ${sbindir} ]; then \ + install -d ${sbindir}; \ + fi + install -m755 ${TARGET} ${sbindir} clean: rm -f *.o ${TARGET}
Index: fence/agents/mcdata/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/fence/agents/mcdata/Makefile,v retrieving revision 1.1
agents/mcdata/Makefile 8 Aug 2006 22:57:18 -0000 renamed from agents/mcdata/Makefile 24 Jun 2004 08:53:14 -0000 1.1 +0 -0
@@ -28,8 +28,11 @@ $(TARGET): $(SOURCE) awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1}
{if(p==1)print}" $(SOURCE) >> $(TARGET)
chmod +x $(TARGET)
-copytobin: ${TARGET}
- cp ${TARGET} ${top_srcdir}/bin/${TARGET}
+install: all
+ if [ ! -d ${sbindir} ]; then \
+ install -d ${sbindir}; \
+ fi
+ install -m755 ${TARGET} ${sbindir}
clean:
rm -f $(TARGET)
Index: fence/agents/rackswitch/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/fence/agents/rackswitch/Makefile,v retrieving revision 1.1
agents/rackswitch/Makefile 8 Aug 2006 22:57:18 -0000 renamed from agents/rackswitch/Makefile 24 Jun 2004 08:53:14 -0000 1.1 +0 -0
@@ -31,9 +31,11 @@ all: ${TARGET} fence_rackswitch: ${SOURCE:.c=.o} ${CC} ${CFLAGS} ${LDFLAGS} ${SOURCE:.c=.o} ${LOADLIBES}
${LDLIBS} -o $@
-copytobin: all
- cp ${TARGET} ${top_srcdir}/bin
-
+install: all
+ if [ ! -d ${sbindir} ]; then \
+ install -d ${sbindir}; \
+ fi
+ install -m755 ${TARGET} ${sbindir}
clean:
rm -f *.o ${TARGET} *~Index: fence/agents/rps10/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/fence/agents/rps10/Makefile,v retrieving revision 1.1
agents/rps10/Makefile 8 Aug 2006 22:57:18 -0000 renamed from agents/rps10/Makefile 16 Nov 2004 18:43:48 -0000 1.1 +5 -2
@@ -30,8 +30,11 @@ all: ${TARGET} fence_rps10: ${fence_rps10_SOURCE:.c=.o} ${CC} ${CFLAGS} ${LDFLAGS} ${fence_rps10_SOURCE:.c=.o} -o $@ -copytobin: all - cp ${TARGET} ${top_srcdir}/bin +install: all + if [ ! -d ${sbindir} ]; then \ + install -d ${sbindir}; \ + fi + install -m755 ${TARGET} ${sbindir} clean: rm -f *.o ${TARGET}
Index: fence/agents/rsa/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/fence/agents/rsa/Makefile,v retrieving revision 1.2
agents/rsa/Makefile 8 Aug 2006 22:57:18 -0000 renamed from agents/rsa/Makefile 6 Feb 2006 16:34:26 -0000 1.2 +0 -0
@@ -28,8 +28,11 @@ fence_rsa: fence_rsa.py awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1}
{if(p==1)print}" $(SOURCE) >> $(TARGET)
chmod +x $(TARGET)
-copytobin: ${TARGET}
- cp ${TARGET} ${top_srcdir}/bin/${TARGET}
+install: all
+ if [ ! -d ${sbindir} ]; then \
+ install -d ${sbindir}; \
+ fi
+ install -m755 ${TARGET} ${sbindir}
clean:
rm -f $(TARGET)
Index: fence/agents/rsb/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/fence/agents/rsb/Makefile,v retrieving revision 1.1
agents/rsb/Makefile 8 Aug 2006 22:57:18 -0000 renamed from agents/rsb/Makefile 19 Apr 2006 19:39:01 -0000 1.1 +0 -0
@@ -28,8 +28,11 @@ fence_rsb: fence_rsb.py awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1}
{if(p==1)print}" $(SOURCE) >> $(TARGET)
chmod +x $(TARGET)
-copytobin: ${TARGET}
- cp ${TARGET} ${top_srcdir}/bin/${TARGET}
+install: all
+ if [ ! -d ${sbindir} ]; then \
+ install -d ${sbindir}; \
+ fi
+ install -m755 ${TARGET} ${sbindir}
clean:
rm -f $(TARGET)
Index: fence/agents/sanbox2/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/fence/agents/sanbox2/Makefile,v retrieving revision 1.1
agents/sanbox2/Makefile 8 Aug 2006 22:57:18 -0000 renamed from agents/sanbox2/Makefile 24 Aug 2004 16:05:37 -0000 1.1 +0 -0
@@ -28,8 +28,11 @@ $(TARGET): $(SOURCE) awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1}
{if(p==1)print}" $(SOURCE) >> $(TARGET)
chmod +x $(TARGET)
-copytobin: ${TARGET}
- cp ${TARGET} ${top_srcdir}/bin/${TARGET}
+install: all
+ if [ ! -d ${sbindir} ]; then \
+ install -d ${sbindir}; \
+ fi
+ install -m755 ${TARGET} ${sbindir}
clean:
rm -f $(TARGET)
Index: fence/agents/scsi/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/fence/agents/scsi/Makefile,v retrieving revision 1.1
agents/scsi/Makefile 8 Aug 2006 22:57:18 -0000 renamed from agents/scsi/Makefile 29 Jun 2006 21:36:09 -0000 1.1 +0 -0
@@ -27,8 +27,11 @@ fence_scsi: fence_scsi.pl awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1}
{if(p==1)print}" $(SOURCE) >> $(TARGET)
chmod +x $(TARGET)
-copytobin: ${TARGET}
- cp ${TARGET} ${top_srcdir}/bin/${TARGET}
+install: all
+ if [ ! -d ${sbindir} ]; then \
+ install -d ${sbindir}; \
+ fi
+ install -m755 ${TARGET} ${sbindir}
clean:
rm -f $(TARGET)
Index: fence/agents/vixel/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/fence/agents/vixel/Makefile,v retrieving revision 1.1
agents/vixel/Makefile 8 Aug 2006 22:57:18 -0000 renamed from agents/vixel/Makefile 24 Jun 2004 08:53:15 -0000 1.1 +0 -0
@@ -28,8 +28,11 @@ $(TARGET): $(SOURCE) awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1}
{if(p==1)print}" $(SOURCE) >> $(TARGET)
chmod +x $(TARGET)
-copytobin: ${TARGET}
- cp ${TARGET} ${top_srcdir}/bin/${TARGET}
+install: all
+ if [ ! -d ${sbindir} ]; then \
+ install -d ${sbindir}; \
+ fi
+ install -m755 ${TARGET} ${sbindir}
clean:
rm -f $(TARGET)
Index: fence/agents/vmware/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/fence/agents/vmware/Makefile,v retrieving revision 1.1
agents/vmware/Makefile 8 Aug 2006 22:57:18 -0000 renamed from agents/vmware/Makefile 1 Sep 2005 18:25:41 -0000 1.1 +0 -0
@@ -28,8 +28,11 @@ $(TARGET): $(SOURCE) awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1}
{if(p==1)print}" $(SOURCE) >> $(TARGET)
chmod +x $(TARGET)
-copytobin: ${TARGET}
- cp ${TARGET} ${top_srcdir}/bin/${TARGET}
+install: all
+ if [ ! -d ${sbindir} ]; then \
+ install -d ${sbindir}; \
+ fi
+ install -m755 ${TARGET} ${sbindir}
clean:
rm -f $(TARGET)
Index: fence/agents/wti/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/fence/agents/wti/Makefile,v retrieving revision 1.1
agents/wti/Makefile 8 Aug 2006 22:57:19 -0000 renamed from agents/wti/Makefile 24 Jun 2004 08:53:15 -0000 1.1 +0 -0
@@ -28,8 +28,11 @@ $(TARGET): $(SOURCE) awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1}
{if(p==1)print}" $(SOURCE) >> $(TARGET)
chmod +x $(TARGET)
-copytobin: ${TARGET}
- cp ${TARGET} ${top_srcdir}/bin/${TARGET}
+install: all
+ if [ ! -d ${sbindir} ]; then \
+ install -d ${sbindir}; \
+ fi
+ install -m755 ${TARGET} ${sbindir}
clean:
rm -f $(TARGET)
Index: fence/agents/xcat/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/fence/agents/xcat/Makefile,v retrieving revision 1.1
agents/xcat/Makefile 8 Aug 2006 22:57:19 -0000 renamed from agents/xcat/Makefile 24 Jun 2004 08:53:15 -0000 1.1 +0 -0
@@ -23,8 +23,11 @@ $(TARGET): $(SOURCE) awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1}
{if(p==1)print}" $(SOURCE) >> $(TARGET)
chmod +x $(TARGET)
-copytobin: ${TARGET}
- cp ${TARGET} ${top_srcdir}/bin/${TARGET}
+install: all
+ if [ ! -d ${sbindir} ]; then \
+ install -d ${sbindir}; \
+ fi
+ install -m755 ${TARGET} ${sbindir}
clean:
rm -f $(TARGET)
Index: fence/agents/xen/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/fence/agents/xen/Makefile,v retrieving revision 1.1
agents/xen/Makefile 8 Aug 2006 22:57:19 -0000 renamed from agents/xen/Makefile 10 Jun 2005 14:12:45 -0000 1.1 +0 -0
@@ -28,8 +28,11 @@ $(TARGET): $(SOURCE) awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1}
{if(p==1)print}" $(SOURCE) >> $(TARGET)
chmod +x $(TARGET)
-copytobin: ${TARGET}
- cp ${TARGET} ${top_srcdir}/bin/${TARGET}
+install: all
+ if [ ! -d ${sbindir} ]; then \
+ install -d ${sbindir}; \
+ fi
+ install -m755 ${TARGET} ${sbindir}
clean:
rm -f $(TARGET)
Index: fence/agents/zvm/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/fence/agents/zvm/Makefile,v retrieving revision 1.1
agents/zvm/Makefile 8 Aug 2006 22:57:19 -0000 renamed from agents/zvm/Makefile 24 Jun 2004 08:53:17 -0000 1.1 +0 -0
@@ -28,8 +28,11 @@ $(TARGET): $(SOURCE) awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1}
{if(p==1)print}" $(SOURCE) >> $(TARGET)
chmod +x $(TARGET)
-copytobin: ${TARGET}
- cp ${TARGET} ${top_srcdir}/bin/${TARGET}
+install: all
+ if [ ! -d ${sbindir} ]; then \
+ install -d ${sbindir}; \
+ fi
+ install -m755 ${TARGET} ${sbindir}
clean:
rm -f $(TARGET)
Index: fence/fence_node/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/fence/fence_node/Makefile,v retrieving revision 1.4
fence_node/Makefile 8 Aug 2006 22:57:19 -0000 renamed from fence_node/Makefile 25 Apr 2006 13:51:54 -0000 1.4 +5 -2
@@ -40,9 +40,12 @@ fence_node: ${FENCE_NODE_SRC:.c=.o} agent.c: ln -s ${top_srcdir}/fenced/agent.c . -copytobin: all +install: all + if [ ! -d ${sbindir} ]; then \ + install -d ${sbindir}; \ + fi strip ${TARGET} - cp ${TARGET} ${top_srcdir}/bin + install -m755 ${TARGET} ${sbindir} clean: rm -rf *~ *.o ${TARGET} agent.c
Index: fence/fence_tool/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/fence/fence_tool/Makefile,v retrieving revision 1.9
fence_tool/Makefile 8 Aug 2006 22:57:19 -0000 renamed from fence_tool/Makefile 11 May 2006 20:46:09 -0000 1.9 +5 -2
@@ -40,9 +40,12 @@ fence_tool: ${FENCE_TOOL_SRC:.c=.o} agent.c: ln -s ${top_srcdir}/fenced/agent.c . -copytobin: all +install: all + if [ ! -d ${sbindir} ]; then \ + install -d ${sbindir}; \ + fi strip ${TARGET} - cp ${TARGET} ${top_srcdir}/bin + install -m755 ${TARGET} ${sbindir} clean: rm -rf *~ *.o ${TARGET} agent.c
Index: fence/fenced/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/fence/fenced/Makefile,v retrieving revision 1.6
fenced/Makefile 8 Aug 2006 22:57:19 -0000 renamed from fenced/Makefile 7 Jul 2006 16:14:33 -0000 1.6 +5 -2
@@ -54,9 +54,12 @@ member_cman.o: member_cman.c fd.h agent.o: agent.c fd.h $(CC) $(CFLAGS) -c -o $@ $< -copytobin: all +install: all + if [ ! -d ${sbindir} ]; then \ + install -d ${sbindir}; \ + fi strip ${TARGET} - cp ${TARGET} ${top_srcdir}/bin + install -m755 ${TARGET} ${sbindir} clean: rm -rf *~ *.o ${TARGET}
Index: fence/init.d/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/fence/init.d/Makefile,v retrieving revision 1.1
init.d/Makefile 8 Aug 2006 22:57:19 -0000 renamed from init.d/Makefile 17 Dec 2004 20:09:55 -0000 1.1 +0 -2
@@ -18,8 +18,6 @@ top_srcdir=.. include ${top_srcdir}/make/defines.mk -copytobin: - clean: install:
Index: gfs/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/gfs/Makefile,v
retrieving revision 1.8
Makefile 8 Aug 2006 22:57:19 -0000 renamed from Makefile 14 Jul 2006 18:04:01 -0000 1.8 +40 -36
88 lines not on this page · raw message
Index: gfs/gfs_debug/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/gfs/gfs_debug/Makefile,v retrieving revision 1.4
gfs_debug/Makefile 8 Aug 2006 22:57:19 -0000 renamed from gfs_debug/Makefile 11 Jul 2006 20:32:42 -0000 1.4 +0 -0
@@ -47,8 +47,11 @@ all: ${TARGET} gfs_debug: ${SOURCE} ${CC} ${CFLAGS} ${INCLUDE} ${LDFLAGS} ${SOURCE} ${LOADLIBES}
${LDLIBS} -o $@
-copytobin: ${TARGET}
- cp ${TARGET} ${top_srcdir}/bin
+install: all
+ if [ ! -d ${sbindir} ]; then \
+ install -d ${sbindir}; \
+ fi
+ install -m755 ${TARGET} ${sbindir}
clean:
rm -f *.o ${TARGET}Index: gfs/gfs_edit/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/gfs/gfs_edit/Makefile,v retrieving revision 1.5
gfs_edit/Makefile 8 Aug 2006 22:57:19 -0000 renamed from gfs_edit/Makefile 10 Jul 2006 23:30:56 -0000 1.5 +0 -0
@@ -40,8 +40,11 @@ all: gfs_edit gfs_edit: ${SOURCE} ${CC} ${CFLAGS} ${INCLUDE} ${LDFLAGS} ${SOURCE} ${LOADLIBES}
${LDLIBS} -lncurses -o $@
-copytobin: all
- cp ${TARGET} ${top_srcdir}/bin
+install: all
+ if [ ! -d ${sbindir} ]; then \
+ install -d ${sbindir}; \
+ fi
+ install -m755 ${TARGET} ${sbindir}
clean:
rm -f *.o ${TARGET}Index: gfs/gfs_fsck/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/gfs/gfs_fsck/Makefile,v retrieving revision 1.5
gfs_fsck/Makefile 8 Aug 2006 22:57:19 -0000 renamed from gfs_fsck/Makefile 19 Jul 2006 14:11:53 -0000 1.5 +3 -2
@@ -14,6 +14,8 @@ top_srcdir= .. include ${top_srcdir}/make/defines.mk +TARGET= gfs_fsck + INCLUDE= -I${top_srcdir}/include -I${top_srcdir}/config .PHONY: all clean
@@ -27,7 +29,7 @@ sources = main.c initialize.c pass1.c pa CFLAGS+=-D_FILE_OFFSET_BITS=64 -DHELPER_PROGRAM -DGFS_RELEASE_NAME=\"${RELEASE}\" -Wall -g -all: gfs_fsck +all: ${TARGET} gfs_fsck: $(sources:.c=.o)
$(CC) $(CFLAGS) $^ -o $@
@@ -44,8 +46,12 @@ test_bitmap: bitmap.o test_bitmap.o log.
clean:
@rm -f *.o *~ *.d gfs_fsck-copytobin: gfs_fsck
- cp gfs_fsck ${top_srcdir}/bin
+install: all
+ if [ ! -d ${sbindir} ]; then \
+ install -d ${sbindir}; \
+ fi
+ install -m755 ${TARGET} ${sbindir}
+ (cd ${sbindir}; ln -f gfs_fsck fsck.gfs) distclean: clean
@rm -f cscope.* test_inode_list *.orig *.rej test_block_listtest_bitmap
Index: gfs/gfs_grow/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/gfs/gfs_grow/Makefile,v retrieving revision 1.5
gfs_grow/Makefile 8 Aug 2006 22:57:19 -0000 renamed from gfs_grow/Makefile 10 Jul 2006 23:34:18 -0000 1.5 +0 -0
@@ -42,8 +42,11 @@ all: ${TARGET} gfs_grow: ${CC} ${CFLAGS} ${INCLUDE} main.c ondisk.c ${LDFLAGS}
${LOADLIBS} -o $@
-copytobin: all
- cp ${TARGET} ${top_srcdir}/bin
+install: all
+ if [ ! -d ${sbindir} ]; then \
+ install -d ${sbindir}; \
+ fi
+ install -m755 ${TARGET} ${sbindir}
clean:
rm -f *.o ${TARGET}Index: gfs/gfs_jadd/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/gfs/gfs_jadd/Makefile,v retrieving revision 1.5
gfs_jadd/Makefile 8 Aug 2006 22:57:19 -0000 renamed from gfs_jadd/Makefile 10 Jul 2006 23:35:48 -0000 1.5 +0 -0
@@ -43,8 +43,11 @@ all: ${TARGET} gfs_jadd: ${CC} ${CFLAGS} ${INCLUDE} ${LDFLAGS} ${SOURCE} ${LOADLIBES}
${LDLIBS} -o $@
-copytobin: ${TARGET}
- cp ${TARGET} ${top_srcdir}/bin
+install: all
+ if [ ! -d ${sbindir} ]; then \
+ install -d ${sbindir}; \
+ fi
+ install -m755 ${TARGET} ${sbindir}
clean:
rm -f *.o ${TARGET}Index: gfs/gfs_mkfs/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/gfs/gfs_mkfs/Makefile,v retrieving revision 1.5
gfs_mkfs/Makefile 8 Aug 2006 22:57:19 -0000 renamed from gfs_mkfs/Makefile 10 Jul 2006 23:39:35 -0000 1.5 +0 -0
@@ -47,8 +47,12 @@ all: ${TARGET} gfs_mkfs: ${SOURCE} ${CC} ${CFLAGS} ${INCLUDE} ${LDFLAGS} ${SOURCE} ${LOADLIBES}
${LDLIBS} -o $@ -lgfs -lvolume_id
-copytobin: ${TARGET}
- cp ${TARGET} ${top_srcdir}/bin
+install: all
+ if [ ! -d ${sbindir} ]; then \
+ install -d ${sbindir}; \
+ fi
+ install -m755 ${TARGET} ${sbindir}
+ (cd ${sbindir}; ln -f gfs_mkfs mkfs.gfs)clean:
rm -f *.o ${TARGET}Index: gfs/gfs_quota/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/gfs/gfs_quota/Makefile,v retrieving revision 1.4
gfs_quota/Makefile 8 Aug 2006 22:57:19 -0000 renamed from gfs_quota/Makefile 19 May 2005 19:51:08 -0000 1.4 +0 -0
@@ -41,8 +41,11 @@ all: ${TARGET} gfs_quota: ${SOURCE} ${CC} ${CFLAGS} ${INCLUDE} ${LDFLAGS} ${SOURCE} ${LOADLIBES}
${LDLIBS} -o $@
-copytobin: ${TARGET}
- cp ${TARGET} ${top_srcdir}/bin
+install: all
+ if [ ! -d ${sbindir} ]; then \
+ install -d ${sbindir}; \
+ fi
+ install -m755 ${TARGET} ${sbindir}
clean:
rm -f *.o ${TARGET}Index: gfs/gfs_tool/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/gfs/gfs_tool/Makefile,v retrieving revision 1.8
gfs_tool/Makefile 8 Aug 2006 22:57:19 -0000 renamed from gfs_tool/Makefile 19 May 2005 19:51:09 -0000 1.8 +0 -0
@@ -45,8 +45,11 @@ all: ${TARGET} gfs_tool: ${SOURCE} ${CC} ${CFLAGS} ${INCLUDE} ${LDFLAGS} ${SOURCE} ${LOADLIBES}
${LDLIBS} -o $@
-copytobin: ${TARGET}
- cp ${TARGET} ${top_srcdir}/bin
+install: all
+ if [ ! -d ${sbindir} ]; then \
+ install -d ${sbindir}; \
+ fi
+ install -m755 ${TARGET} ${sbindir}
clean:
rm -f *.o ${TARGET}Index: gfs/init.d/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/gfs/init.d/Makefile,v retrieving revision 1.1
init.d/Makefile 8 Aug 2006 22:57:19 -0000 renamed from init.d/Makefile 17 Dec 2004 20:11:56 -0000 1.1 +0 -2
@@ -18,8 +18,6 @@ top_srcdir=.. include ${top_srcdir}/make/defines.mk -copytobin: - clean: install:
Index: gfs/libgfs/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/gfs/libgfs/Makefile,v retrieving revision 1.2
libgfs/Makefile 8 Aug 2006 22:57:19 -0000 renamed from libgfs/Makefile 10 Jul 2006 23:28:11 -0000 1.2 +2 -0
@@ -39,5 +39,7 @@ ${LIBGFS}: ${O} .c.o: $< ${CC} ${CFLAGS} -o $@ $^ +install: all + clean: rm -f *.o ${LIBGFS}
Index: gfs-kernel/src/gfs/super.c
===================================================================
RCS file: /cvs/cluster/cluster/gfs-kernel/src/gfs/super.c,v retrieving revision 1.20
src/gfs/super.c 8 Aug 2006 22:57:19 -0000 renamed from src/gfs/super.c 2 Aug 2006 01:37:16 -0000 1.20 +1 -0
@@ -18,6 +18,7 @@ #include <asm/semaphore.h> #include <linux/completion.h> #include <linux/buffer_head.h> +#include <linux/vmalloc.h> #include "gfs.h" #include "dio.h"
Index: gfs2/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/gfs2/Makefile,v
retrieving revision 1.8
Makefile 8 Aug 2006 22:57:19 -0000 renamed from Makefile 24 Jul 2006 17:48:50 -0000 1.8 +17 -15
@@ -30,14 +30,6 @@ tag_quota: tag_tool: ${MAKE} -C tool all -copytobin: - ${MAKE} -C convert copytobin - ${MAKE} -C edit copytobin - ${MAKE} -C fsck copytobin - ${MAKE} -C mkfs copytobin - ${MAKE} -C quota copytobin - ${MAKE} -C tool copytobin - clean: ${MAKE} -C libgfs2 clean ${MAKE} -C convert clean
@@ -52,14 +44,24 @@ clean: distclean: clean rm -f make/defines.mk -install: - ${MAKE} -C mount install - ${MAKE} -C bin install - ${MAKE} -C man install +install: all + ${MAKE} -C convert install + ${MAKE} -C edit install + ${MAKE} -C fsck install ${MAKE} -C init.d install + ${MAKE} -C man install + ${MAKE} -C mkfs install + ${MAKE} -C mount install + ${MAKE} -C quota install + ${MAKE} -C tool install deinstall uninstall: - ${MAKE} -C mount uninstall - ${MAKE} -C bin uninstall - ${MAKE} -C man uninstall + ${MAKE} -C convert uninstall + ${MAKE} -C edit uninstall + ${MAKE} -C fsck uninstall ${MAKE} -C init.d uninstall + ${MAKE} -C man uninstall + ${MAKE} -C mkfs uninstall + ${MAKE} -C mount uninstall + ${MAKE} -C quota uninstall + ${MAKE} -C tool uninstall
Index: gfs2/convert/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/gfs2/convert/Makefile,v retrieving revision 1.4
convert/Makefile 8 Aug 2006 22:57:19 -0000 renamed from convert/Makefile 12 Jun 2006 20:40:32 -0000 1.4 +8 -6
@@ -13,22 +13,30 @@ top_srcdir=.. include ${top_srcdir}/make/defines.mk +TARGET= gfs2_convert + INCLUDES=-I${top_srcdir}/include -I${top_srcdir}/config -I${top_srcdir}/libgfs2 -I/usr/include -I${KERNEL_SRC}/fs/gfs2/ -I${KERNEL_SRC}/include/ LIBS=-L${top_srcdir}/libgfs2 CFLAGS+=-D_FILE_OFFSET_BITS=64 -DHELPER_PROGRAM -DGFS2_RELEASE_NAME=\"2\" -Wall -g -all: gfs2_convert +all: ${TARGET} -copytobin: gfs2_convert - cp gfs2_convert ${top_srcdir}/bin +install: all + if [ ! -d ${sbindir} ]; then \ + install -d ${sbindir}; \ + fi + install -m755 ${TARGET} ${sbindir} gfs2_convert.o: gfs2_convert.c $(CC) $(INCLUDES) $(LIBS) $(CFLAGS) -c -o gfs2_convert.o
gfs2_convert.c
gfs2_convert: gfs2_convert.o ../libgfs2/libgfs2.a
- $(CC) $(INCLUDES) $(LIBS) $(CFLAGS) -o gfs2_convert
gfs2_convert.o -lgfs2
+ $(CC) $(INCLUDES) $(LIBS) $(CFLAGS) -o ${TARGET} gfs2_convert.o
-lgfs2
clean:
- @rm -f *.o gfs2_convert
+ @rm -f *.o ${TARGET}
+
+distclean: clean
+ @rm -f {top_srcdir}/make/defines.mk
Index: gfs2/debug/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/gfs2/debug/Makefile,v retrieving revision 1.2
debug/Makefile 8 Aug 2006 22:57:19 -0000 renamed from debug/Makefile 19 May 2005 19:51:12 -0000 1.2 +0 -0
@@ -48,8 +48,11 @@ all: ${TARGET} gfs2_debug: ${SOURCE} ${CC} ${CFLAGS} ${INCLUDE} ${LDFLAGS} ${SOURCE} ${LOADLIBES}
${LDLIBS} -o $@
-copytobin: ${TARGET}
- cp ${TARGET} ${top_srcdir}/bin
+install: all
+ if [ ! -d ${sbindir} ]; then \
+ install -d ${sbindir}; \
+ fi
+ install -m755 ${TARGET} ${sbindir}
clean:
rm -f *.o ${TARGET}Index: gfs2/edit/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/gfs2/edit/Makefile,v retrieving revision 1.3
edit/Makefile 8 Aug 2006 22:57:19 -0000 renamed from edit/Makefile 11 May 2006 16:25:19 -0000 1.3 +0 -0
@@ -41,8 +41,11 @@ all: gfs2_edit gfs2_edit: ${SOURCE} hexedit.h gfs2hex.h ${CC} ${CFLAGS} ${INCLUDE} ${LIBS} ${LDFLAGS} ${SOURCE}
${LOADLIBES} ${LDLIBS} -lncurses -o $@ -lgfs2
-copytobin: all
- cp ${TARGET} ${top_srcdir}/bin
+install: all
+ if [ ! -d ${sbindir} ]; then \
+ install -d ${sbindir}; \
+ fi
+ install -m755 ${TARGET} ${sbindir}
clean:
rm -f *.o ${TARGET}Index: gfs2/fsck/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/gfs2/fsck/Makefile,v retrieving revision 1.5
fsck/Makefile 8 Aug 2006 22:57:19 -0000 renamed from fsck/Makefile 28 Jun 2006 14:05:25 -0000 1.5 +2 -1
@@ -14,6 +14,8 @@ top_srcdir=.. include ${top_srcdir}/make/defines.mk +TARGET= gfs2_fsck + INCLUDES= -I${top_srcdir}/include -I${top_srcdir}/config -I${top_srcdir}/libgfs2 -I${KERNEL_SRC}/fs/gfs2/ -I${KERNEL_SRC}/include/ LIBS=-L${top_srcdir}/libgfs2
@@ -25,7 +27,7 @@ sources = main.c initialize.c pass1.c pa
CFLAGS+=-D_FILE_OFFSET_BITS=64 -DHELPER_PROGRAM
-DGFS_RELEASE_NAME=\"${RELEASE}\" -Wall -g
-all: gfs2_fsck
+all: ${TARGET}
gfs2_fsck: $(sources:.c=.o) ../libgfs2/libgfs2.a
$(CC) $(CFLAGS) $(LIBS) $^ -o $@ -lgfs2
@@ -42,8 +44,12 @@ test_bitmap: test_bitmap.o log.o
clean:
@rm -f gfs2_fsck *.o *~ *.d-copytobin: gfs2_fsck
- cp gfs2_fsck ${top_srcdir}/bin
+install: all
+ if [ ! -d ${sbindir} ]; then \
+ install -d ${sbindir}; \
+ fi
+ strip ${TARGET}
+ install -m755 ${TARGET} ${sbindir} distclean: clean
@rm -f cscope.* gfs2_fsck test_inode_list *.orig *.rejtest_block_list test_bitmap
Index: gfs2/init.d/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/gfs2/init.d/Makefile,v retrieving revision 1.2
init.d/Makefile 8 Aug 2006 22:57:19 -0000 renamed from init.d/Makefile 12 Jun 2006 16:26:32 -0000 1.2 +0 -2
@@ -18,8 +18,6 @@ top_srcdir=.. include ${top_srcdir}/make/defines.mk -copytobin: - clean: install:
Index: gfs2/mkfs/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/gfs2/mkfs/Makefile,v retrieving revision 1.10
mkfs/Makefile 8 Aug 2006 22:57:19 -0000 renamed from mkfs/Makefile 10 Jul 2006 22:51:10 -0000 1.10 +1 -3
@@ -1,7 +1,7 @@ # # Makefile for GFS2 mkfs # -.PHONY: all clean install copytobin +.PHONY: all clean install top_srcdir=..
@@ -9,7 +9,6 @@ include ${top_srcdir}/make/defines.mk MKFS=mkfs.gfs2 JADD=gfs2_jadd -INSTALLPATH=/sbin INCLUDEPATH=-I${KERNEL_SRC}/include/ -I${top_srcdir}/include/ -I${top_srcdir}/libgfs2/ -I${top_srcdir}/config/
INSTALL=install
@@ -34,13 +33,9 @@ ${JADD}: ${MKFS}
.c.o: $<
${CC} ${CFLAGS} -o $@ $^-copytobin: ${MKFS}
- cp ${MKFS} ${top_srcdir}/bin
- ln -sf ${MKFS} ${top_srcdir}/bin/${JADD}
-
-install: ${MKFS}
- ${INSTALL} -m 0755 -g root -o root ${MKFS} ${INSTALLPATH}
- ln -sf ${MKFS} ${INSTALLPATH}/${JADD}
+install: all
+ ${INSTALL} -m 0755 -g root -o root ${MKFS} ${sbindir}
+ ln -f ${MKFS} ${sbindir}/${JADD}
clean:
rm -f *.o ${MKFS} ${JADD}Index: gfs2/quota/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/gfs2/quota/Makefile,v retrieving revision 1.4
quota/Makefile 8 Aug 2006 22:57:19 -0000 renamed from quota/Makefile 9 Jun 2006 22:13:19 -0000 1.4 +0 -0
@@ -42,11 +42,11 @@ all: gfs2_quota: ${SOURCE} ${CC} ${CFLAGS} ${INCLUDE} ${LDFLAGS} ${SOURCE} ${LOADLIBES}
${LDLIBS} -o $@
-copytobin:
-#copytobin: ${TARGET}
-# cp ${TARGET} ${top_srcdir}/bin
+install: all
+# if [ ! -d ${sbindir} ]; then \
+# install -d ${sbindir}; \
+# fi
+# install -m755 ${TARGET} ${sbindir}
clean:
rm -f *.o ${TARGET}-
-
Index: gfs2/tool/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/gfs2/tool/Makefile,v retrieving revision 1.4
tool/Makefile 8 Aug 2006 22:57:19 -0000 renamed from tool/Makefile 15 Jun 2006 16:40:48 -0000 1.4 +6 -3
@@ -28,7 +28,7 @@ endif LIBS=-L${top_srcdir}/libgfs2 -.PHONY: all clean copytobin distclean +.PHONY: all clean distclean SOURCES= counters.c df.c layout.c main.c misc.c ondisk.c sb.c tune.c util.c
@@ -46,8 +46,11 @@ gfs2_tool: ${OBJECTS} ../libgfs2/libgfs2 %.o: %.c $(CC) -c $(INCLUDE) $(CFLAGS) $< -o $@ -copytobin: ${TARGET} - cp ${TARGET} ${top_srcdir}/bin +install: all + if [ ! -d ${sbindir} ]; then \ + install -d ${sbindir}; \ + fi + install -m755 ${TARGET} ${sbindir} clean: @rm -f ${TARGET} *.o *~
Index: gnbd/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/gnbd/Makefile,v
retrieving revision 1.2
Makefile 8 Aug 2006 22:57:19 -0000 renamed from Makefile 16 Aug 2004 18:40:40 -0000 1.2 +14 -12
@@ -13,24 +13,26 @@ all: - cd client && ${MAKE} copytobin - cd server && ${MAKE} copytobin - cd tools && ${MAKE} copytobin + ${MAKE} -C client all + ${MAKE} -C server all + ${MAKE} -C tools all clean: - cd bin && ${MAKE} clean - cd client && ${MAKE} clean - cd server && ${MAKE} clean - cd tools && ${MAKE} clean + ${MAKE} -C client clean + ${MAKE} -C server clean + ${MAKE} -C tools clean distclean: clean rm -f make/defines.mk install: - cd bin && ${MAKE} install - cd man && ${MAKE} install + ${MAKE} -C client install + ${MAKE} -C server install + ${MAKE} -C tools install + ${MAKE} -C man install deinstall uninstall: - cd bin && ${MAKE} uninstall - cd man && ${MAKE} uninstall - + ${MAKE} -C client uninstall + ${MAKE} -C server uninstall + ${MAKE} -C tools uninstall + ${MAKE} -C man uninstall
Index: gnbd/client/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/gnbd/client/Makefile,v retrieving revision 1.8
client/Makefile 8 Aug 2006 22:57:19 -0000 renamed from client/Makefile 20 Jul 2006 15:11:16 -0000 1.8 +6 -3
@@ -45,8 +45,12 @@ gnbd_recvd: ${RECV_SOURCE} gnbd_monitor: ${MONITOR_SRC} ${CC} ${CFLAGS} ${LDFLAGS} ${MONITOR_SRC} ${LOADLIBES} ${LDLIBS} -o $@ -copytobin: all - cp ${TARGET} ${top_srcdir}/bin +install: all + if [ ! -d ${sbindir} ]; then \ + install -d ${sbindir}; \ + fi + strip ${TARGET} + install -m755 ${TARGET} ${sbindir} clean:
rm -f *.o *~ ${TARGET}Index: gnbd/man/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/gnbd/man/Makefile,v retrieving revision 1.2
man/Makefile 8 Aug 2006 22:57:19 -0000 renamed from man/Makefile 2 Jun 2006 00:45:04 -0000 1.2 +0 -2
@@ -26,8 +26,6 @@ include ${top_srcdir}/make/defines.mk all: -copytobin: - clean: install: all
Index: gnbd/server/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/gnbd/server/Makefile,v retrieving revision 1.8
server/Makefile 8 Aug 2006 22:57:19 -0000 renamed from server/Makefile 20 Jul 2006 15:11:17 -0000 1.8 +6 -3
@@ -46,8 +46,12 @@ gnbd_clusterd: ${CLU_SOURCE} gnbd_serv: ${SRV_SOURCE} ${CC} ${CFLAGS} ${LDFLAGS} ${SRV_SOURCE} ${LOADLIBES} ${LDLIBS} -o $@ -copytobin: all - cp ${TARGET} ${top_srcdir}/bin +install: all + if [ ! -d ${sbindir} ]; then \ + install -d ${sbindir}; \ + fi + strip ${TARGET} + install -m755 ${TARGET} ${sbindir} clean:
rm -f *.o ${TARGET}Index: gnbd/tools/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/gnbd/tools/Makefile,v retrieving revision 1.1
tools/Makefile 8 Aug 2006 22:57:19 -0000 renamed from tools/Makefile 24 Jun 2004 08:53:33 -0000 1.1 +10 -10
@@ -13,16 +13,16 @@ all: - cd fence_gnbd && ${MAKE} all - cd gnbd_export && ${MAKE} all - cd gnbd_import && ${MAKE} all + ${MAKE} -C fence_gnbd all + ${MAKE} -C gnbd_export all + ${MAKE} -C gnbd_import all -copytobin: - cd fence_gnbd && ${MAKE} copytobin - cd gnbd_export && ${MAKE} copytobin - cd gnbd_import && ${MAKE} copytobin +install: + ${MAKE} -C fence_gnbd install + ${MAKE} -C gnbd_export install + ${MAKE} -C gnbd_import install clean: - cd fence_gnbd && ${MAKE} clean - cd gnbd_export && ${MAKE} clean - cd gnbd_import && ${MAKE} clean + ${MAKE} -C fence_gnbd clean + ${MAKE} -C gnbd_export clean + ${MAKE} -C gnbd_import clean
Index: gnbd/tools/fence_gnbd/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/gnbd/tools/fence_gnbd/Makefile,v retrieving revision 1.1
tools/fence_gnbd/Makefile 8 Aug 2006 22:57:19 -0000 renamed from tools/fence_gnbd/Makefile 24 Jun 2004 08:53:34 -0000 1.1 +0 -0
@@ -29,8 +29,12 @@ all: ${TARGET} fence_gnbd: ${SOURCE:.c=.o} ${CC} ${CFLAGS} ${LDFLAGS} ${SOURCE:.c=.o} ${LOADLIBES}
${LDLIBS} -o $@
-copytobin: all
- cp ${TARGET} ${top_srcdir}/bin
+install: all
+ if [ ! -d ${sbindir} ]; then \
+ install -d ${sbindir}; \
+ fi
+ strip ${TARGET}
+ install -m755 ${TARGET} ${sbindir}clean:
rm -f *.o ${TARGET}Index: gnbd/tools/gnbd_export/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/gnbd/tools/gnbd_export/Makefile,v retrieving revision 1.10
tools/gnbd_export/Makefile 8 Aug 2006 22:57:19 -0000 renamed from tools/gnbd_export/Makefile 20 Jul 2006 15:11:19 -0000 1.10 +7 -3
@@ -33,9 +33,13 @@ all: ${TARGET} gnbd_export: ${SOURCE} ${CC} ${CFLAGS} ${LDFLAGS} ${SOURCE} ${LOADLIBES} ${LDLIBS} -o $@ -copytobin: all gnbd_get_uid - cp ${TARGET} ${top_srcdir}/bin - cp gnbd_get_uid ${top_srcdir}/bin +install: all gnbd_get_uid + if [ ! -d ${sbindir} ]; then \ + install -d ${sbindir}; \ + fi + strip ${TARGET} + install -m755 ${TARGET} ${sbindir} + install -m755 gnbd_get_uid ${sbindir} clean: rm -f *.o ${TARGET}
Index: gnbd/tools/gnbd_import/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/gnbd/tools/gnbd_import/Makefile,v retrieving revision 1.7
tools/gnbd_import/Makefile 8 Aug 2006 22:57:19 -0000 renamed from tools/gnbd_import/Makefile 20 Jul 2006 15:11:19 -0000 1.7 +6 -2
@@ -42,8 +42,12 @@ all: ${TARGET} gnbd_import: ${SOURCE} ${CC} ${CFLAGS} ${LDFLAGS} ${SOURCE} ${LOADLIBES} ${LDLIBS} -o $@ -copytobin: all - cp ${TARGET} ${top_srcdir}/bin +install: all + if [ ! -d ${sbindir} ]; then \ + install -d ${sbindir}; \ + fi + strip ${TARGET} + install -m755 ${TARGET} ${sbindir} clean: rm -f *.o ${TARGET}
Index: group/configure
===================================================================
RCS file: /cvs/cluster/cluster/group/configure,v
retrieving revision 1.2
configure 8 Aug 2006 22:57:19 -0000 renamed from configure 7 Jul 2006 16:14:33 -0000 1.2 +7 -0
@@ -14,6 +14,7 @@ ############################################################################### use Getopt::Long; +use POSIX; print "\nConfiguring Makefiles for your system...\n";
@@ -94,8 +95,14 @@ if (!$iddevincdir) { $iddevincdir="${incdir}/cluster"; } if (!$libdir) { + my $arch = (POSIX::uname())[4]; + if ($arch eq "x86_64") { + $libdir="${prefix}/usr/lib64"; + } + else { $libdir="${prefix}/usr/lib"; } +} if (!$iddevlibdir) { $iddevlibdir="${libdir}"; }
Index: group/dlm_controld/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/group/dlm_controld/Makefile,v retrieving revision 1.3
dlm_controld/Makefile 8 Aug 2006 22:57:19 -0000 renamed from dlm_controld/Makefile 7 Jul 2006 16:14:34 -0000 1.3 +4 -7
@@ -30,9 +30,6 @@ TARGET=dlm_controld all: ${TARGET} -copytobin: all - cp ${TARGET} ${top_srcdir}/bin - dlm_controld: main.o \ member_cman.o \ group.o \
@@ -53,13 +50,13 @@ group.o: group.c action.o: action.c $(CC) $(CFLAGS) -c -o $@ $< -install: dlm_controld +install: all install -d ${sbindir} - install dlm_controld ${sbindir} + install ${TARGET} ${sbindir} uninstall: - ${UNINSTALL} dlm_controld ${sbindir} + ${UNINSTALL} ${TARGET} ${sbindir} clean: - rm -f *.o dlm_controld + rm -f *.o ${TARGET}
Index: group/gfs_controld/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/group/gfs_controld/Makefile,v retrieving revision 1.6
gfs_controld/Makefile 8 Aug 2006 22:57:19 -0000 renamed from gfs_controld/Makefile 31 Jul 2006 18:37:07 -0000 1.6 +3 -7
@@ -28,9 +28,6 @@ TARGET=gfs_controld all: ${TARGET} -copytobin: all - cp ${TARGET} ${top_srcdir}/bin - gfs_controld: main.o \ member_cman.o \ cpg.o \
@@ -64,11 +61,10 @@ plock.o: plock.c install: gfs_controld install -d ${sbindir} - install gfs_controld ${sbindir} + install ${TARGET} ${sbindir} uninstall: - ${UNINSTALL} gfs_controld ${sbindir} + ${UNINSTALL} ${TARGET} ${sbindir} clean: - rm -f *.o gfs_controld - + rm -f *.o ${TARGET}
Index: group/lib/Makefile
===================================================================
RCS file: /cvs/cluster/cluster/group/lib/Makefile,v retrieving revision 1.2
lib/Makefile 8 Aug 2006 22:57:19 -0000 renamed from lib/Makefile 23 Jun 2005 15:32:30 -0000 1.2 +0 -2
@@ -31,8 +31,6 @@ $(LIBNAME).a: libgroup.o libgroup.o: libgroup.c $(CC) $(CFLAGS) -c -o $@ $< -I../daemon -copytobin: all - install: all uninstall: