source: freewrt/tools/squashfs/patches/patch-squashfs-tools_Makefile@ fdd4f59

freewrt_1_0 freewrt_2_0
Last change on this file since fdd4f59 was fdd4f59, checked in by Thorsten Glaser <tg@…>, 19 years ago

run update-patches, simple cases

git-svn-id: svn://www.freewrt.org/trunk/freewrt@434 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 891 bytes
RevLine 
[5ff47d7]1$FreeWRT$
[d5b9e70]2--- squashfs3.0.orig/squashfs-tools/Makefile Wed Mar 15 21:35:57 2006
[fdd4f59]3+++ squashfs3.0/squashfs-tools/Makefile Thu Jul 27 10:23:46 2006
[d5b9e70]4@@ -1,12 +1,16 @@
[475ad56]5 INCLUDEDIR = .
6+#LZMAPATH = ../lzma/SRC/7zip/Compress/LZMA_Lib
7
[5ff47d7]8-CFLAGS := -I$(INCLUDEDIR) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2
9+CPPFLAGS := -I$(INCLUDEDIR) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
[475ad56]10
[5ff47d7]11 all: mksquashfs unsquashfs
12
[475ad56]13 mksquashfs: mksquashfs.o read_fs.o sort.o
14 $(CC) mksquashfs.o read_fs.o sort.o -lz -o $@
15
16+mksquashfs-lzma: mksquashfs.o read_fs.o sort.o
17+ $(CXX) mksquashfs.o read_fs.o sort.o -L$(LZMAPATH) -llzma -o $@
18+
19 mksquashfs.o: mksquashfs.c squashfs_fs.h mksquashfs.h global.h sort.h
20
21 read_fs.o: read_fs.c squashfs_fs.h read_fs.h global.h
[5ff47d7]22@@ -17,3 +21,5 @@ unsquashfs: unsquashfs.o
[475ad56]23 $(CC) unsquashfs.o -lz -o $@
24
25 unsquashfs.o: unsquashfs.c squashfs_fs.h read_fs.h global.h
26+
27+clean:
Note: See TracBrowser for help on using the repository browser.