2014-05-07 21:52:52 +00:00
|
|
|
FUSE_EXT2_PORT_DIR := $(call select_from_ports,fuse-ext2)
|
|
|
|
FUSE_EXT2_DIR := $(FUSE_EXT2_PORT_DIR)/src/lib/fuse-ext2/fuse-ext2
|
2013-11-14 15:35:15 +00:00
|
|
|
|
|
|
|
FILTER_OUT = fuse-ext2.probe.c fuse-ext2.wait.c
|
|
|
|
SRC_C = $(filter-out $(FILTER_OUT), $(notdir $(wildcard $(FUSE_EXT2_DIR)/*.c)))
|
|
|
|
SRC_CC = init.cc
|
|
|
|
|
2014-04-24 10:40:18 +00:00
|
|
|
LIBS = libc libc_fuse libfuse libext2fs
|
2013-11-14 15:35:15 +00:00
|
|
|
|
|
|
|
CC_OPT = -DHAVE_CONFIG_H -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
|
|
|
|
|
|
|
|
CC_CXX_OPT +=-fpermissive
|
|
|
|
|
|
|
|
INC_DIR += $(REP_DIR)/src/lib/fuse-ext2 \
|
2014-05-07 21:52:52 +00:00
|
|
|
$(FUSE_EXT2_DIR) \
|
|
|
|
$(FUSE_EXT2_PORT_DIR)/include/fuse-ext2
|
2013-11-14 15:35:15 +00:00
|
|
|
|
|
|
|
vpath %.c $(FUSE_EXT2_DIR)
|
|
|
|
vpath %.cc $(REP_DIR)/src/lib/fuse-ext2
|
|
|
|
|
|
|
|
SHARED_LIB = yes
|