Page Menu
Home
ClusterLabs Projects
Search
Configure Global Search
Log In
Files
F3152297
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= gfs_edit
SOURCE= \
gfshex.c \
hexedit.c \
ondisk.c
top_srcdir=..
include ${top_srcdir}/make/defines.mk
CFLAGS+= -DHELPER_PROGRAM -D_FILE_OFFSET_BITS=64 \
-DGFS_RELEASE_NAME=\"${RELEASE}\"
INCLUDE= -I${top_srcdir}/include -I${top_srcdir}/config -I${gfskincdir}
ifneq (${KERNEL_SRC}, )
# Use the kernel tree if patched, otherwise, look where cluster headers
# should be installed
INCLUDE += $(shell if [ -e ${KERNEL_SRC}/include/linux/gfs_ondisk.h ]; then \
echo '-I${KERNEL_SRC}/include'; else \
echo '-I${incdir}'; fi)
else
INCLUDE += -I${incdir}
endif
all: gfs_edit
gfs_edit: ${SOURCE}
${CC} ${CFLAGS} ${INCLUDE} ${LDFLAGS} ${SOURCE} ${LOADLIBES} ${LDLIBS} -o $@
copytobin: all
cp ${TARGET} ${top_srcdir}/bin
clean:
rm -f *.o ${TARGET}
File Metadata
Details
Attached
Mime Type
text/x-makefile
Expires
Mon, Feb 24, 7:44 PM (8 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1464421
Default Alt Text
Makefile (1 KB)
Attached To
Mode
rF Fence Agents
Attached
Detach File
Event Timeline
Log In to Comment