SHELL = /bin/sh BINDIR = /usr/local/bin MANDIR = /usr/local/man MEXT = 1 # remove -DBSD if you are not on a BSD system. # add -DNOMKDIR if your system does not have the mkdir system call. CF = -DNODOT -DBSD -DAUFS_SUPPORT IF = # If you want AUFS support use the following two lines: #CF = -DNODOT -DBSD -DAUFS_SUPPORT IF = -I/usr/local/cap/include # changing the directory for cap include files to what is useful on # your system. AUFS support is incompatible with NOMKDIR. all: (cd crc; make CF='$(CF)') (cd transname; make CF='$(CF)') (cd fileio; make CF='$(CF) $(IF)') (cd unpack; make CF='$(CF)') clean: (cd crc; make clean) (cd transname; make clean) (cd fileio; make clean) (cd unpack; make clean) install: install -c -m 755 unpack/unpack $(BINDIR)/macunpack install -c -m 644 unpack.1 $(MANDIR)/man$(MEXT)/macunpack.$(MEXT)