git » libfiu » commit c3cdb25

Move preload/ to preload/posix/

author Alberto Bertogli
2009-06-15 02:19:17 UTC
committer Alberto Bertogli
2009-06-16 15:42:54 UTC
parent 1bf4bdb11de75be3b8ecc38b3ba6b55b05c43ac5

Move preload/ to preload/posix/

We're about to get a new, different preload library, so move the current
one to preload/posix.

Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>

.gitignore +4 -4
preload/{ => posix}/Makefile +4 -4
preload/{ => posix}/codegen.c +0 -0
preload/{ => posix}/codegen.h +0 -0
preload/{ => posix}/generate +0 -0
preload/{ => posix}/modules/libc.mm.custom.c +0 -0
preload/{ => posix}/modules/linux.io.mod +0 -0
preload/{ => posix}/modules/posix.custom.c +0 -0
preload/{ => posix}/modules/posix.io.mod +0 -0
preload/{ => posix}/utils/extract_from_man +0 -0

diff --git a/.gitignore b/.gitignore
index 850b3d0..39f12b9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,8 +5,8 @@ libfiu/*.o
 libfiu/libfiu.a
 libfiu/libfiu.pc
 libfiu/libfiu.so
-preload/*.o
-preload/*.so
-preload/modules/*.o
-preload/modules/*.mod.c
+preload/posix/*.o
+preload/posix/*.so
+preload/posix/modules/*.o
+preload/posix/modules/*.mod.c
 
diff --git a/preload/Makefile b/preload/posix/Makefile
similarity index 85%
rename from preload/Makefile
rename to preload/posix/Makefile
index 678b664..bb141fa 100644
--- a/preload/Makefile
+++ b/preload/posix/Makefile
@@ -28,7 +28,7 @@ endif
 
 default: all
 	
-all: fiu_preload.so
+all: fiu_posix_preload.so
 
 $(GEN_OBJS): $(GEN_C)
 
@@ -38,12 +38,12 @@ $(GEN_OBJS): $(GEN_C)
 .c.o:
 	$(NICE_CC) $(ALL_CFLAGS) -c $< -o $@
 
-fiu_preload.so: $(OBJS)
+fiu_posix_preload.so: $(OBJS)
 	$(NICE_CC) $(ALL_CFLAGS) -shared -fPIC $(OBJS) -lfiu -ldl \
-		-o fiu_preload.so
+		-o fiu_posix_preload.so
 
 clean:
-	rm -f $(OBJS) $(GEN_OBJS:.o=.c) fiu_preload.so
+	rm -f $(OBJS) $(GEN_OBJS:.o=.c) fiu_posix_preload.so
 	rm -f *.bb *.bbg *.da *.gcov *.gcda *.gcno gmon.out
 
 .PHONY: default clean
diff --git a/preload/codegen.c b/preload/posix/codegen.c
similarity index 100%
rename from preload/codegen.c
rename to preload/posix/codegen.c
diff --git a/preload/codegen.h b/preload/posix/codegen.h
similarity index 100%
rename from preload/codegen.h
rename to preload/posix/codegen.h
diff --git a/preload/generate b/preload/posix/generate
similarity index 100%
rename from preload/generate
rename to preload/posix/generate
diff --git a/preload/modules/libc.mm.custom.c b/preload/posix/modules/libc.mm.custom.c
similarity index 100%
rename from preload/modules/libc.mm.custom.c
rename to preload/posix/modules/libc.mm.custom.c
diff --git a/preload/modules/linux.io.mod b/preload/posix/modules/linux.io.mod
similarity index 100%
rename from preload/modules/linux.io.mod
rename to preload/posix/modules/linux.io.mod
diff --git a/preload/modules/posix.custom.c b/preload/posix/modules/posix.custom.c
similarity index 100%
rename from preload/modules/posix.custom.c
rename to preload/posix/modules/posix.custom.c
diff --git a/preload/modules/posix.io.mod b/preload/posix/modules/posix.io.mod
similarity index 100%
rename from preload/modules/posix.io.mod
rename to preload/posix/modules/posix.io.mod
diff --git a/preload/utils/extract_from_man b/preload/posix/utils/extract_from_man
similarity index 100%
rename from preload/utils/extract_from_man
rename to preload/posix/utils/extract_from_man