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

31 lines
696 B
Makefile
Raw Normal View History

2012-02-17 00:06:42 +01:00
# $NetBSD: Makefile,v 1.1 2011/08/04 03:38:06 matt Exp $
PROG= lzmainfo
BINDIR= /usr/bin
SRCS= lzmainfo.c
#args.c coder.c file_io.c hardware.c list.c main.c \
# message.c options.c signals.c suffix.c util.c
SRCS+= 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\"
.if !defined(__MINIX)
2012-02-17 00:06:42 +01:00
CPPFLAGS+= -DENABLE_NLS -DLOCALEDIR=\"/usr/share/locale\"
DPADD+= ${LIBLZMA} ${LIBINTL}
LDADD+= -llzma -lintl
.else
DPADD+= ${LIBLZMA}
LDADD+= -llzma
.endif # !defined(__MINIX)
2012-02-17 00:06:42 +01:00
.PATH: ${XZSRCDIR}/src/common ${XZSRCDIR}/src/lzmainfo
.include <bsd.prog.mk>