include ../../../config/.config

OBJS = attrib.o attrlist.o bitmap.o bootsect.o collate.o compat.o compress.o \
	debug.o device.o dir.o index.o inode.o lcnalloc.o logfile.o logging.o \
	mft.o misc.o mst.o runlist.o security.o unistr.o version.o volume.o \
	unix_io.o

############# select multibyte codepage ##############
ifeq ($(CONFIG_USER_CP54936),y)
	OBJS += cp54936.o
endif
ifeq ($(CONFIG_USER_CP936),y)
	OBJS += cp936.o
endif
ifeq ($(CONFIG_USER_CP950),y)
	OBJS += cp950.o
endif
#####################################################

LIBRARY = libntfs-3g.a

CFLAGS += -I.. -I../include -I../include/ntfs-3g
.PHONY: all clean

all: $(LIBRARY)

$(LIBRARY): $(OBJS)
	$(AR) rcu $@ $(OBJS)
	$(RANLIB) $@
	
clean:
	rm -f $(OBJS) $(LIBRARY)
	
romfs:

	
