X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=direct%2Ftest-framework%2Fpython%2FMakefile;fp=direct%2Ftest-framework%2Fpython%2FMakefile;h=9deee5e8cd8bcd96bbe3ebc07969b49be630406c;hb=c08faae4258b29a794ad55ca160c5a247145c838;hp=0000000000000000000000000000000000000000;hpb=87b33ecd1898c99b9aa2b0abcbb3e6002d6b3532;p=yaffs2.git diff --git a/direct/test-framework/python/Makefile b/direct/test-framework/python/Makefile new file mode 100644 index 0000000..9deee5e --- /dev/null +++ b/direct/test-framework/python/Makefile @@ -0,0 +1,72 @@ +# Makefile for YAFFS direct stress tests +# +# +# YAFFS: Yet another Flash File System. A NAND-flash specific file system. +# +# Copyright (C) 2003-2010 Aleph One Ltd. +# +# +# Created by Charles Manning +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation. +# +# NB Warning this Makefile does not include header dependencies. +# + + + + + + + +$(YAFFSLIBOBJS): %.o: %.c + gcc -c $(CFLAGS) -o $@ $< + + +$(YAFFSDIRECTSYMLINKS): + ln -s ../$@ $@ + +$(DIRECTEXTRASYMLINKS): + ln -s ../basic-test/$@ $@ + + +# Makefile for stress tests and fuzzer +# +# +# YAFFS: Yet another Flash File System. A NAND-flash specific file system. +# +# Copyright (C) 2003-2010 Aleph One Ltd. +# +# +# Created by Charles Manning +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation. +# +# NB Warning this Makefile does not include header dependencies. +# + +YDI_DIR = ../../ +YDI_FRAMEWORK_DIR = ../ + +TARGETS = libyaffsfs.so + + +all: $(TARGETS) + + +YAFFSLIBOBJS = $(COMMONTESTOBJS) yaffs_python_helper.o + +ALL_UNSORTED_OBJS += $(YAFFSLIBOBJS) + +include ../FrameworkRules.mk + +CFLAGS += -O0 -fPIC + + +libyaffsfs.so: $(FRAMEWORK_SOURCES) $(YAFFSLIBOBJS) + gcc -shared $(YAFFSLIBOBJS) -o $@ +