Skip to contentSkip to conversation

cluster/dlm/tool Makefile main.c

Cluster-devel [email protected] 1 participant 1 message Jul 2, 2007

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL4
Changes by: teigland at sourceware.org 2007-07-02 15:08:47

Added files:
dlm/tool : Makefile main.c

Log message:
Add dlm_tool to RHEL4 branch to join/leave lockspaces and dump lock listing. Not entirely certain what we'll do with yet, if anything.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/dlm/tool/Makefile.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=NONE&r2=1.2.4.1
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/dlm/tool/main.c.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=NONE&r2=1.3.2.1

/cvs/cluster/cluster/dlm/tool/Makefile,v --> standard output revision 1.2.4.1

- renamed from dlm/tool/Makefile +35 -0
@@ -0,0 +1,35 @@
+###############################################################################
+###############################################################################
+##
+##  Copyright (C) 2004 Red Hat, Inc.  All rights reserved.
+##
+##  This copyrighted material is made available to anyone wishing to use,
+##  modify, copy, or redistribute it subject to the terms and conditions
+##  of the GNU General Public License v.2.
+##
+###############################################################################
+###############################################################################
+top_srcdir = ../..
+UNINSTALL=${top_srcdir}/scripts/uninstall.pl
+
+BINARIES=dlm_tool
+
+all: $(BINARIES)
+
+CFLAGS+=-I${top_srcdir}/dlm/lib -L${top_srcdir}/dlm/lib -g
+
+ifneq (${KERNEL_SRC}, )
+CFLAGS += -I${KERNEL_SRC}/include/cluster
+else
+CFLAGS += -I/usr/include/linux/cluster
+endif
+
+
+dlm_tool: main.c
+	$(CC) $(CFLAGS) -o $@ $< -ldlm -lpthread
+
+clean:
+	rm -f *.o $(BINARIES) *~ core
+
+copytobin:
+

/cvs/cluster/cluster/dlm/tool/main.c,v --> standard output revision 1.3.2.1

- renamed from dlm/tool/main.c +420 -0

420 lines not on this page · raw message