Page Menu
Home
ClusterLabs Projects
Search
Configure Global Search
Log In
Files
F3155205
Makefile
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
Makefile
View Options
###############################################################################
###############################################################################
##
## Copyright (C) 2005 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
include ${top_srcdir}/make/defines.mk
CFLAGS+= -g -I${incdir} -I${top_srcdir}/config
CFLAGS+= -I../../dlm-kernel/src2/ -I../../../IDEAS/patrick/userland-cman/lib/ -I../../group/daemon/
TARGET=dlm_controld
all: ${TARGET}
copytobin: all
cp ${TARGET} ${top_srcdir}/bin
dlm_controld: main.o \
member_cman.o \
ioctl.o \
action.o \
../../../IDEAS/patrick/userland-cman/lib/libcman.a
$(CC) $(LDFLAGS) -o $@ $^
main.o: main.c
$(CC) $(CFLAGS) -c -o $@ $<
member_cman.o: member_cman.c
$(CC) $(CFLAGS) -c -o $@ $<
action.o: action.c
$(CC) $(CFLAGS) -c -o $@ $<
ioctl.o: ioctl.c
$(CC) $(CFLAGS) -c -o $@ $<
ioctl.c:
ln -s ../dlm_tool/ioctl.c .
action.c:
ln -s ../dlm_tool/action.c .
install: dlm_controld
install -d ${sbindir}
install dlm_controld ${sbindir}
uninstall:
${UNINSTALL} dlm_controld ${sbindir}
clean:
rm -f *.o dlm_controld ioctl.c action.c
File Metadata
Details
Attached
Mime Type
text/x-makefile
Expires
Wed, Feb 26, 8:23 PM (1 h, 47 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1458806
Default Alt Text
Makefile (1 KB)
Attached To
Mode
rF Fence Agents
Attached
Detach File
Event Timeline
Log In to Comment