1
0
mirror of https://git.tukaani.org/xz.git synced 2025-10-11 19:58:20 +00:00
xz/src/lzmainfo/Makefile.am
Lasse Collin c923b140b2 Build: Prepare to support Automake's subdir-objects.
Due to a bug in Automake, subdir-objects won't be enabled
for now.

http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17354

Thanks to Daniel Richard G. for the original patches.
2014-10-29 21:15:35 +02:00

40 lines
787 B
Makefile

##
## Author: Lasse Collin
##
## This file has been put into the public domain.
## You can do whatever you want with this file.
##
bin_PROGRAMS = lzmainfo
lzmainfo_SOURCES = \
lzmainfo.c \
../common/tuklib_progname.c \
../common/tuklib_exit.c
if COND_W32
lzmainfo_SOURCES += lzmainfo_w32res.rc
endif
lzmainfo_CPPFLAGS = \
-DLOCALEDIR=\"$(localedir)\" \
-I$(top_srcdir)/src/common \
-I$(top_srcdir)/src/liblzma/api \
-I$(top_builddir)/lib
lzmainfo_LDADD = $(top_builddir)/src/liblzma/liblzma.la
if COND_GNULIB
lzmainfo_LDADD += $(top_builddir)/lib/libgnu.a
endif
lzmainfo_LDADD += $(LTLIBINTL)
dist_man_MANS = lzmainfo.1
# Windows resource compiler support
.rc.o:
$(RC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
$(lzmainfo_CPPFLAGS) $(CPPFLAGS) $(RCFLAGS) -i $< -o $@