2008-06-16 14:32:13 +03:00
|
|
|
--- a/squashfs-tools/Makefile
|
|
|
|
+++ b/squashfs-tools/Makefile
|
2009-02-21 16:46:03 +02:00
|
|
|
@@ -7,6 +8,9 @@ all: mksquashfs unsquashfs
|
2005-04-02 19:48:05 +03:00
|
|
|
mksquashfs: mksquashfs.o read_fs.o sort.o
|
|
|
|
$(CC) mksquashfs.o read_fs.o sort.o -lz -o $@
|
|
|
|
|
|
|
|
+mksquashfs-lzma: mksquashfs.o read_fs.o sort.o
|
2009-05-04 20:04:03 +03:00
|
|
|
+ $(CXX) mksquashfs.o read_fs.o sort.o -L$(LZMAPATH) -llzma-old -o $@
|
2005-04-02 19:48:05 +03:00
|
|
|
+
|
2006-03-21 15:41:09 +02:00
|
|
|
mksquashfs.o: mksquashfs.c squashfs_fs.h mksquashfs.h global.h sort.h
|
2005-04-02 19:48:05 +03:00
|
|
|
|
2006-03-21 15:41:09 +02:00
|
|
|
read_fs.o: read_fs.c squashfs_fs.h read_fs.h global.h
|
2009-02-21 16:46:03 +02:00
|
|
|
@@ -16,4 +20,9 @@ sort.o: sort.c squashfs_fs.h global.h so
|
2008-06-16 14:32:13 +03:00
|
|
|
unsquashfs: unsquashfs.o
|
2006-03-21 15:41:09 +02:00
|
|
|
$(CC) unsquashfs.o -lz -o $@
|
2005-04-02 19:48:05 +03:00
|
|
|
|
2008-06-16 14:32:13 +03:00
|
|
|
+unsquashfs-lzma: unsquashfs.o
|
2009-05-04 20:04:03 +03:00
|
|
|
+ $(CXX) unsquashfs.o -L$(LZMAPATH) -llzma-old -o $@
|
2008-06-16 14:32:13 +03:00
|
|
|
+
|
2006-03-21 15:41:09 +02:00
|
|
|
unsquashfs.o: unsquashfs.c squashfs_fs.h read_fs.h global.h
|
2005-04-02 19:48:05 +03:00
|
|
|
+
|
|
|
|
+clean:
|