Tests: Fix memory leaks in test_block_header.
[xz/debian.git] / src / lzmainfo / Makefile.am
blobff7172b50f380a32778fea8bf43c4dfa68f349d2
1 ##
2 ## Author: Lasse Collin
3 ##
4 ## This file has been put into the public domain.
5 ## You can do whatever you want with this file.
6 ##
8 bin_PROGRAMS = lzmainfo
10 lzmainfo_SOURCES = \
11         lzmainfo.c \
12         ../common/tuklib_progname.c \
13         ../common/tuklib_exit.c
15 if COND_W32
16 lzmainfo_SOURCES += lzmainfo_w32res.rc
17 endif
19 lzmainfo_CPPFLAGS = \
20         -DLOCALEDIR=\"$(localedir)\" \
21         -I$(top_srcdir)/src/common \
22         -I$(top_srcdir)/src/liblzma/api \
23         -I$(top_builddir)/lib
25 lzmainfo_LDADD = $(top_builddir)/src/liblzma/liblzma.la
27 if COND_GNULIB
28 lzmainfo_LDADD += $(top_builddir)/lib/libgnu.a
29 endif
31 lzmainfo_LDADD += $(LTLIBINTL)
34 dist_man_MANS = lzmainfo.1
36 # Windows resource compiler support
37 .rc.o:
38         $(RC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
39                 $(lzmainfo_CPPFLAGS) $(CPPFLAGS) $(RCFLAGS) -i $< -o $@