ports

morpheus ports
git clone git://git.2f30.org/ports
Log | Files | Refs | LICENSE

bzip2.mk (586B)


      1 <../v.mk
      2 
      3 BIN = \
      4 	bzip2 \
      5 	bzip2recover
      6 
      7 LIB = libbz2.a
      8 
      9 libbz2_a_OBJ = \
     10 	blocksort.o \
     11 	huffman.o \
     12 	crctable.o \
     13 	randtable.o \
     14 	compress.o \
     15 	decompress.o \
     16 	bzlib.o
     17 libbz2_a_LDFLAGS =
     18 
     19 bzip2_OBJ = bzip2.o
     20 bzip2_LDFLAGS = -L. -lbz2
     21 
     22 bzip2recover_OBJ = bzip2recover.o
     23 bzip2recover_LDFLAGS =
     24 
     25 INSTALL_BIN = \
     26 	bzip2 \
     27 	bzip2recover \
     28 	bzmore \
     29 	bzgrep \
     30 	bzdiff
     31 
     32 INSTALL_SYMLINK = \
     33 	bzmore /bin/bzless \
     34 	bzip2 /bin/bzcat \
     35 	bzdiff /bin/bzcmp
     36 
     37 INSTALL_MAN1 = `{ ls *.1 }
     38 
     39 LOCAL_CFLAGS = \
     40 	-D_FILE_OFFSET_BITS=64 \
     41 	-ansi -I.
     42 LOCAL_LDFLAGS = -L.
     43 
     44 <$mkbuild/mk.default
     45 
     46 bzip2: $LIB
     47