Page MenuHomeClusterLabs Projects

Makefile
No OneTemporary

Makefile

###############################################################################
###############################################################################
##
## 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.
##
###############################################################################
###############################################################################
include ../../make/defines.mk
TARGET= dlm_controld
OBJS= main.o \
member_cman.o \
group.o \
action.o \
deadlock.o
CFLAGS += -I${ccsincdir} -I${cmanincdir} -I${dlmincdir} -I${openaisincdir}
CFLAGS += -I${KERNEL_SRC}/include/
CFLAGS += -I../../group/lib/ -I../include/
CFLAGS += -I${incdir}
LDFLAGS += -L${ccslibdir} -L${cmanlibdir} -L${dlmlibdir} -lccs -lcman -ldlm
LDFLAGS += -L${openaislibdir} -lcpg -lSaCkpt
LDFLAGS += -L../lib -lgroup
all: depends ${TARGET}
${TARGET}: ${OBJS}
$(CC) -o $@ $^ $(LDFLAGS)
%.o: %.c
$(CC) $(CFLAGS) -c -o $@ $<
depends:
$(MAKE) -C ../lib all
install: all
install -d ${sbindir}
install ${TARGET} ${sbindir}
uninstall:
${UNINSTALL} ${TARGET} ${sbindir}
clean:
rm -f *.o ${TARGET}
.PHONY: all ${TARGET}

File Metadata

Mime Type
text/x-makefile
Expires
Tue, Feb 25, 5:06 PM (1 d, 7 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1464889
Default Alt Text
Makefile (1 KB)

Event Timeline