Page Menu
Home
ClusterLabs Projects
Search
Configure Global Search
Log In
Files
F3154223
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) Sistina Software, Inc. 1997-2003 All rights reserved.
## 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.
##
###############################################################################
###############################################################################
TARGET = fence_node
top_srcdir=..
include ${top_srcdir}/make/defines.mk
UNINSTALL=${top_srcdir}/make/uninstall.pl
ifeq ($(DEBUG),y)
CFLAGS+= -O2 -D_FILE_OFFSET_BITS=64 -DDEBUG -g -DFENCE_RELEASE_NAME=\"${RELEASE}\"
else
CFLAGS+= -O2 -D_FILE_OFFSET_BITS=64 -DFENCE_RELEASE_NAME=\"${RELEASE}\"
endif
INCLUDE = -I${top_srcdir}/include -I${ccsincdir} -I${incdir} -I${top_srcdir}/config
LDFLAGS+= -L${ccslibdir} -L${libdir}
LOADLIBES+= -lccs
FENCE_NODE_SRC = \
agent.c \
fence_node.c
all: ${TARGET}
fence_node: ${FENCE_NODE_SRC:.c=.o}
${CC} ${CFLAGS} ${INCLUDE} ${FENCE_NODE_SRC:.c=.o} ${LDFLAGS} ${LOADLIBES} ${LDLIBS} -o $@
agent.c:
ln -s ${top_srcdir}/fenced/agent.c .
copytobin: all
strip ${TARGET}
cp ${TARGET} ${top_srcdir}/bin
clean:
rm -rf *~ *.o ${TARGET} agent.c
File Metadata
Details
Attached
Mime Type
text/x-makefile
Expires
Wed, Feb 26, 11:15 AM (22 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1458707
Default Alt Text
Makefile (1 KB)
Attached To
Mode
rF Fence Agents
Attached
Detach File
Event Timeline
Log In to Comment