2 ## Author: Lasse Collin
4 ## This file has been put into the public domain.
5 ## You can do whatever you want with this file.
8 # Windows resource compiler support. It's fine to use xz_CPPFLAGS
11 $(RC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
12 $(xzdec_CPPFLAGS) $(CPPFLAGS) $(RCFLAGS) -i $< -o $@
15 bin_PROGRAMS = xzdec lzmadec
19 $(top_srcdir)/src/common/tuklib_progname.c \
20 $(top_srcdir)/src/common/tuklib_exit.c \
21 $(top_srcdir)/src/common/tuklib_physmem.c
24 xzdec_SOURCES += xzdec_w32res.rc
29 -I$(top_srcdir)/src/common \
30 -I$(top_srcdir)/src/liblzma/api \
31 -I$(top_builddir)/lib \
33 xzdec_LDFLAGS = $(STATIC_LDFLAGS)
34 xzdec_LDADD = $(top_builddir)/src/liblzma/liblzma.la
37 xzdec_LDADD += $(top_builddir)/lib/libgnu.a
40 xzdec_LDADD += $(LTLIBINTL)
45 $(top_srcdir)/src/common/tuklib_progname.c \
46 $(top_srcdir)/src/common/tuklib_exit.c \
47 $(top_srcdir)/src/common/tuklib_physmem.c
50 lzmadec_SOURCES += lzmadec_w32res.rc
53 lzmadec_CPPFLAGS = $(xzdec_CPPFLAGS) -DLZMADEC
54 lzmadec_LDFLAGS = $(xzdec_LDFLAGS)
55 lzmadec_LDADD = $(xzdec_LDADD)
58 dist_man_MANS = xzdec.1
61 cd $(DESTDIR)$(mandir)/man1 && \
62 target=`echo xzdec | sed '$(transform)'` && \
63 link=`echo lzmadec | sed '$(transform)'` && \
65 $(LN_S) $$target.1 $$link.1
68 cd $(DESTDIR)$(mandir)/man1 && \
69 link=`echo lzmadec | sed '$(transform)'` && \