Page MenuHomeClusterLabs Projects

Makefile
No OneTemporary

Makefile

###############################################################################
###############################################################################
##
## 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

Mime Type
text/x-makefile
Expires
Wed, Feb 26, 11:15 AM (1 d, 2 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1458707
Default Alt Text
Makefile (1 KB)

Event Timeline