]> icculus.org git repositories - icculus/xz.git/blob - src/lzmainfo/Makefile.am
Link lzmainfo against shared liblzma by default.
[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 = lzmainfo.c
11
12 lzmainfo_CPPFLAGS = \
13         -DLOCALEDIR=\"$(localedir)\" \
14         -I$(top_srcdir)/src/common \
15         -I$(top_srcdir)/src/liblzma/api \
16         -I$(top_builddir)/lib \
17         $(DYNAMIC_CPPFLAGS)
18
19 lzmainfo_LDFLAGS = $(DYNAMIC_LDFLAGS)
20 lzmainfo_LDADD = $(top_builddir)/src/liblzma/liblzma.la
21
22 if COND_GNULIB
23 lzmainfo_LDADD += $(top_builddir)/lib/libgnu.a
24 endif
25
26 lzmainfo_LDADD += $(LTLIBINTL)
27
28
29 dist_man_MANS = lzmainfo.1