Makefile revision 445b9123906a5184e5821a84b0da385e3b4964ad
1a8775b3bd473537100867e1d985163c2484e6a1bplougher############################################### 2a8775b3bd473537100867e1d985163c2484e6a1bplougher# Compression build options # 3a8775b3bd473537100867e1d985163c2484e6a1bplougher############################################### 4898b10b3b19504126a4aec1d1a028b1e58109fedplougher# 576b7c832bb72020749efcef5cdc8fefffac87f25plougher# 676b7c832bb72020749efcef5cdc8fefffac87f25plougher############# Building gzip support ########### 776b7c832bb72020749efcef5cdc8fefffac87f25plougher# 876b7c832bb72020749efcef5cdc8fefffac87f25plougher# Gzip support is by default enabled, and the compression type default 976b7c832bb72020749efcef5cdc8fefffac87f25plougher# (COMP_DEFAULT) is gzip. 1076b7c832bb72020749efcef5cdc8fefffac87f25plougher# 1176b7c832bb72020749efcef5cdc8fefffac87f25plougher# If you don't want/need gzip support then comment out the GZIP SUPPORT line 1276b7c832bb72020749efcef5cdc8fefffac87f25plougher# below, and change COMP_DEFAULT to one of the compression types you have 1376b7c832bb72020749efcef5cdc8fefffac87f25plougher# selected. 1476b7c832bb72020749efcef5cdc8fefffac87f25plougher# 1576b7c832bb72020749efcef5cdc8fefffac87f25plougher# Obviously, you must select at least one of the available gzip, lzma, lzo 1676b7c832bb72020749efcef5cdc8fefffac87f25plougher# compression types. 1776b7c832bb72020749efcef5cdc8fefffac87f25plougher# 1876b7c832bb72020749efcef5cdc8fefffac87f25plougherGZIP_SUPPORT = 1 1976b7c832bb72020749efcef5cdc8fefffac87f25plougher 2076b7c832bb72020749efcef5cdc8fefffac87f25plougher 21c801ba5494e53c5cad6c16241bdad01b3de33717plougher########### Building LZMA support ############# 226b2fbe3a0dc489a167919ff518b8fc20b63e3c6fplougher# 23ebdcf0ab9d3d9c6f646ceab7e10eeb096ee73983plougher# LZMA1 compression. 24ebdcf0ab9d3d9c6f646ceab7e10eeb096ee73983plougher# 25ebdcf0ab9d3d9c6f646ceab7e10eeb096ee73983plougher# Both XZ Utils liblzma (http://tukaani.org/xz/) and LZMA SDK 266b2fbe3a0dc489a167919ff518b8fc20b63e3c6fplougher# (http://www.7-zip.org/sdk.html) are supported 276b2fbe3a0dc489a167919ff518b8fc20b63e3c6fplougher# 286b2fbe3a0dc489a167919ff518b8fc20b63e3c6fplougher# To build using XZ Utils liblzma - install the library and uncomment 29ebdcf0ab9d3d9c6f646ceab7e10eeb096ee73983plougher# the LZMA_XZ_SUPPORT line below. 306b2fbe3a0dc489a167919ff518b8fc20b63e3c6fplougher# 316b2fbe3a0dc489a167919ff518b8fc20b63e3c6fplougher# To build using the LZMA SDK (4.65 used in development, other versions may 326b2fbe3a0dc489a167919ff518b8fc20b63e3c6fplougher# work) - download and unpack it, uncomment and set LZMA_DIR to unpacked source, 336b2fbe3a0dc489a167919ff518b8fc20b63e3c6fplougher# and uncomment the LZMA_SUPPORT line below. 3476b7c832bb72020749efcef5cdc8fefffac87f25plougher# 35ebdcf0ab9d3d9c6f646ceab7e10eeb096ee73983plougher#LZMA_XZ_SUPPORT = 1 36445b9123906a5184e5821a84b0da385e3b4964adplougherLZMA_SUPPORT = 1 37445b9123906a5184e5821a84b0da385e3b4964adplougherLZMA_DIR = ../../../../LZMA/lzma465 38898b10b3b19504126a4aec1d1a028b1e58109fedplougher 3967dfce9c3751f0580633e8a33cea28bcfbefec04plougher########### Building XZ support ############# 4067dfce9c3751f0580633e8a33cea28bcfbefec04plougher# 4167dfce9c3751f0580633e8a33cea28bcfbefec04plougher# LZMA2 compression. 4267dfce9c3751f0580633e8a33cea28bcfbefec04plougher# 4367dfce9c3751f0580633e8a33cea28bcfbefec04plougher# XZ Utils liblzma (http://tukaani.org/xz/) is supported 4467dfce9c3751f0580633e8a33cea28bcfbefec04plougher# 4567dfce9c3751f0580633e8a33cea28bcfbefec04plougher# To build using XZ Utils liblzma - install the library and uncomment 4667dfce9c3751f0580633e8a33cea28bcfbefec04plougher# the XZ_SUPPORT line below. 4767dfce9c3751f0580633e8a33cea28bcfbefec04plougher# 48445b9123906a5184e5821a84b0da385e3b4964adplougherXZ_SUPPORT = 1 4967dfce9c3751f0580633e8a33cea28bcfbefec04plougher 50c801ba5494e53c5cad6c16241bdad01b3de33717plougher 51c801ba5494e53c5cad6c16241bdad01b3de33717plougher############ Building LZO support ############## 52c801ba5494e53c5cad6c16241bdad01b3de33717plougher# 53c801ba5494e53c5cad6c16241bdad01b3de33717plougher# The LZO library (http://www.oberhumer.com/opensource/lzo/) is supported. 54c801ba5494e53c5cad6c16241bdad01b3de33717plougher# 55c801ba5494e53c5cad6c16241bdad01b3de33717plougher# To build using the LZO library - install the library and uncomment the 56c801ba5494e53c5cad6c16241bdad01b3de33717plougher# LZO_SUPPORT line below. If needed, uncomment and set LZO_DIR to the 57c801ba5494e53c5cad6c16241bdad01b3de33717plougher# installation prefix. 58c801ba5494e53c5cad6c16241bdad01b3de33717plougher# 59445b9123906a5184e5821a84b0da385e3b4964adplougherLZO_SUPPORT = 1 60c801ba5494e53c5cad6c16241bdad01b3de33717plougher#LZO_DIR = /usr/local 61c801ba5494e53c5cad6c16241bdad01b3de33717plougher 62c801ba5494e53c5cad6c16241bdad01b3de33717plougher 63c801ba5494e53c5cad6c16241bdad01b3de33717plougher######## Specifying default compression ######## 64a8775b3bd473537100867e1d985163c2484e6a1bplougher# 65a8775b3bd473537100867e1d985163c2484e6a1bplougher# The next line specifies which compression algorithm is used by default 66a8775b3bd473537100867e1d985163c2484e6a1bplougher# in Mksquashfs. Obviously the compression algorithm must have been 67a8775b3bd473537100867e1d985163c2484e6a1bplougher# selected to be built 6876b7c832bb72020749efcef5cdc8fefffac87f25plougher# 69a8775b3bd473537100867e1d985163c2484e6a1bplougherCOMP_DEFAULT = gzip 70a8775b3bd473537100867e1d985163c2484e6a1bplougher 71a8775b3bd473537100867e1d985163c2484e6a1bplougher############################################### 72499f17fb81e40778ce611eb493d0ed5a08e99c29plougher# Extended attribute (XATTRs) build options # 73a8775b3bd473537100867e1d985163c2484e6a1bplougher############################################### 749e0e290195380993755420150cb1ddc66e7d3d95plougher# 759e0e290195380993755420150cb1ddc66e7d3d95plougher# Building XATTR support for Mksquashfs and Unsquashfs 769e0e290195380993755420150cb1ddc66e7d3d95plougher# 779e0e290195380993755420150cb1ddc66e7d3d95plougher# If your C library or build/target environment doesn't support XATTRs then 78a8775b3bd473537100867e1d985163c2484e6a1bplougher# comment out the next line to build Mksquashfs and Unsquashfs without XATTR 799e0e290195380993755420150cb1ddc66e7d3d95plougher# support 808d1ffcac367d75b3b83721a1e133c4b79b36026fplougherXATTR_SUPPORT = 1 81860c1f3d8aa4ba40d587382a91821bea03b023c5plougher 82df9d38a515489c2c573754ad81abd230dfd8b1f0plougher# Select whether you wish xattrs to be stored by Mksquashfs and extracted 83df9d38a515489c2c573754ad81abd230dfd8b1f0plougher# by Unsquashfs by default. If selected users can disable xattr support by 84df9d38a515489c2c573754ad81abd230dfd8b1f0plougher# using the -no-xattrs option 85df9d38a515489c2c573754ad81abd230dfd8b1f0plougher# 86a8775b3bd473537100867e1d985163c2484e6a1bplougher# If unselected, Mksquashfs/Unsquashfs won't store and extract xattrs by 87a8775b3bd473537100867e1d985163c2484e6a1bplougher# default. Users can enable xattrs by using the -xattrs option. 88df9d38a515489c2c573754ad81abd230dfd8b1f0plougherXATTR_DEFAULT = 1 89df9d38a515489c2c573754ad81abd230dfd8b1f0plougher 90a8775b3bd473537100867e1d985163c2484e6a1bplougher 91a8775b3bd473537100867e1d985163c2484e6a1bplougher############################################### 92a8775b3bd473537100867e1d985163c2484e6a1bplougher# End of BUILD options section # 93a8775b3bd473537100867e1d985163c2484e6a1bplougher############################################### 94764dab5cd71bda25bc755de08908dbbd58c1a450plougher 95bd533806b7eafbc4ceb0edc9e04360ca8df505b9plougherINCLUDEDIR = -I. 96e18aa642d82bfbaaf4ed9fe82768b618538dd78eplougherINSTALL_DIR = /usr/local/bin 97e18aa642d82bfbaaf4ed9fe82768b618538dd78eplougher 9876b7c832bb72020749efcef5cdc8fefffac87f25plougherMKSQUASHFS_OBJS = mksquashfs.o read_fs.o sort.o swap.o pseudo.o compressor.o 99ee76f483a300f916990895b9630cdb19c6d79020plougher 100ee76f483a300f916990895b9630cdb19c6d79020plougherUNSQUASHFS_OBJS = unsquashfs.o unsquash-1.o unsquash-2.o unsquash-3.o \ 10176b7c832bb72020749efcef5cdc8fefffac87f25plougher unsquash-4.o swap.o compressor.o 102ee76f483a300f916990895b9630cdb19c6d79020plougher 103ee76f483a300f916990895b9630cdb19c6d79020plougherCFLAGS = $(INCLUDEDIR) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \ 104860c1f3d8aa4ba40d587382a91821bea03b023c5plougher -D_GNU_SOURCE -DCOMP_DEFAULT=\"$(COMP_DEFAULT)\" -O2 -Wall 1051f413c84d736495fd61ff05ebe52c3a01a4d95c2plougher 1066b2fbe3a0dc489a167919ff518b8fc20b63e3c6fplougherLIBS = 10776b7c832bb72020749efcef5cdc8fefffac87f25plougherifdef GZIP_SUPPORT 10876b7c832bb72020749efcef5cdc8fefffac87f25plougherCFLAGS += -DGZIP_SUPPORT 10976b7c832bb72020749efcef5cdc8fefffac87f25plougherMKSQUASHFS_OBJS += gzip_wrapper.o 11076b7c832bb72020749efcef5cdc8fefffac87f25plougherUNSQUASHFS_OBJS += gzip_wrapper.o 11176b7c832bb72020749efcef5cdc8fefffac87f25plougherLIBS += -lz 1120ceb24fc944027a424347c8e880c9784852f75fdplougherCOMPRESSORS += gzip 11376b7c832bb72020749efcef5cdc8fefffac87f25plougherendif 11476b7c832bb72020749efcef5cdc8fefffac87f25plougher 115bd533806b7eafbc4ceb0edc9e04360ca8df505b9plougherifdef LZMA_SUPPORT 116ee76f483a300f916990895b9630cdb19c6d79020plougherLZMA_OBJS = $(LZMA_DIR)/C/Alloc.o $(LZMA_DIR)/C/LzFind.o \ 117ee76f483a300f916990895b9630cdb19c6d79020plougher $(LZMA_DIR)/C/LzmaDec.o $(LZMA_DIR)/C/LzmaEnc.o $(LZMA_DIR)/C/LzmaLib.o 118bd533806b7eafbc4ceb0edc9e04360ca8df505b9plougherINCLUDEDIR += -I$(LZMA_DIR)/C 119bd533806b7eafbc4ceb0edc9e04360ca8df505b9plougherCFLAGS += -DLZMA_SUPPORT 120bd533806b7eafbc4ceb0edc9e04360ca8df505b9plougherMKSQUASHFS_OBJS += lzma_wrapper.o $(LZMA_OBJS) 121bd533806b7eafbc4ceb0edc9e04360ca8df505b9plougherUNSQUASHFS_OBJS += lzma_wrapper.o $(LZMA_OBJS) 1220ceb24fc944027a424347c8e880c9784852f75fdplougherCOMPRESSORS += lzma 123bd533806b7eafbc4ceb0edc9e04360ca8df505b9plougherendif 1241f413c84d736495fd61ff05ebe52c3a01a4d95c2plougher 125ebdcf0ab9d3d9c6f646ceab7e10eeb096ee73983plougherifdef LZMA_XZ_SUPPORT 1266b2fbe3a0dc489a167919ff518b8fc20b63e3c6fplougherCFLAGS += -DLZMA_SUPPORT 127ebdcf0ab9d3d9c6f646ceab7e10eeb096ee73983plougherMKSQUASHFS_OBJS += lzma_xz_wrapper.o 128ebdcf0ab9d3d9c6f646ceab7e10eeb096ee73983plougherUNSQUASHFS_OBJS += lzma_xz_wrapper.o 1296b2fbe3a0dc489a167919ff518b8fc20b63e3c6fplougherLIBS += -llzma 1300ceb24fc944027a424347c8e880c9784852f75fdplougherCOMPRESSORS += lzma 1316b2fbe3a0dc489a167919ff518b8fc20b63e3c6fplougherendif 1326b2fbe3a0dc489a167919ff518b8fc20b63e3c6fplougher 13367dfce9c3751f0580633e8a33cea28bcfbefec04plougherifdef XZ_SUPPORT 13467dfce9c3751f0580633e8a33cea28bcfbefec04plougherCFLAGS += -DXZ_SUPPORT 13567dfce9c3751f0580633e8a33cea28bcfbefec04plougherMKSQUASHFS_OBJS += xz_wrapper.o 13667dfce9c3751f0580633e8a33cea28bcfbefec04plougherUNSQUASHFS_OBJS += xz_wrapper.o 13767dfce9c3751f0580633e8a33cea28bcfbefec04plougherLIBS += -llzma 13867dfce9c3751f0580633e8a33cea28bcfbefec04plougherCOMPRESSORS += xz 13967dfce9c3751f0580633e8a33cea28bcfbefec04plougherendif 14067dfce9c3751f0580633e8a33cea28bcfbefec04plougher 141c801ba5494e53c5cad6c16241bdad01b3de33717plougherifdef LZO_SUPPORT 142c801ba5494e53c5cad6c16241bdad01b3de33717plougherCFLAGS += -DLZO_SUPPORT 143c801ba5494e53c5cad6c16241bdad01b3de33717plougherifdef LZO_DIR 144c801ba5494e53c5cad6c16241bdad01b3de33717plougherINCLUDEDIR += -I$(LZO_DIR)/include 145c801ba5494e53c5cad6c16241bdad01b3de33717plougherLZO_LIBDIR = -L$(LZO_DIR)/lib 146c801ba5494e53c5cad6c16241bdad01b3de33717plougherendif 147c801ba5494e53c5cad6c16241bdad01b3de33717plougherMKSQUASHFS_OBJS += lzo_wrapper.o 148c801ba5494e53c5cad6c16241bdad01b3de33717plougherUNSQUASHFS_OBJS += lzo_wrapper.o 149c801ba5494e53c5cad6c16241bdad01b3de33717plougherLIBS += $(LZO_LIBDIR) -llzo2 1500ceb24fc944027a424347c8e880c9784852f75fdplougherCOMPRESSORS += lzo 151c801ba5494e53c5cad6c16241bdad01b3de33717plougherendif 152c801ba5494e53c5cad6c16241bdad01b3de33717plougher 153860c1f3d8aa4ba40d587382a91821bea03b023c5plougherifdef XATTR_SUPPORT 154df9d38a515489c2c573754ad81abd230dfd8b1f0plougherifdef XATTR_DEFAULT 155df9d38a515489c2c573754ad81abd230dfd8b1f0plougherCFLAGS += -DXATTR_SUPPORT -DXATTR_DEFAULT 156df9d38a515489c2c573754ad81abd230dfd8b1f0plougherelse 157860c1f3d8aa4ba40d587382a91821bea03b023c5plougherCFLAGS += -DXATTR_SUPPORT 158df9d38a515489c2c573754ad81abd230dfd8b1f0plougherendif 159860c1f3d8aa4ba40d587382a91821bea03b023c5plougherMKSQUASHFS_OBJS += xattr.o read_xattrs.o 160860c1f3d8aa4ba40d587382a91821bea03b023c5plougherUNSQUASHFS_OBJS += read_xattrs.o unsquashfs_xattr.o 161860c1f3d8aa4ba40d587382a91821bea03b023c5plougherendif 162860c1f3d8aa4ba40d587382a91821bea03b023c5plougher 1638109045af395896c4391fb833c1cd55eeea594cdplougher# 164445b9123906a5184e5821a84b0da385e3b4964adplougher# If LZMA_SUPPORT is specified then LZMA_DIR must be specified too 1658109045af395896c4391fb833c1cd55eeea594cdplougher# 1668109045af395896c4391fb833c1cd55eeea594cdplougherifdef LZMA_SUPPORT 167d3d6b4adc0a53e8a8eb5df7567f334d798d73faeplougherifndef LZMA_DIR 1683bd9fd61336bdfe63c44debe2bd003c49cda42c4plougher$(error "LZMA_SUPPORT requires LZMA_DIR to be also defined") 1698109045af395896c4391fb833c1cd55eeea594cdplougherendif 1708109045af395896c4391fb833c1cd55eeea594cdplougherendif 1718109045af395896c4391fb833c1cd55eeea594cdplougher 1729d1f891165be9f7e6b76c4ee694bb4bb50a6b6c4plougher# 173ebdcf0ab9d3d9c6f646ceab7e10eeb096ee73983plougher# Both LZMA_XZ_SUPPORT and LZMA_SUPPORT cannot be specified 1749d1f891165be9f7e6b76c4ee694bb4bb50a6b6c4plougher# 175ebdcf0ab9d3d9c6f646ceab7e10eeb096ee73983plougherifdef LZMA_XZ_SUPPORT 1769d1f891165be9f7e6b76c4ee694bb4bb50a6b6c4plougherifdef LZMA_SUPPORT 177f4c143a860084e402b0a3b139bcd5520a2129fc4plougher$(error "Both LZMA_XZ_SUPPORT and LZMA_SUPPORT cannot be specified") 1789d1f891165be9f7e6b76c4ee694bb4bb50a6b6c4plougherendif 1799d1f891165be9f7e6b76c4ee694bb4bb50a6b6c4plougherendif 1809d1f891165be9f7e6b76c4ee694bb4bb50a6b6c4plougher 18127e877e01958826a5885e67bbd04aaaccb8db0a8plougher# 18227e877e01958826a5885e67bbd04aaaccb8db0a8plougher# At least one compressor must have been selected 18327e877e01958826a5885e67bbd04aaaccb8db0a8plougher# 184399d079528b83123344f3cf92975dcc2b62a3d27plougherifndef COMPRESSORS 18567dfce9c3751f0580633e8a33cea28bcfbefec04plougher$(error "No compressor selected! Select one or more of GZIP, LZMA, XZ or LZO!") 18627e877e01958826a5885e67bbd04aaaccb8db0a8plougherendif 18727e877e01958826a5885e67bbd04aaaccb8db0a8plougher 1880ceb24fc944027a424347c8e880c9784852f75fdplougher# 1890ceb24fc944027a424347c8e880c9784852f75fdplougher# COMP_DEFAULT must be a selected compressor 1900ceb24fc944027a424347c8e880c9784852f75fdplougher# 1910ceb24fc944027a424347c8e880c9784852f75fdplougherifeq (, $(findstring $(COMP_DEFAULT), $(COMPRESSORS))) 1920ceb24fc944027a424347c8e880c9784852f75fdplougher$(error "COMP_DEFAULT isn't selected to be built!") 1930ceb24fc944027a424347c8e880c9784852f75fdplougherendif 1940ceb24fc944027a424347c8e880c9784852f75fdplougher 1950268d5103f86a4262d79e442dd9d0e52deeb5b9bplougher.PHONY: all 196af6551e23a2b235612c4dce7467a2ab24d9cd199plougherall: mksquashfs unsquashfs 197443c15812032991c98b33b5424b17bcd55fe3575plougher 198bd533806b7eafbc4ceb0edc9e04360ca8df505b9ploughermksquashfs: $(MKSQUASHFS_OBJS) 19976b7c832bb72020749efcef5cdc8fefffac87f25plougher $(CC) $(MKSQUASHFS_OBJS) -lpthread -lm $(LIBS) -o $@ 2001f413c84d736495fd61ff05ebe52c3a01a4d95c2plougher 201ee76f483a300f916990895b9630cdb19c6d79020ploughermksquashfs.o: mksquashfs.c squashfs_fs.h mksquashfs.h global.h sort.h \ 202df9d38a515489c2c573754ad81abd230dfd8b1f0plougher squashfs_swap.h xattr.h 2031f413c84d736495fd61ff05ebe52c3a01a4d95c2plougher 204ee76f483a300f916990895b9630cdb19c6d79020plougherread_fs.o: read_fs.c squashfs_fs.h read_fs.h global.h squashfs_swap.h 2051f413c84d736495fd61ff05ebe52c3a01a4d95c2plougher 206ee76f483a300f916990895b9630cdb19c6d79020ploughersort.o: sort.c squashfs_fs.h global.h sort.h 207443c15812032991c98b33b5424b17bcd55fe3575plougher 208ee76f483a300f916990895b9630cdb19c6d79020plougherswap.o: swap.c 209db4621c2bc9b0fbcb9f99a0254b70d0b8c3df07cplougher 210ee76f483a300f916990895b9630cdb19c6d79020plougherpseudo.o: pseudo.c pseudo.h 211fd958432d2d06075b04940befb54bc4334c8a0abplougher 212ee76f483a300f916990895b9630cdb19c6d79020ploughercompressor.o: compressor.c compressor.h 2133386d995d320ecb92ed5825f1fe5f177cd26e89fplougher 214e6e0e1bdf98ad6faa63527e5bbdd3bd5e7e97a9eplougherxattr.o: xattr.h 215e6e0e1bdf98ad6faa63527e5bbdd3bd5e7e97a9eplougher 2161b129839fa96a755f011fcaf1d06adc7cd6c28d2plougherread_xattrs.o: xattr.h 2171b129839fa96a755f011fcaf1d06adc7cd6c28d2plougher 218bd533806b7eafbc4ceb0edc9e04360ca8df505b9plougherunsquashfs: $(UNSQUASHFS_OBJS) 21976b7c832bb72020749efcef5cdc8fefffac87f25plougher $(CC) $(UNSQUASHFS_OBJS) -lpthread -lm $(LIBS) -o $@ 220443c15812032991c98b33b5424b17bcd55fe3575plougher 221ee76f483a300f916990895b9630cdb19c6d79020plougherunsquashfs.o: unsquashfs.h unsquashfs.c squashfs_fs.h squashfs_swap.h \ 222df9d38a515489c2c573754ad81abd230dfd8b1f0plougher squashfs_compat.h global.h xattr.h 223e18aa642d82bfbaaf4ed9fe82768b618538dd78eplougher 224ee76f483a300f916990895b9630cdb19c6d79020plougherunsquash-1.o: unsquashfs.h unsquash-1.c squashfs_fs.h squashfs_compat.h \ 225ee76f483a300f916990895b9630cdb19c6d79020plougher global.h 226eb32ff41ec7a370002a1ec5ebb48debdc7a18499plougher 227ee76f483a300f916990895b9630cdb19c6d79020plougherunsquash-2.o: unsquashfs.h unsquash-2.c unsquashfs.h squashfs_fs.h \ 228ee76f483a300f916990895b9630cdb19c6d79020plougher squashfs_compat.h global.h 229eb32ff41ec7a370002a1ec5ebb48debdc7a18499plougher 230ee76f483a300f916990895b9630cdb19c6d79020plougherunsquash-3.o: unsquashfs.h unsquash-3.c squashfs_fs.h squashfs_compat.h \ 231ee76f483a300f916990895b9630cdb19c6d79020plougher global.h 232eb32ff41ec7a370002a1ec5ebb48debdc7a18499plougher 233ee76f483a300f916990895b9630cdb19c6d79020plougherunsquash-4.o: unsquashfs.h unsquash-4.c squashfs_fs.h squashfs_swap.h \ 234ee76f483a300f916990895b9630cdb19c6d79020plougher global.h 235f81c7dc64b0d0321629805e1752ce0a755c685a7plougher 236860c1f3d8aa4ba40d587382a91821bea03b023c5plougherunsquashfs_xattr.o: xattr.h 237860c1f3d8aa4ba40d587382a91821bea03b023c5plougher 2380268d5103f86a4262d79e442dd9d0e52deeb5b9bplougher.PHONY: clean 239e18aa642d82bfbaaf4ed9fe82768b618538dd78eplougherclean: 240e18aa642d82bfbaaf4ed9fe82768b618538dd78eplougher -rm -f *.o mksquashfs unsquashfs 241e18aa642d82bfbaaf4ed9fe82768b618538dd78eplougher 2420268d5103f86a4262d79e442dd9d0e52deeb5b9bplougher.PHONY: install 243f709418a42fb016e284d43611febe4e582d8d528plougherinstall: mksquashfs unsquashfs 244e18aa642d82bfbaaf4ed9fe82768b618538dd78eplougher mkdir -p $(INSTALL_DIR) 245e18aa642d82bfbaaf4ed9fe82768b618538dd78eplougher cp mksquashfs $(INSTALL_DIR) 246f709418a42fb016e284d43611febe4e582d8d528plougher cp unsquashfs $(INSTALL_DIR) 247