Home | History | Annotate | Line # | Download | only in libbz2
Makefile revision 1.11
      1  1.11      tls #	$NetBSD: Makefile,v 1.11 2007/05/28 12:06:18 tls Exp $
      2  1.11      tls 
      3  1.11      tls USE_FORT?= yes	# data driven bugs?
      4   1.9    lukem 
      5   1.9    lukem NOMAN=		# defined
      6   1.8  thorpej 
      7   1.8  thorpej .include <bsd.own.mk>
      8   1.1     ross 
      9   1.6       tv LIB=		bz2
     10   1.9    lukem DIST=		${NETBSDSRCDIR}/dist/bzip2
     11   1.6       tv .PATH:		${DIST}
     12   1.1     ross 
     13   1.6       tv SRCS=		blocksort.c huffman.c crctable.c randtable.c compress.c \
     14   1.6       tv 		decompress.c bzlib.c
     15   1.6       tv INCS=		bzlib.h
     16   1.6       tv INCSDIR=	/usr/include
     17   1.1     ross 
     18   1.5   simonb TEXINFO=	bzip2.info
     19   1.3      wiz CLEANFILES+=	bzip2.texi
     20   1.3      wiz 
     21   1.8  thorpej # XXX huffman.c gets mis-compiled with 2.95.3
     22   1.8  thorpej .if ${MACHINE_ARCH} == "vax"
     23   1.8  thorpej COPTS+=		-O0
     24   1.8  thorpej .endif
     25   1.8  thorpej 
     26  1.10      mrg # XXX blocksort.c gets mis-compiled with 4.1
     27  1.10      mrg .if (${MACHINE_ARCH} == "sh3el" || ${MACHINE_ARCH} == "sh3eb") && \
     28  1.10      mrg     ${HAVE_GCC} == 4
     29  1.10      mrg COPTS.blocksort.c+=		-O0
     30  1.10      mrg .endif
     31  1.10      mrg 
     32   1.6       tv bzip2.texi: manual.texi
     33   1.6       tv 	@-rm -f $@
     34   1.6       tv 	sed -e 's/@parindent.*//' \
     35   1.6       tv 	    -e 's/@parskip.*//' \
     36   1.6       tv 	    -e 's/@node Overview, Implementation, Top, Top/@node Overview, (dir), Top, (dir)/' \
     37   1.6       tv 	    -e 's/@itemize$$/@itemize @bullet/' \
     38   1.7      mjl 	    -e 's/@bf{\(.*\)}/\1/' \
     39   1.6       tv 	    <$> >$@
     40   1.4      wiz 
     41   1.4      wiz .if ${MKSHARE} != "no"
     42   1.4      wiz FILESDIR=	${HTMLDOCDIR}/bzip2
     43   1.4      wiz FILES=		manual_toc.html manual_1.html manual_2.html manual_3.html \
     44   1.4      wiz 		manual_4.html
     45   1.4      wiz .endif
     46   1.3      wiz 
     47   1.3      wiz .include <bsd.info.mk>
     48   1.1     ross .include <bsd.lib.mk>
     49