]> icculus.org git repositories - icculus/xz.git/blob - src/lzmainfo/Makefile.am
liblzma: Make lzma_code() check the reserved members in lzma_stream.
[icculus/xz.git] / src / lzmainfo / Makefile.am
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 ##
7
8 bin_PROGRAMS = lzmainfo
9
10 lzmainfo_SOURCES = \
11         lzmainfo.c \
12         $(top_srcdir)/src/common/tuklib_progname.c \
13         $(top_srcdir)/src/common/tuklib_exit.c
14
15 if COND_W32
16 lzmainfo_SOURCES += lzmainfo_w32res.rc
17 endif
18
19 lzmainfo_CPPFLAGS = \
20         -DLOCALEDIR=\"$(localedir)\" \
21         -I$(top_srcdir)/src/common \
22         -I$(top_srcdir)/src/liblzma/api \
23         -I$(top_builddir)/lib
24
25 lzmainfo_LDADD = $(top_builddir)/src/liblzma/liblzma.la
26
27 if COND_GNULIB
28 lzmainfo_LDADD += $(top_builddir)/lib/libgnu.a
29 endif
30
31 lzmainfo_LDADD += $(LTLIBINTL)
32
33
34 dist_man_MANS = lzmainfo.1
35
36 # Windows resource compiler support
37 .rc.o:
38         $(RC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
39                 $(lzmainfo_CPPFLAGS) $(CPPFLAGS) $(RCFLAGS) -i $< -o $@