add l2tpd
[openwrt.git] / openwrt / target / squashfs-lzma / squashfs2.0-tools-lzma.patch
1 --- squashfs2.0/squashfs-tools/Makefile 2004-04-30 19:29:35.000000000 +0400
2 +++ squashfs-tools/Makefile 2005-01-20 14:57:53.423668596 +0300
3 @@ -1,12 +1,18 @@
4 INCLUDEDIR = .
5 +#LZMAPATH = ../lzma/SRC/7zip/Compress/LZMA_Lib
6
7 CFLAGS := -I$(INCLUDEDIR) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2
8
9 mksquashfs: mksquashfs.o read_fs.o sort.o
10 $(CC) mksquashfs.o read_fs.o sort.o -lz -o $@
11
12 +mksquashfs-lzma: mksquashfs.o read_fs.o sort.o
13 + $(CXX) mksquashfs.o read_fs.o sort.o -L$(LZMAPATH) -llzma -o $@
14 +
15 mksquashfs.o: mksquashfs.c mksquashfs.h
16
17 read_fs.o: read_fs.c read_fs.h
18
19 sort.o: sort.c
20 +
21 +clean:
22 + rm -f *.o mksquashfs mksquashfs-lzma
This page took 0.05976 seconds and 5 git commands to generate.