Home | History | Annotate | Line # | Download | only in bin
Makefile revision 1.1
      1  1.1  joerg # $NetBSD: Makefile,v 1.1 2010/11/02 16:34:36 joerg Exp $
      2  1.1  joerg 
      3  1.1  joerg PROG=	xz
      4  1.1  joerg BINDIR=	/usr/bin
      5  1.1  joerg SRCS=	args.c coder.c file_io.c hardware.c list.c main.c \
      6  1.1  joerg 	message.c options.c signals.c suffix.c util.c \
      7  1.1  joerg 	tuklib_exit.c tuklib_cpucores.c tuklib_open_stdxxx.c \
      8  1.1  joerg 	tuklib_mbstr_fw.c tuklib_mbstr_width.c \
      9  1.1  joerg 	tuklib_physmem.c tuklib_progname.c
     10  1.1  joerg 
     11  1.1  joerg USETBL=	yes
     12  1.1  joerg 
     13  1.1  joerg .include <bsd.init.mk>
     14  1.1  joerg 
     15  1.1  joerg CPPFLAGS+=	-DPACKAGE=\"xz\"
     16  1.1  joerg CPPFLAGS+=	-DENABLE_NLS -DLOCALEDIR=\"/usr/share/locale\"
     17  1.1  joerg 
     18  1.1  joerg DPADD+=	${LIBLZMA} ${LIBINTL}
     19  1.1  joerg LDADD+=	-llzma -lintl
     20  1.1  joerg 
     21  1.1  joerg LINKS+=	${BINDIR}/xz ${BINDIR}/unxz \
     22  1.1  joerg 	${BINDIR}/xz ${BINDIR}/xzcat \
     23  1.1  joerg 
     24  1.1  joerg .PATH:	${XZSRCDIR}/src/common ${XZSRCDIR}/src/xz
     25  1.1  joerg 
     26  1.1  joerg .for lang in cs de it
     27  1.1  joerg FILES+=					${XZSRCDIR}/po/${lang}.gmo
     28  1.1  joerg FILESDIR_${XZSRCDIR}/po/${lang}.gmo=	/usr/share/locale/${lang}/LC_MESSAGES
     29  1.1  joerg FILESNAME_${XZSRCDIR}/po/${lang}.gmo=	xz.mo
     30  1.1  joerg .endfor
     31  1.1  joerg 
     32  1.1  joerg .include <bsd.prog.mk>
     33