2009-08-13 09:55:45 +00:00
|
|
|
##
|
|
|
|
## Author: Lasse Collin
|
|
|
|
##
|
|
|
|
## This file has been put into the public domain.
|
|
|
|
## You can do whatever you want with this file.
|
|
|
|
##
|
|
|
|
|
|
|
|
bin_PROGRAMS = lzmainfo
|
|
|
|
|
2009-09-19 06:47:30 +00:00
|
|
|
lzmainfo_SOURCES = \
|
|
|
|
lzmainfo.c \
|
|
|
|
$(top_srcdir)/src/common/tuklib_progname.c \
|
|
|
|
$(top_srcdir)/src/common/tuklib_exit.c
|
2009-08-13 09:55:45 +00:00
|
|
|
|
2010-10-09 10:02:15 +00:00
|
|
|
if COND_W32
|
|
|
|
lzmainfo_SOURCES += lzmainfo_w32res.rc
|
|
|
|
endif
|
|
|
|
|
2009-08-13 09:55:45 +00:00
|
|
|
lzmainfo_CPPFLAGS = \
|
|
|
|
-DLOCALEDIR=\"$(localedir)\" \
|
|
|
|
-I$(top_srcdir)/src/common \
|
|
|
|
-I$(top_srcdir)/src/liblzma/api \
|
2010-10-05 11:13:16 +00:00
|
|
|
-I$(top_builddir)/lib
|
2009-08-13 09:55:45 +00:00
|
|
|
|
|
|
|
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
|
2010-10-09 10:02:15 +00:00
|
|
|
|
|
|
|
# Windows resource compiler support
|
|
|
|
.rc.o:
|
|
|
|
$(RC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
|
|
|
$(lzmainfo_CPPFLAGS) $(CPPFLAGS) $(RCFLAGS) -i $< -o $@
|