Page MenuHomeClusterLabs Projects

Makefile
No OneTemporary

Makefile

top_srcdir=..
include ${top_srcdir}/make/defines.mk
include ${top_srcdir}/make/flags.mk
CFLAGS+= -g -I${top_srcdir}/config
ifneq (${KERNEL_SRC}, )
CFLAGS += -I${KERNEL_SRC}/include/cluster
else
CFLAGS += -I/usr/include/linux/cluster
endif
TARGET=user_service sysman sysmand client qwait
all: ${TARGET}
copytobin: all
cp ${TARGET} ${top_srcdir}/bin
user_service: user_service.o
$(CC) $(LDFLAGS) -o $@ $^ -lpthread
user_service.o: user_service.c
$(CC) $(CFLAGS) -c -o $@ $<
install:
install -d ${sbindir}
install user_service ${sbindir}
clean:
rm -f *.o ${TARGET}

File Metadata

Mime Type
text/x-makefile
Expires
Wed, Feb 26, 9:07 AM (1 d, 2 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1461132
Default Alt Text
Makefile (582 B)

Event Timeline