minix/external/public-domain/xz/bin/Makefile

33 lines
837 B
Makefile
Raw Normal View History

2012-02-17 00:06:42 +01:00
# $NetBSD: Makefile,v 1.1 2010/11/02 16:34:36 joerg Exp $
PROG= xz
BINDIR= /usr/bin
SRCS= args.c coder.c file_io.c hardware.c list.c main.c \
message.c options.c signals.c suffix.c util.c \
tuklib_exit.c tuklib_cpucores.c tuklib_open_stdxxx.c \
tuklib_mbstr_fw.c tuklib_mbstr_width.c \
tuklib_physmem.c tuklib_progname.c
USETBL= yes
.include <bsd.init.mk>
CPPFLAGS+= -DPACKAGE=\"xz\"
CPPFLAGS+= -DENABLE_NLS -DLOCALEDIR=\"/usr/share/locale\"
DPADD+= ${LIBLZMA} ${LIBINTL}
LDADD+= -llzma -lintl
LINKS+= ${BINDIR}/xz ${BINDIR}/unxz \
${BINDIR}/xz ${BINDIR}/xzcat \
.PATH: ${XZSRCDIR}/src/common ${XZSRCDIR}/src/xz
.for lang in cs de it
FILES+= ${XZSRCDIR}/po/${lang}.gmo
FILESDIR_${XZSRCDIR}/po/${lang}.gmo= /usr/share/locale/${lang}/LC_MESSAGES
FILESNAME_${XZSRCDIR}/po/${lang}.gmo= xz.mo
.endfor
.include <bsd.prog.mk>